With two Denon HEOS HS2 speakers (HEOS 3 & 5), I've created a script to grab the data from each speaker. HEOS speakers can be reached via a Telnet connection, and based on their CLI Commands, a script is made for that. An extended version of everything can be read in my blog post: https://www.rutg3r.com/denos-heos-sp...n-in-homeseer/
Player state, playing media, etc will be visible in virtual devices, which will be created dynamically, based on the name of the speaker that is set in the HEOS app.
Script version 2.0 is based on 2 speakers, which are operating individual in the HEOS app. Speaker groups are not tested yet.
The result of two speakers in Homeseer could be something like the screenshots below. The “Office” speaker is currently playing media, therefor the Player State is set to “Play” and even the Album Cover is visible. The “Living” speaker is not playing media, so the Player State is automatically set to “Pause” and no Album Cover is visible.
Player State can be changed manually via button, as well as changing the volume and mute for each speaker
To do improvements:
Downloads:
v2.0: https://www.rutg3r.com/download/HEOS.vb
Player state, playing media, etc will be visible in virtual devices, which will be created dynamically, based on the name of the speaker that is set in the HEOS app.
Script version 2.0 is based on 2 speakers, which are operating individual in the HEOS app. Speaker groups are not tested yet.
The result of two speakers in Homeseer could be something like the screenshots below. The “Office” speaker is currently playing media, therefor the Player State is set to “Play” and even the Album Cover is visible. The “Living” speaker is not playing media, so the Player State is automatically set to “Pause” and no Album Cover is visible.
Player State can be changed manually via button, as well as changing the volume and mute for each speaker
To do improvements:
- Add volume buttons (up/down/toggle mute) to control speaker volume
- Add player state buttons (play/pause/stop, etc)
- Add play type buttons (normal/shuffle/repeat, etc)
- "Result" device can be removed
- With first script run, when a speaker is not playing any media, the "Track" info is not available in the JSON output and therefor the virtual device for this will not be created.
- Test the script as well when speakers are grouped in the Heos app
- Test the script when the Telnet connection is not closed after each script run
06-09-2018 | v2.0 Tested on HS3 3.0.0.435 with
|
|
02-09-2018 | v1.0 Tested on HS3 3.0.0.312 (Win8) and 3.0.0.435 (Win10) |
|
v2.0: https://www.rutg3r.com/download/HEOS.vb
Comment