Closed SterkeYerke closed 1 year ago
What happens if you switch on one of the output channels from Phoscon? From the looks of it, this is how the switch behaves; maybe it's configured to switch both channels on either input?
@ebaauw : If I switch on or off in the Phoscon app while Homebridge is disabled, both lights can be switched separately. As soon as Homebridge is started, they act like twins again. If I use the physical switches, the lights can be operated separately and their status is reflected correctly in Homebridge and in HomeKit.
Did you check another HomeKit app? Are you showing the two channels as separate tiles in Home?
As soon as Homebridge is started, they act like twins again.
What do you mean: when Homebridge is started and you turn on one channel in Phoscon or using the physical switch, the other channel turns on as well?
Please attach the debug dump file, and capture and attach a debug log file (see FAQ) from starting Homebridge, changing the channels through Phoscon, through the physical switch, and through HomeKit.
I tried to use the Hue bassics app as well. It connects to the Phoscon bridge directly. If Homebridge is running, they are twins. I see 2 lights, but the always switch on / of together. If I shut down Homebridge, they can be switched on end of independently.
So, in the Phoscon app, in HomeKit and in Hue basics I can see 2 tiles. One for each light. If Homebridge is down, everything works as expected in these 3 apps. If Homebridge is running, nothing changes in the displays of the apps, but the lights always switch on and off together.
The device has 2 connectors for physical switches. They work as expected, meaning the lights can be operated separately, independent of HomeBridge being up or down. If Homebridge is up, I can even see the colour of the tiles change independently.
Weird. There's no function in Homebridge Hue to tie together the two Lightbulb services. I would think you migth have a HomeKit automation or shortcut running, but that should show in the log. According to the log messages above, you switch the Werkkamp (typo?) from HomeKit, and then the Hue bridge reports the Sfeerlamp state has changed, causing Homebridge Hue to update HomeKit. Please attach the debug files, so I can have a closer look at what's going on.
There is absolutely no automation in HomeKit. The switch is brand new. I noticed this unexpected behavior before I openend HomeKit. I restarted HomeBridge (needed to discover the new device) and clicked on one of the new tile in HomeBridge. To my surprise both lights switched on together.
There is a typo in Werklamp although it feels like a werkkamp here now and then :-)
How can I find the debug files?
Op 23 dec. 2022, om 21:14 heeft Erik Baauw @.***> het volgende geschreven:
Weird. There's no function in Homebridge Hue to tie together the two Lightbulb services. I would think you migth have a HomeKit automation or shortcut running, but that should show in the log. According to the log messages above, you switch the Werkkamp (typo?) from HomeKit, and then the Hue bridge reports the Sfeerlamp state has changed, causing Homebridge Hue to update HomeKit. Please attach the debug files, so I can have a closer look at what's going on.
— Reply to this email directly, view it on GitHub https://github.com/ebaauw/homebridge-hue/issues/1130#issuecomment-1364311438, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALHC65IRICGXHBLQS5TKGJTWOYBY5ANCNFSM6AAAAAATH5BFHE. You are receiving this because you authored the thread.
Henk van Roon @.*** Gelreweg 46 6065CN.Montfort Tel:+31654670744
How can I find the debug files?
See the FAQ, https://github.com/ebaauw/homebridge-hue/wiki/FAQ#homebridge
Issue
I have a Girier Tuya Zigbee 3.0 2 Way Switch Module. It’s paired on the Deconz gateway and working fine as long as I don’t restart Homebridge. After restarting Homebridge, 2 lights are shown in the accessories screen. Switching on one light will always result in switching on the other light as well. In homekit it shows as 1 light with 2 accessories. Here too, switching on 1 light will always result in switching on the other light as well.
Log Messages
[23/12/2022, 17:42:19] [RasBee-II ZigBee] Werkkamp: homekit on changed from false to true [23/12/2022, 17:42:20] [RasBee-II ZigBee] Sfeerlamp: set homekit on from false to true [23/12/2022, 17:42:28] [RasBee-II ZigBee] Sfeerlamp: homekit on changed from true to false [23/12/2022, 17:42:32] [RasBee-II ZigBee] Werkkamp: homekit on changed from true to false [23/12/2022, 17:42:37] [RasBee-II ZigBee] Sfeerlamp: homekit on changed from false to true [23/12/2022, 17:42:37] [RasBee-II ZigBee] Werkkamp: set homekit on from false to true [23/12/2022, 17:42:38] [RasBee-II ZigBee] Sfeerlamp: set homekit on from true to false