Skip to content

Python module for interacting with a arcam fmj receiver

License

Notifications You must be signed in to change notification settings

kernelpanic85/arcam_fmj

 
 

Repository files navigation

Arcam IP Control

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

About

Python module for interacting with a arcam fmj receiver

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%