russound-aio
v1.0.5
Published
Javascript library to connect to Russound AIO controllers
Downloads
26
Readme
russound-aio
Javascript socket library for Russound AIO
Description
Javascript library that allows you to connect and controll your Russound AIO devices.
This library was primarily developed to be used within a Homebridge environment but may used by itself, see demo folder for example of how to connect and interact with device
Changelog
- Initial Release.
To Do
Only supports one controller at the moment
Installation
As a prerequisite ensure that the Russound device is controllable using the Russound iOS app. You also need to have git installed.
- Install russound using: npm install russound.aio
Example code :
Config Explanation:
The id of Zone1, Zone2, Zone3, Zone4, Zone5 and Zone6 should match the Zone names given in the Russound Controller configuration (the order in the Russound App)
The names Source1, Source2, Source3, Source4, Source5 and Source6 should match the Source names given in the Russound Controller configuration (the names in the Russound App)
Any non configured sources will be ignored
With this configuration you can define which sources are attached to which zones, the Russound API doesn't identify the configuration correctly. That is, if different sources are selected for different zones in the Russound Controller configuration there is no way to determine this through the API. The Russound App doesn't handle this, I've added the capability to manage
| Fields | Description | Default | Required |
|------------------------|--------------------------------------------------------------------|---------------------------------------------------------------------------|----------|
| name | Name to use for the Russound platform. | | No |
| addRemote | Add Remotes For Each Zone. | | No |
controllers
configuration parameters:
| Fields | Description | Default | Required | |------------------------|--------------------------------------------------------------------|---------------------------------------------------------------------------|----------| | name | Name to use for this Russound controller. | MCA-66 | No | | host | Host IP address of your Russound controller. | | Yes |
zones
zones parameters:
| Fields | Description | Default | Required |
|------------------------|--------------------------------------------------------------------|---------------------------------------------------------------------------|----------|
| id | The Id of this zone as it appears in Russound. | | Yes |
| name | Name of this zone configured on the Russound controller. | | No |
| sources | List of source names to add to zone. | | No |
| enabled | Hides zone from Homekit | true | No |
sources
sources parameters:
| Fields | Description | Default | Required |
|------------------------|--------------------------------------------------------------------|---------------------------------------------------------------------------|----------|
| _ | Name of this source configured on the Russound controller. | | Yes |