Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Girier Tuya Zigbee 3.0 2 Way Switch Module always switches both channels together #1130

Closed
SterkeYerke opened this issue Dec 23, 2022 · 7 comments
Labels

Comments

@SterkeYerke
Copy link

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

@ebaauw
Copy link
Owner

ebaauw commented Dec 23, 2022

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?

@SterkeYerke
Copy link
Author

@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.

@ebaauw
Copy link
Owner

ebaauw commented Dec 23, 2022

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.

@SterkeYerke
Copy link
Author

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.

@ebaauw
Copy link
Owner

ebaauw commented Dec 23, 2022

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.

@SterkeYerke
Copy link
Author

SterkeYerke commented Dec 23, 2022 via email

@ebaauw
Copy link
Owner

ebaauw commented Dec 23, 2022

How can I find the debug files?

See the FAQ, https://github.com/ebaauw/homebridge-hue/wiki/FAQ#homebridge

@ebaauw ebaauw closed this as completed Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants