-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
OXT dimmer module does not expose switch_type and generally is unstable #24788
Comments
I got the same problem on OXT 2 channel dimmer, no switch_type option and is recognized as: `const {deviceEndpoints, light} = require('zigbee-herdsman-converters/lib/modernExtend'); const definition = { module.exports = definition;`
|
I found this commit removed switch type for _TZ3210_k1msuvg6 -> Koenkk/zigbee-herdsman-converters@401d1c4#diff-0157bb612c63e92c50f93116e1f50bf8e263030ed26d86caa28479159c2a9f4aR8052 |
Stil dont have option switch_type for TS110E_2gang_2 OXT dimmer |
This is quite problematic, I just installed this dimmer only to find out a core feature has been removed. |
@wpak18 / @FPSUsername sorry, I completely forgot to add switch type also for 2 channel dimmer. Ready to merge but I don't have this device to check if it works correctly. I did this based on others devices. Are you able to check this on your side? Koenkk/zigbee-herdsman-converters#8379 Btw, do you guys have a problem with correct state reporting? I observe strange behaviour with my dimmer - few minutes after turning off it shows again as turned on. I haven't debug it yet, but do you observe sth similar? |
I just got the dimmer, so I have to figure out how it all works. I believe that I did see one false report where it showed that one of the two lights were reported as off, while it was on. I run home assistant via the docker image (so I can make use of HACS and such) and use a Sonoff zigbee dongle. Currently trying to figure out how to get this updated repository, I could use a helping hand. Thanks for the ultra quick merge. |
@FPSUsername to test only my changes you can add this two lines https://github.com/Koenkk/zigbee-herdsman-converters/pull/8379/files in your tuya.js file. I use HAOS but it should be similar in your case. Here is a simple instruction (for HAOS addon but you can see general rule to test changes) https://github.com/zigbee2mqtt/hassio-zigbee2mqtt?tab=readme-ov-file#testing-changes-locally |
I'm trying to edit I am running the latest version: |
Thank you, amazing work on the quick resolution! It now works! |
@mikolajpiecuch I too seem to have incorrect reporting of the on/off state. The lights are turned off, updated in HA, but after a while one of them shows as turned on (even though the lights and the switches are off) The same happens when the lights are turned on, after a while HA shows that one of the lights is turned off when nothing changed. |
Not sure if it is related but next to state being reported wrongly after a while I also have the issue with scenes. Turning off is no issue but turning on HA appears to send only the new dim value and the lamp doesn't turn on. (It is on in HA dashboard) after switching off-on the new dimmed value is visible. If the device is already on switching scene immediately shows the new dimmed value. I actually switched my entire network from ZHA to Z2M because of this issue... 🤦🏼♂️ |
It looks like the wrong state reporting is somehow linked to the power on behavior, a fix was posted on another forum which seems to change the behavior:
|
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days |
So I think I found out how to trigger the ghosting "light is off" for L1 after a while. If you put the power on behavior to off, then the light report will remain on until you actually turn off the lights. For some reason, L1 is reported incorrectly in the off state when the power on behavior is set to previous. Oddly enough it doesn't happen for L2, but there's another but because it's not configurable: #26759 |
What happened?
Firstly, I came back to z2m after almost 2 years. Two years ago I added to the z2m my OXT dimmer, then it was added as a TS110E. I added even then an issue -> 16520. Back in the time, as I remember, it worked great. Unfortunately, now (2 years it was unconnected) I can't see for sure "switch_type" option and generally dimmer works very unstable - wall switch even has a problem with turning off/on this module, same problem from z2m UI.
My dimmer module is made by OXT. I see some devices here OXT (despite fact z2m adds this device as TS110E), there is no OXT dimmer. There is wrong picture/name in the "TS0001_switch_module" - in the title (and description) it's called switch but in the picture we can dimmer module (very similar to mine)
What did you expect to happen?
My device is recognized and works properly
How to reproduce it (minimal and precise)
No response
Zigbee2MQTT version
1.41.0
Adapter firmware version
20210708
Adapter
Sonoff Zigbee 3.0
Setup
Add-On on Home Assistant OS on proxmox
Debug log
No response
The text was updated successfully, but these errors were encountered: