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.9.0.tar.gz
(15.3 kB
view details)
Built Distribution
arcam_fmj-0.9.0-py3-none-any.whl
(16.9 kB
view details)
File details
Details for the file arcam-fmj-0.9.0.tar.gz
.
File metadata
- Download URL: arcam-fmj-0.9.0.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44e18405e4f64f647f0cafa98748af1a00348d7df2b0d91823ad1d4e658fb56a |
|
MD5 | 9ee46cc121dc23956527f9c54887ca17 |
|
BLAKE2b-256 | 8c2296a11a66e1f5bc36e7b46f120cb75566a9bde17d00582c1a367a72b065f4 |
File details
Details for the file arcam_fmj-0.9.0-py3-none-any.whl
.
File metadata
- Download URL: arcam_fmj-0.9.0-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 139bc8a39126eb2163950af30fdf3cd77d77a0e6b35793cfad7f4e1d2e13677b |
|
MD5 | b1b3ba9844203893bf8572ad048db8a8 |
|
BLAKE2b-256 | 1c52f099b33e2a678dc607d7666f3d0313b585e1f1e8a60fc40126d12105a90f |