ebaauw / homebridge-hue

Homebridge plugin for Philips Hue
Apache License 2.0
901 stars 91 forks source link

Double Trigger when using Hue Wall Switch #1148

Closed VF-mbrauer closed 1 year ago

VF-mbrauer commented 1 year ago

Have seen a strange behaviour, that in case I press one of the Buttons which are connected to a hue Wall Switch, i see twice the status change in the logs which toggle also every automation configured in homekit.

Homebridge.log

[04/03/2023, 23:35:44] [Hue-Bridge] SWI - Spots Rocker 2: homekit button single press
[04/03/2023, 23:35:46] [Hue-Bridge] SWI - Spots Rocker 1: homekit button single press
[04/03/2023, 23:35:46] [Hue-Bridge] SWI - Spots Rocker 1: homekit button single press
[04/03/2023, 23:35:49] [Hue-Bridge] SWI - Spots Rocker 1: homekit button single press
[04/03/2023, 23:35:53] [Hue-Bridge] SWI - Spots Rocker 2: homekit button single press
[04/03/2023, 23:35:56] [Hue-Bridge] SWI - Spots Rocker 1: homekit button single press
[04/03/2023, 23:35:56] [Hue-Bridge] SWI - Spots Rocker 1: homekit button single press

As you can see in the logs, the switch looks like it has been pushed twice, even though I did it just one time. This is causing a flapping in my automations with Special conditions.

The question is now, why does the clock gets reported two times? I tested all of this independent in the view app without any homebridge or third party integration, and all works fine.

There is probably a race condition happening, as there are also times when it works.

Any hints or anything I can help with in the sense of lots of debugging? Thanks a lot.

Kind regards Maik Brauer

ebaauw commented 1 year ago

If you run Homebridge in DEBUG mode, you should see a debug message for each notification that Homebridge Hue receives from deCONZ. If the issued button actions match the notifications, Homebridge Hue is working fine. Otherwise, please capture and attach the debug log file.

If deCONZ sends too many notifications, I would check:

VF-mbrauer commented 1 year ago

DEBUG Mode is enabled now and below are the logs after the test:

[05/03/2023, 09:56:01] [Hue-Bridge] Philips hue: request 923: GET /schedules
[05/03/2023, 09:56:01] [Hue-Bridge] Philips hue: request 923: 200 OK
[05/03/2023, 09:56:01] [Hue-Bridge] Philips hue: request 924: GET /rules
[05/03/2023, 09:56:01] [Hue-Bridge] Philips hue: request 924: 200 OK
[05/03/2023, 09:56:05] [Hue-Bridge] SWI - Spots: state changed event: {"buttonevent":2000,"lastupdated":"2023-03-05T08:56:05"}
[05/03/2023, 09:56:05] [Hue-Bridge] SWI - Spots: sensor buttonevent 2000 on 2023-03-05T08:55:19
[05/03/2023, 09:56:06] [Hue-Bridge] Philips hue: request 925: GET /sensors
[05/03/2023, 09:56:06] [Hue-Bridge] Philips hue: request 925: 200 OK
[05/03/2023, 09:56:06] [Hue-Bridge] SWI - Spots: sensor buttonevent 2002 on 2023-03-05T08:56:05
[05/03/2023, 09:56:06] [Hue-Bridge] SWI - Spots Rocker 2: homekit button single press
[05/03/2023, 09:56:06] [Hue-Bridge] Philips hue: request 926: GET /lights
[05/03/2023, 09:56:06] [Hue-Bridge] Philips hue: request 926: 200 OK
[05/03/2023, 09:56:06] [Hue-Bridge] Philips hue: request 927: GET /schedules
[05/03/2023, 09:56:06] [Hue-Bridge] Philips hue: request 927: 200 OK
[05/03/2023, 09:56:06] [Hue-Bridge] Philips hue: request 928: GET /rules
[05/03/2023, 09:56:06] [Hue-Bridge] Philips hue: request 928: 200 OK
[05/03/2023, 09:56:06] [Hue-Bridge] SWI - Spots: state changed event: {"buttonevent":2002,"lastupdated":"2023-03-05T08:56:05"}
[05/03/2023, 09:56:06] [Hue-Bridge] SWI - Spots: sensor buttonevent 2002 on 2023-03-05T08:56:06
[05/03/2023, 09:56:06] [Hue-Bridge] SWI - Spots Rocker 2: homekit button single press
[05/03/2023, 09:56:11] [Hue-Bridge] Philips hue: request 929: GET /sensors
[05/03/2023, 09:56:11] [Hue-Bridge] Philips hue: request 929: 200 OK
[05/03/2023, 09:56:11] [Hue-Bridge] Philips hue: request 930: GET /lights
[05/03/2023, 09:56:11] [Hue-Bridge] Philips hue: request 930: 200 OK
[05/03/2023, 09:56:11] [Hue-Bridge] Philips hue: request 931: GET /schedules
[05/03/2023, 09:56:11] [Hue-Bridge] Philips hue: request 931: 200 OK
[05/03/2023, 09:56:11] [Hue-Bridge] Philips hue: request 932: GET /rules
[05/03/2023, 09:56:11] [Hue-Bridge] Philips hue: request 932: 200 OK

