A python library for speaking to Arcam receivers
Project description
This module supports controlling an Arcam FMJ receiver (as well as JBL and AudioControl processors) over the network. It’s built mainly for use with the 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.5.2.tar.gz
(23.1 kB
view details)
Built Distribution
arcam_fmj-1.5.2-py3-none-any.whl
(20.7 kB
view details)
File details
Details for the file arcam_fmj-1.5.2.tar.gz
.
File metadata
- Download URL: arcam_fmj-1.5.2.tar.gz
- Upload date:
- Size: 23.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32e6b36cf62b33eace40abd5db65910123b75a95661a2c4af459df2f386add7e |
|
MD5 | fd4608cfc899c38ee9a109384914cf3f |
|
BLAKE2b-256 | 5d3f04fb03c399769797b9fd80496dea8d0f4e4b680a2adb622597e9ce0e69df |
File details
Details for the file arcam_fmj-1.5.2-py3-none-any.whl
.
File metadata
- Download URL: arcam_fmj-1.5.2-py3-none-any.whl
- Upload date:
- Size: 20.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45fa17f15bc0ae1dadac0c30d9c5ddc85272b7783e87aff305e4488508b68c18 |
|
MD5 | 0e54915660f32a8f2fd63deeca45ddb3 |
|
BLAKE2b-256 | d9f8a0ba09e60a7cebca87aa2d68d2d45ba236306b7b99a3c073f2f993993c5e |