App very instable at the moment

I am using the Windows app version 4.1.1. It seems the app is quite instable at the moment.

  1. I am trying to change some configurations of rooms/lights and accessories. I can usually make 2-3 changes - after that the app hangs and finally shows the error message I already documented here:
    Cannot configure switches anymore - #2 by srudin.
    If I close the app and re-open it I can finish what I wanted to do before but run into the same problem during the next 1-2 changes.

  2. It also seems that the app is frequently loosing its connection to the bridges. The effect is that when I turn on/off some lights they just don’t react. Again, I need to close/re-open the app and it works again. Maybe the same problem just without the error message?

  3. Also I can see the following from time to time:


    Clicking on “Connect” shows the json parsing error again. May be related to 1 and 2 or not - it does not always show when I experience the problems described in 1 or 2 but rather shows up when the app is open for 5-10min.

  4. Besides this I would like to add that the bridge groups that were automatically created by Hue Essentials (one group for each bridge containing all the lights of that bridge) show the following error:
    Group
    However, I cannot delete or change these groups. Also I cannot make any change to the scenes or effects of these groups (error message: group type no longer supported).

Am I the only one experiencing these problems?

Seems very fundamental imo. No answer from anybody? No one else has this problem? @Thomas ?

Thanks for the detailed bug report.

1, 2, 3:
The bridge returns an error due to too many requests, which was introduced in an update by Hue. Same as Windows app is not working anymore, where I added some retry logic which improved the connection. I will try to optimise this further. Do you by any chance use any other software simultaneously which communicates with the bridge, e.g. any other apps, scripts, or automation software? I noticed the bridge returns this error when too many apps are communicating at the same time, which could be the case here. Not sure at the moment how that could be fixed, but will look into it.

4:
Correct, the group containing all lights was always shown in Hue Essentials. So, many users use this and created scenes/effects in this group. Unfortunately, this group has disappeared in the new API, so scenes/effects could be removed in the future. This is why the app shows this message, and new scenes/effects cannot be created. It uses the old API for this group for now, which could stop working in the future. I still have to think about migration, but this group will probably be removed in the future. Replacement is just creating a zone with all lights. For now, you could hide the group (under the three dots at the top of your screenshot).

1,2,3: Usually I use only one Hue app at a time. But I have connected my Hue bridges to Home Assistant, maybe this is causing a problem? If I have time tonight I will try to stop HASS and try if it runs more stable.

4: Perfect, thx. Hiding the old groups and creating zones did the job. Need to keep in mind to also maintain them though (adding new lights).

1,2,3: Stopping HASS didn’t do anything. App crashes after about 3 configuration change save attempts even when only one single app uses the bridge.