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.12.0.tar.gz
(16.0 kB
view hashes)
Built Distribution
arcam_fmj-0.12.0-py3-none-any.whl
(17.8 kB
view hashes)
Close
Hashes for arcam_fmj-0.12.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8f9705da75ef9279fd27d14ed7b83baf12708cfa2027d9a8444d849f23a9cea |
|
MD5 | 2c03c531e510cfd04b09725fe6c17e48 |
|
BLAKE2b-256 | 5abba3495e6cf86b3ed02e6d33b765f30e9b20ed78fbf898568a5c2312446727 |