A python library for speaking to Arcam receivers
Project description
This module support controlling an arcam fmj received over it’s network. It’s built mainly for use with home-assistant project, but should work for other projects as well.
Status
Module
Code to set volume and source using library.
async def run():
host = '192.168.0.2'
port = '50000'
zone = 1
volume = 50
source = SourceCodes.PVR
client = Client(host, port)
async with ClientContext(client):
state = State(client, zone)
await state.set_volume(volume)
await state.set_source(source)
loop = asyncio.get_event_loop()
loop.run_until_complete (run())
Console
The module contains a commandline utility to test and request data from called arcam-fmj.
Code to set volume and source using console.
arcam-fmj state --host 192.168.0.2 --port 50000 --source 5 --volume 50
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
arcam-fmj-0.4.6.tar.gz
(11.5 kB
view details)
File details
Details for the file arcam-fmj-0.4.6.tar.gz
.
File metadata
- Download URL: arcam-fmj-0.4.6.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ae3715574197bee0200725aa145ee7ebc69b86eb3f9123e0d29f4a7c91fcb18 |
|
MD5 | 0c18e4f20cc6190f886613ace8a0c3a3 |
|
BLAKE2b-256 | 070cb28a8c972dc702dc3ea4767c2bbfb9bf269a728f51d710de197af61c1afc |