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.11.0.tar.gz
(16.0 kB
view details)
Built Distribution
File details
Details for the file arcam-fmj-0.11.0.tar.gz
.
File metadata
- Download URL: arcam-fmj-0.11.0.tar.gz
- Upload date:
- Size: 16.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c761abb90b2d779aa28ed0ddc5b252129de1c5d558523ab0b6780e2e920af3a9 |
|
MD5 | 365d23e8a6ffbc74fedb79590511a663 |
|
BLAKE2b-256 | 9e039fa2ee20dc3f64f2ede0489b54358897c7121b7f4bb8ffee4ea2a4f7fd9b |
File details
Details for the file arcam_fmj-0.11.0-py3-none-any.whl
.
File metadata
- Download URL: arcam_fmj-0.11.0-py3-none-any.whl
- Upload date:
- Size: 17.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2d456253bc476df3fcbe784b0334b3e0bd7e638258418ace749993e9121fe44 |
|
MD5 | abffd2e9a00a7eb7295b726c639a44f8 |
|
BLAKE2b-256 | 0815e3e9565ed2e277b973240d2495a331abe7cd7be650a32c2185e860b80c3e |