The Rocker 2 gets invoked the second time after 1 second (09:56:05 / 09:56:06)

Just let me know if you need more data on the logs or if I can do anything else.

About your questions:

The wiring between the physical rocker(s) or push button(s) and the module;

I tested two different physical switches, also the wiring.

The module’s battery;

Battery status by 60% according to app.

That the module’s mode matches the physical rocker(s) or push button(s).

If I configure "use in 3rd Pary Apps" I can change anything like that. Only if I use HUE app. I am not using HUE-App for the Wall Switched. I evaluate the events with Home Bridge and do then HomeKit automation. So, there is no possibility to change. If you change from HUE-App control to HomeKit / or 3rd Party, it resets all those settings. Not sure how it deals with it internally. Anything here to check more in detail?

ebaauw commented 1 year ago

Homebridge Hue is polling the Hue bridge while you're pressing the button. It seems that the Hue bridge has updated the sensors resource on the v1 API with the button release, before issuing the release event on the event stream.

Note that the "sensor buttonevent" message incorrectly lists the lastupdated of the previous button event.

Using the v2 API event stream with polling over the v1 API is kind of a hack; I plan to be using the v2 API in full for Homebridge Hue2. Even then, the event stream kinda sucks, in that it sandbags events and only issues messages once a second. It looks like the v1 API actually reports lastupdated as 2023-03-05T08:56:06.

