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-1.0.1.tar.gz
(17.2 kB
view details)
Built Distribution
arcam_fmj-1.0.1-py3-none-any.whl
(19.0 kB
view details)
File details
Details for the file arcam-fmj-1.0.1.tar.gz
.
File metadata
- Download URL: arcam-fmj-1.0.1.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1ade3aa3b9ba0ea1d11020fd9106ae990657de3909cea77ff26065cf159f87a |
|
MD5 | de76796fb7ba9f85dcb026ea41699206 |
|
BLAKE2b-256 | c9d717232599c637ae243d9726cf95b21489f12a86000262fd21d7d79c9f85bf |
File details
Details for the file arcam_fmj-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: arcam_fmj-1.0.1-py3-none-any.whl
- Upload date:
- Size: 19.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ad6f54bf21a83b6e30b23432e5339858799a3a69d59b24737c00d3278cfee40 |
|
MD5 | af79776afe78fdd06eb3ff68c0c01d12 |
|
BLAKE2b-256 | 837b53d4beba9551926352c2f327460beda9b6fc44140d96391636d9d06dc53e |