This adapter allows control of Onkyo AVRs using the EISCP protocol.
It uses node-eiscp: https://github.com/tillbaks/node-eiscp
The node-eiscp module parses raw EISCP messages into high-level structured names like "master-volume", and the states will have those high level names, e.g. "onkyo.0.master-volume"
For sending commands, there is a special state "command". Writes to that state trigger either an high-level EISCP command as described in the "Command syntax" section of https://github.com/tillbaks/node-eiscp like
system-power=on
zone2.power=on
main.balance=3
or a raw EISCP command in the form of "PWR01".
Another special state maintained by the adapter is "connected". It's a boolean showing whether node-eiscp is currently connected to a receiver.
To DO:
- Auto-discovery like SONOS
- Using eiscp.get_commands
- (installator) change power to system-power
- (installator) fix values to control power and enable using of 1 and 0
- (bluefox) fix creation of specific states (twice)
- (bluefox) fix creation of specific states
- (bluefox) fix node-eiscp package
- (bluefox) add debug outputs
- (bluefox) replace git with tarball
- (bluefox) update adapter for new concept
- (owagner) use verify_commands=false, to be able to send high-level commands to unknown AVR models
- (owagner) allow setting of states other than "command". This will trigger a high level command with the state name being set to the new value. Note that this will fail for many newer models, as they are not yet properly represented in node-eiscp's command table. Use the raw command in that case
- send some initial queries upon connect to get basic state information from the AVR
- (owagner) support node-eiscp's Autodiscovery mechanism
- (owagner) updated README, notably removing bogus reference to single instancing
- (owagner) initial version