tmjo / heos_custom

Custom improvement of official HA integration for Denon HEOS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Virtual main controller

Patrick1610 opened this issue · comments

Hi, I have the following scenario, with a possible solution, if HEOS allows that.
When I start playing on my living room receiver, I go upstairs and the office speaker joins, it is impossible to unjoin the living room. When I run that command, actually the office unjoins the living room since the living room is the master.

This makes it hard to control all zones, since the master cannot unjoin.

Would it be possible to have the app generate a virtual HEOS speaker that acts as the master? This way, you can play something on that master, and join/unjoin any speaker of receiver without running in to complexities about the master.

If this is not possible, I'll be looking for another solution but it might be nice if it is possible.

commented

Hi, If I understand you correctly I don't think this is possible. The custom integration only listens and sends commands to the HEOS controllers, and a virtual speaker in HA would not be recognized by the HEOS-world and I think the command would be discarded. It operates with some long integer identifiers which must be joined and unjoined.

The first ID in the group command is master, and if it contains only master it will be ungrouped if I remember correctly. I'm not 100% sure, but I suspect that if trying to make a workaround that unjoins master would result in music stopping and must be restarted for new master.

Take a look at the HEOS CLI API for details if you're interested in forking the work and give it a try.