tmjo / heos_custom

Custom improvement of official HA integration for Denon HEOS.
4 stars 1 forks source link

Unjoin stops working after 'wrong' join usage #3

Open Patrick1610 opened 3 years ago

Patrick1610 commented 3 years ago

So I have 2 receivers. This means I have two scenario's:

  1. I am playing on the living room and want to add the lounge
  2. I am playing on the lounge and want to add the living room

This is fine and seems to work correctly. I get issues when the following occurs.

  1. I am playing on the living room
  2. I run an automation 'add lounge to living room'
  3. I (accidentally) run an automation 'add living room to lounge'
  4. I try to unjoin, this failes.
  5. I manually unjoin (using the app)
  6. I join using one of either automations
  7. I still cannot unjoin using the automation
  8. After rebooting the whole lot I managed to get it to work, but trying the same it failed once more.

I also have the following:

tmjo commented 3 years ago

Hi! Thanks for your feedback. To troubleshoot this, I need some info from the logs to see what is going on. Preferably logging with debugging level (keep in mind this is a custom "hack" while waiting for official support). I would expect that it automatically reads the (true) grouping info after a short time, since going in and out from groups can happen from the app or due to an error too.

About the changing master question, I don't think this is possible, I guess it is just the way HEOS works.

Patrick1610 commented 3 years ago

Hi, I don't really have any experience with sharing logs. I am currently using the join function to keep the group intact (running the join command every half hour or so) and control the music by only turning players on and off. Since the master can be off with other players playing this is working fine for me.

If you have more info about how I can share logs specifically for the HEOS part and not my entire home, I can produce the problem again for your info 👍🏼