Could you try beta v0.13.57-0 and capture another debug log? Would love to see another button press while Homebridge Hue is polling. The beta should log the correct lastupdated value the "sensor buttonevent" messages and also logs changes to `lastupdated.

VF-mbrauer commented 1 year ago

@ebaauw, where to find the Beta? Can you point me to the location, please?

ebaauw commented 1 year ago

https://www.npmjs.com/package/homebridge-hue/v/0.13.57-1

Install through Install Alternate Version in Homebridge UI or by sudo npm -g i homebridge-hue@beta.

VF-mbrauer commented 1 year ago

Please find below the logs with 0.13.57-1 (Beta) PlugIn Release:

[05/03/2023, 17:01:35] [Hue-Bridge] SWI - + Deckenleuchte: state changed event: {"buttonevent":1000,"lastupdated":"2023-03-05T16:01:35"}
[05/03/2023, 17:01:35] [Hue-Bridge] SWI - + Deckenleuchte: sensor buttonevent 1000 on 2023-03-05T16:01:25
[05/03/2023, 17:01:36] [Hue-Bridge] Philips hue: request 21423: GET /sensors
[05/03/2023, 17:01:36] [Hue-Bridge] Philips hue: request 21423: 200 OK
[05/03/2023, 17:01:36] [Hue-Bridge] SWI - Deckenleuchte: sensor buttonevent 1002 on 2023-03-05T16:01:35
[05/03/2023, 17:01:36] [Hue-Bridge] SWI - Deckenleuchte Rocker 1: homekit button single press
[05/03/2023, 17:01:36] [Hue-Bridge] Philips hue: request 21424: GET /lights
[05/03/2023, 17:01:36] [Hue-Bridge] Philips hue: request 21424: 200 OK
[05/03/2023, 17:01:36] [Hue-Bridge] Philips hue: request 21425: GET /schedules
[05/03/2023, 17:01:36] [Hue-Bridge] Philips hue: request 21425: 200 OK
[05/03/2023, 17:01:36] [Hue-Bridge] Philips hue: request 21426: GET /rules
[05/03/2023, 17:01:36] [Hue-Bridge] Philips hue: request 21426: 200 OK
[05/03/2023, 17:01:36] [Hue-Bridge] Deckenlampe: homekit on changed from false to true
[05/03/2023, 17:01:36] [Hue-Bridge] Deckenlampe: homekit brightness changed from 100% to 100%
[05/03/2023, 17:01:36] [Hue-Bridge] Philips hue: request 21427: PUT /lights/5/state {"on":true,"bri":254}
[05/03/2023, 17:01:36] [Hue-Bridge] Philips hue: request 21427: 200 OK
[05/03/2023, 17:01:36] [Hue-Bridge] SWI - Deckenleuchte: state changed event: {"buttonevent":1002,"lastupdated":"2023-03-05T16:01:36"}
[05/03/2023, 17:01:36] [Hue-Bridge] SWI - Deckenleuchte: sensor buttonevent 1002 on 2023-03-05T16:01:36
[05/03/2023, 17:01:36] [Hue-Bridge] SWI - Deckenleuchte Rocker 1: homekit button single press
[05/03/2023, 17:01:36] [Hue-Bridge] Deckenlampe: state changed event: {"on":true}
[05/03/2023, 17:01:36] [Hue-Bridge] Deckenlampe: homekit on changed from true to false
[05/03/2023, 17:01:36] [Hue-Bridge] Philips hue: request 21428: PUT /lights/5/state {"on":false}
[05/03/2023, 17:01:37] [Hue-Bridge] Philips hue: request 21428: 200 OK
[05/03/2023, 17:01:37] [Hue-Bridge] Deckenlampe: state changed event: {"on":false}
[05/03/2023, 17:01:41] [Hue-Bridge] Philips hue: request 21429: GET /sensors
[05/03/2023, 17:01:41] [Hue-Bridge] Philips hue: request 21429: 200 OK
[05/03/2023, 17:01:41] [Hue-Bridge] Philips hue: request 21430: GET /lights
[05/03/2023, 17:01:41] [Hue-Bridge] Philips hue: request 21430: 200 OK
[05/03/2023, 17:01:41] [Hue-Bridge] Philips hue: request 21431: GET /schedules
[05/03/2023, 17:01:41] [Hue-Bridge] Philips hue: request 21431: 200 OK
[05/03/2023, 17:01:41] [Hue-Bridge] Philips hue: request 21432: GET /rules
[05/03/2023, 17:01:41] [Hue-Bridge] Philips hue: request 21432: 200 OK

Please let me know if something else is needed. Thanks.

ebaauw commented 1 year ago

That's not the log from the beta version. Did you restart the child bridge after installing the beta? What version does Homebridge Hue report? You should see something like:

Mar  5 12:02:10 pi2 hb-service.js[1258]: [Hue] homebridge-hue v0.13.57-0, node v18.14.2, homebridge v1.6.0
Mar  5 12:02:13 pi2 hb-service.js[1258]: [Hue] warning: latest version: homebridge-hue v0.13.56
VF-mbrauer commented 1 year ago

OK, sorry. My fault. Forgot to kick the Child-Bridge. But now please find below the correct log:

[05/03/2023, 17:19:38] [Hue-Bridge] Loaded homebridge-hue v0.13.57-1 child bridge successfully
[05/03/2023, 17:19:38] Loaded 0 cached accessories from cachedAccessories.0E94B31242E8.
[05/03/2023, 17:19:38] [Hue-Bridge] homebridge-hue v0.13.57-1, node v18.13.0, homebridge v1.6.0

[05/03/2023, 17:21:42] [Hue-Bridge] Philips hue: request 104: 200 OK
[05/03/2023, 17:21:42] [Hue-Bridge] Philips hue: request 105: GET /rules
[05/03/2023, 17:21:42] [Hue-Bridge] Philips hue: request 105: 200 OK
[05/03/2023, 17:21:44] [Hue-Bridge] Hue wall switch module 2: state changed event: {"buttonevent":1000,"lastupdated":"2023-03-05T16:21:44"}
[05/03/2023, 17:21:44] [Hue-Bridge] Hue wall switch module 2: sensor buttonevent 1000 on 2023-03-05T16:21:44
[05/03/2023, 17:21:44] [Hue-Bridge] Hue wall switch module 2: sensor lastupdated changed from 2023-03-05T16:21:29 to 2023-03-05T16:21:44
[05/03/2023, 17:21:45] [Hue-Bridge] Hue wall switch module 2: state changed event: {"buttonevent":1002,"lastupdated":"2023-03-05T16:21:44"}
[05/03/2023, 17:21:45] [Hue-Bridge] Hue wall switch module 2: sensor buttonevent 1002 on 2023-03-05T16:21:44
[05/03/2023, 17:21:45] [Hue-Bridge] Hue wall switch module 2 Rocker 1: homekit button single press
[05/03/2023, 17:21:47] [Hue-Bridge] Philips hue: request 106: GET /sensors
[05/03/2023, 17:21:47] [Hue-Bridge] Philips hue: request 106: 200 OK
[05/03/2023, 17:21:47] [Hue-Bridge] Hue wall switch module 2: sensor buttonevent 1002 on 2023-03-05T16:21:45
[05/03/2023, 17:21:47] [Hue-Bridge] Hue wall switch module 2 Rocker 1: homekit button single press
[05/03/2023, 17:21:47] [Hue-Bridge] Hue wall switch module 2: sensor lastupdated changed from 2023-03-05T16:21:44 to 2023-03-05T16:21:45
[05/03/2023, 17:21:47] [Hue-Bridge] Philips hue: request 107: GET /lights
[05/03/2023, 17:21:47] [Hue-Bridge] Philips hue: request 107: 200 OK
[05/03/2023, 17:21:47] [Hue-Bridge] Philips hue: request 108: GET /schedules
[05/03/2023, 17:21:47] [Hue-Bridge] Philips hue: request 108: 200 OK
[05/03/2023, 17:21:47] [Hue-Bridge] Philips hue: request 109: GET /rules
[05/03/2023, 17:21:47] [Hue-Bridge] Philips hue: request 109: 200 OK
[05/03/2023, 17:21:52] [Hue-Bridge] Philips hue: request 110: GET /sensors
[05/03/2023, 17:21:52] [Hue-Bridge] Philips hue: request 110: 200 OK
[05/03/2023, 17:21:52] [Hue-Bridge] Philips hue: request 111: GET /lights
[05/03/2023, 17:21:52] [Hue-Bridge] Philips hue: request 111: 200 OK
ebaauw commented 1 year ago

Hm, that still looks like two single-press button actions for the same button event. Note that the v1 API reports lastupdated as 2023-03-05T16:21:45 where the v2 event stream reports 2023-03-05T16:21:44. This really is the Hue bridge not supporting mixed v1 / v2 use.

I'm afraid the only thing I can do in Homebridge Hue is to ignore the state as reported by the v1 API while Homebridge Hue is connected to the event stream. Could you try beta v0.13.57-2?

VF-mbrauer commented 1 year ago

Can't we make it configurable, just for specific devices (ex. Wall Switch)? Also, we could address this with the hue guys. I will now test your next beta.

VF-mbrauer commented 1 year ago

First results were without any Problem. No double trigger. Looks good.

TEST 1:

[05/03/2023, 18:05:56] [Hue-Bridge] Philips hue: request 26: GET /rules
[05/03/2023, 18:05:56] [Hue-Bridge] Philips hue: request 26: 200 OK
[05/03/2023, 18:05:57] [Hue-Bridge] Hue wall switch module 2: state changed event: {"buttonevent":1000,"lastupdated":"2023-03-05T17:05:57"}
[05/03/2023, 18:05:57] [Hue-Bridge] Hue wall switch module 2: sensor buttonevent 1000 on 2023-03-05T17:05:57
[05/03/2023, 18:05:57] [Hue-Bridge] Hue wall switch module 2: sensor lastupdated changed from 2023-03-05T16:21:45 to 2023-03-05T17:05:57
[05/03/2023, 18:05:58] [Hue-Bridge] Hue wall switch module 2: state changed event: {"buttonevent":1002,"lastupdated":"2023-03-05T17:05:57"}
[05/03/2023, 18:05:58] [Hue-Bridge] Hue wall switch module 2: sensor buttonevent 1002 on 2023-03-05T17:05:57
[05/03/2023, 18:05:58] [Hue-Bridge] Hue wall switch module 2 Rocker 1: homekit button single press
[05/03/2023, 18:06:01] [Hue-Bridge] Philips hue: request 27: GET /sensors
[05/03/2023, 18:06:01] [Hue-Bridge] Philips hue: request 27: 200 OK
[05/03/2023, 18:06:01] [Hue-Bridge] Philips hue: request 28: GET /lights
[05/03/2023, 18:06:01] [Hue-Bridge] Philips hue: request 28: 200 OK

TEST 2:

[05/03/2023, 18:07:06] [Hue-Bridge] Philips hue: request 82: 200 OK
[05/03/2023, 18:07:09] [Hue-Bridge] Hue wall switch module 2: state changed event: {"buttonevent":2000,"lastupdated":"2023-03-05T17:07:09"}
[05/03/2023, 18:07:09] [Hue-Bridge] Hue wall switch module 2: sensor buttonevent 2000 on 2023-03-05T17:07:09
[05/03/2023, 18:07:09] [Hue-Bridge] Hue wall switch module 2: sensor lastupdated changed from 2023-03-05T17:05:57 to 2023-03-05T17:07:09
[05/03/2023, 18:07:10] [Hue-Bridge] Hue wall switch module 2: state changed event: {"buttonevent":2002,"lastupdated":"2023-03-05T17:07:09"}
[05/03/2023, 18:07:10] [Hue-Bridge] Hue wall switch module 2: sensor buttonevent 2002 on 2023-03-05T17:07:09
[05/03/2023, 18:07:10] [Hue-Bridge] Hue wall switch module 2 Rocker 2: homekit button single press
[05/03/2023, 18:07:11] [Hue-Bridge] Philips hue: request 83: GET /sensors
[05/03/2023, 18:07:11] [Hue-Bridge] Philips hue: request 83: 200 OK
[05/03/2023, 18:07:11] [Hue-Bridge] Philips hue: request 84: GET /lights
[05/03/2023, 18:07:11] [Hue-Bridge] Philips hue: request 84: 200 OK

TEST 3:

[05/03/2023, 18:07:16] [Hue-Bridge] Philips hue: request 90: 200 OK
[05/03/2023, 18:07:18] [Hue-Bridge] Hue wall switch module 2: state changed event: {"buttonevent":1000,"lastupdated":"2023-03-05T17:07:18"}
[05/03/2023, 18:07:18] [Hue-Bridge] Hue wall switch module 2: sensor buttonevent 1000 on 2023-03-05T17:07:18
[05/03/2023, 18:07:18] [Hue-Bridge] Hue wall switch module 2: sensor lastupdated changed from 2023-03-05T17:07:09 to 2023-03-05T17:07:18
[05/03/2023, 18:07:19] [Hue-Bridge] Hue wall switch module 2: state changed event: {"buttonevent":1002,"lastupdated":"2023-03-05T17:07:18"}
[05/03/2023, 18:07:19] [Hue-Bridge] Hue wall switch module 2: sensor buttonevent 1002 on 2023-03-05T17:07:18
[05/03/2023, 18:07:19] [Hue-Bridge] Hue wall switch module 2 Rocker 1: homekit button single press
[05/03/2023, 18:07:21] [Hue-Bridge] Philips hue: request 91: GET /sensors
[05/03/2023, 18:07:21] [Hue-Bridge] Philips hue: request 91: 200 OK

Great stuff. So wonderful. What is next @ebaauw ? How do we want to tackle this issue? Thanks.

ebaauw commented 1 year ago

Not sure you’ve yet recreated the conditions where a double press would occur. There should be a debug message that the button press was suppressed because the event stream is active.

If this workaround works, I’ll include it in the next published release,

VF-mbrauer commented 1 year ago

Something weird, my lights are again flapping:

[05/03/2023, 22:04:59] [Hue-Bridge] Hue wall switch module 2: state changed event: {"buttonevent":1000,"lastupdated":"2023-03-05T21:04:59"}
[05/03/2023, 22:04:59] [Hue-Bridge] Hue wall switch module 2: sensor buttonevent 1000 on 2023-03-05T21:04:59
[05/03/2023, 22:04:59] [Hue-Bridge] Hue wall switch module 2: sensor lastupdated changed from 2023-03-05T21:04:56 to 2023-03-05T21:04:59
[05/03/2023, 22:05:00] [Hue-Bridge] Hue wall switch module 2: state changed event: {"buttonevent":1002,"lastupdated":"2023-03-05T21:04:59"}
[05/03/2023, 22:05:00] [Hue-Bridge] Hue wall switch module 2: sensor buttonevent 1002 on 2023-03-05T21:04:59
[05/03/2023, 22:05:00] [Hue-Bridge] Hue wall switch module 2 Rocker 1: homekit button single press
[05/03/2023, 22:05:00] [Hue-Bridge] Deckenspot Weiss 1: homekit on changed from true to false
[05/03/2023, 22:05:00] [Hue-Bridge] Deckenspot Weiss 3: homekit on changed from true to false
[05/03/2023, 22:05:00] [Hue-Bridge] Deckenspot Weiss 5: homekit on changed from true to false
[05/03/2023, 22:05:00] [Hue-Bridge] Philips hue: request 11543: PUT /lights/15/state {"on":false}
[05/03/2023, 22:05:00] [Hue-Bridge] Philips hue: request 11543: 200 OK
[05/03/2023, 22:05:00] [Hue-Bridge] Philips hue: request 11544: PUT /lights/13/state {"on":false}
[05/03/2023, 22:05:00] [Hue-Bridge] Philips hue: request 11544: 200 OK
[05/03/2023, 22:05:00] [Hue-Bridge] Philips hue: request 11545: PUT /lights/17/state {"on":false}
[05/03/2023, 22:05:00] [Hue-Bridge] Philips hue: request 11545: 200 OK
[05/03/2023, 22:05:01] [Hue-Bridge] Philips hue: request 11546: GET /sensors
[05/03/2023, 22:05:01] [Hue-Bridge] Philips hue: request 11546: 200 OK
[05/03/2023, 22:05:01] [Hue-Bridge] Hue wall switch module 2: sensor buttonevent 1002 on 2023-03-05T21:05:00
[05/03/2023, 22:05:01] [Hue-Bridge] Hue wall switch module 2 Rocker 1: homekit button single press
[05/03/2023, 22:05:01] [Hue-Bridge] Hue wall switch module 2: sensor lastupdated changed from 2023-03-05T21:04:59 to 2023-03-05T21:05:00
[05/03/2023, 22:05:01] [Hue-Bridge] Philips hue: request 11547: GET /lights
[05/03/2023, 22:05:01] [Hue-Bridge] Philips hue: request 11547: 200 OK
[05/03/2023, 22:05:01] [Hue-Bridge] Philips hue: request 11548: GET /schedules
[05/03/2023, 22:05:01] [Hue-Bridge] Philips hue: request 11548: 200 OK
[05/03/2023, 22:05:01] [Hue-Bridge] Philips hue: request 11549: GET /rules
[05/03/2023, 22:05:01] [Hue-Bridge] Deckenspot Weiss 1: homekit on changed from false to true
[05/03/2023, 22:05:01] [Hue-Bridge] Deckenspot Weiss 1: homekit brightness changed from 25% to 25%
[05/03/2023, 22:05:01] [Hue-Bridge] Deckenspot Weiss 3: homekit on changed from false to true
[05/03/2023, 22:05:01] [Hue-Bridge] Deckenspot Weiss 3: homekit brightness changed from 25% to 25%
[05/03/2023, 22:05:01] [Hue-Bridge] Deckenspot Weiss 5: homekit on changed from false to true
[05/03/2023, 22:05:01] [Hue-Bridge] Deckenspot Weiss 5: homekit brightness changed from 25% to 25%
[05/03/2023, 22:05:01] [Hue-Bridge] Philips hue: request 11549: 200 OK
[05/03/2023, 22:05:01] [Hue-Bridge] Philips hue: request 11550: PUT /lights/15/state {"on":true,"bri":64}
[05/03/2023, 22:05:01] [Hue-Bridge] Philips hue: request 11550: 200 OK
[05/03/2023, 22:05:01] [Hue-Bridge] Philips hue: request 11551: PUT /lights/13/state {"on":true,"bri":64}
[05/03/2023, 22:05:01] [Hue-Bridge] Philips hue: request 11551: 200 OK
[05/03/2023, 22:05:01] [Hue-Bridge] Philips hue: request 11552: PUT /lights/17/state {"on":true,"bri":64}
[05/03/2023, 22:05:01] [Hue-Bridge] Philips hue: request 11552: 200 OK
[05/03/2023, 22:05:01] [Hue-Bridge] Deckenspot Weiss 1: state changed event: {"on":true}
[05/03/2023, 22:05:01] [Hue-Bridge] Deckenspot Weiss 3: state changed event: {"on":true}
[05/03/2023, 22:05:01] [Hue-Bridge] Deckenspot Weiss 5: state changed event: {"on": true}
ebaauw commented 1 year ago

My bad, could you try beta v0.13.57-3? I'm sorry, I don't have a Hue bridge ready to test myself.

VF-mbrauer commented 1 year ago

Now it seems to work for the part where we have the double trigger. But if that not happens (rarely happening) the lights stay off. Really strange. I will try to find some Logic what happens. Really weird. I keep you posted.

VF-mbrauer commented 1 year ago

@ebaauw Did another restart of the whole HomeBridge. Seems that all is OK now. Let me have another few test cases over the course of the day to validate.

VF-mbrauer commented 1 year ago

Have done several validation test. Seems that all works fine. So except the hickup I had even after the patch, which was somehow related to homebridge who got in a strange state. After a restart all is fine since yesterday night.

So please go ahead an merge the change in the new release.

Thanks a lot for the patch and your support. Issue can be closed!

PS: Anything we should give to signify on this regards? I have a contact there to adress things?

ebaauw commented 1 year ago

Good luck with that. I've been on their developer forum since Oct 2014, but they've been ignoring developers for years. I suppose they no longer need them, now they're big enough.

ebaauw commented 1 year ago

In v0.13.57.