-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
TS110E dimmer not updating the front end EDIT: still not fixed please reopen #15902
Comments
Am assuming this has to do with some change on this #15120 "brightness": 173, before this update it triggered it in “state” |
can you provide the exact model number as shown in the z2m frontend? |
Zigbee Model |
Found the issue and fixed it. Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html) |
I’m afraid still not fixed in latest 1.29.1 release! Reverted to 1.28.4. |
Confirmed, still not fixed, external switch only works when is ON in HA, Switch in HA seams to be momentary ( you on and goes off itself in 1 second), zigbee2mqtt ota don´t see this device. |
After update I had the same issue but I can confirm that it has been fixed in the dev branch. Model: TS110E When we can expect the fix to be implemented in the main branch ? |
@gras55 @emimor123 can you check if this works in the latest -dev? @zollek next release is on 1 feb |
Sorry, it doesn't work well, I think the problem we have is the following, knowing that the structure is:
that is, if "state" is off the device is off and there is no effect when pressing the wall switch. I think the solution would be to leave "state" hidden in the ON state and have both the switch in HA and the wall switch act on "state1". |
@emimor123 What model of the device do You have? In mine (Model:TS110E) there is no color_mode to be set:
For me, when I used Zigbee2MQTT 1.29.1-1 version, physical switch coresponded to a state_1. After moving to the newest dev branch, both HA and physical switch uses the same: "state": "ON/OFF" |
Hi, This is my model Modelo Zigbee TS110E I remove and add again device and now this is the list of states:
color mode disapear, but for me, "state_1" is always OFF, now works better, only one bug. If I switch on in HA the light increasing brightness (dont touching HA switch) then have to press 2 times phisical switch to switch off light, everything else works fine. |
Physical switch should work on a dimmer independetly from HA, the problem here was no frontend state updates.
I admit it's the same for me. |
It’s funny you mentioned it but this is a problem that I have too. So basically when you turn on the light by sliding the dimmer it requires two physical presses of the switch to turn off. Any ideas @Koenkk ? |
@gras55 can you provide the debug log when physically turning of the switch? See https://www.zigbee2mqtt.io/guide/usage/debug.html on how to enable debug logging. |
This is the log when turning the switch on and off (works as it should both physically and in the frontend)
This is the log when turning on dimmer in the frontend by using the brightness slider it then requires twice pressing physical switch to turn off
|
Sorry, I needed the herdsman debug logging, can you provide it with the same sequence as above? See https://www.zigbee2mqtt.io/guide/usage/debug.html on how to enable the herdsman debug logging. Note that this is only logged to STDOUT and not to log files. |
@zollek @emimor123 any chance of providing this? I’m unable to access stdout many thanks |
Here are my log files: |
Looks like the firmware is bug (not supporting the
|
Scenario 1: Yes Scenario 2: Light physically is still OFF - it's dark ( ZIGBEE2MQTT state says that it's ON). It happens when brithness is published to the same value as it was before. |
Could you check if the issue is fixed with the following external converter: https://gist.github.com/Koenkk/6146510be30d373b8d87b8fe614a46c6
external_converters:
- ext_converter.js
|
I'm geting an error:
After changing:
|
I've just tested it and: Now it works like it should :) |
Pushed the fix! Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html) |
Working perfectly for me too. |
The physical switch status reporting issue has been fixed however I still have the issue of not being able to turn the light on via physical switch after it was disabled via front-end or voice command. Front-end or voice-command switch-off changes state to OFF and sets the brightness level to 0 and the brightness stays that way when the physical switch is pressed. |
For me light turn off command:
turns off the light and doesn't change the brightness. If you turn off this dimmer by lowering your brightenss to 0 and then try to turn it on by phisicall switch, it turns on with the brigthess 0 (HA state says ON).
It's the same but I acctually don't need it different. |
Well, yours acts differently than mine then - this is what the device state is, after I call the light.turn_off service: { Now I press the physical switch: { Now I press the physical switch for the second time: { Now I set the brightness via physical switch: { Now I switch off by a service call: { As you see, the brightness parameter changes itself, without being called and I have to press the physical switch twice to set the state to ON after it's switched off by a service call, Alexa or Z2M frontend. |
Hey! Where did you buy your TS110E? I was looking and found this module https://www.aliexpress.com/item/1005003693644741.html but I'm not sure if this is the same one |
Yes, it is |
Thanks! But how do I know if this is the TS110E_2gang_2 or TuYa TS110E_1gang_2 (both two gang, but only one of them can change power_on_behavior) |
Sorry, for taking this issue from the grave after so long time. But the issue just showed to me. I observed the same behavior as @micihol described in his last post. I did not use dimmers from Alixepress but Polish white-label/importer OXT. I have this behavior happening on 1 or 2-channel dimmers. When I use the service to turn off the lights, the brightness value goes to 0 and the state is set to "off", on the other hand when I use the physical switch, the brightness stays only the state changes to "off". |
I'm staring to think that this is not the case for Z2M. I can gather and provide logs if needed to check this out. I've tested multiple dimmers from the same venedor with 1 and 2 channel that I've installed in my house. After my tests I've found out that 2 of them behaves wrongly, the rest of them preserves the brightness value between setting it off by Z2M and turning on by hardware switch. It seems that some of them might have some other firmware version and behaves differently. I've checked and the device type in Z2M is the same. |
I am not sure it's a firmware issue. Surely there is a firmware difference however ZHA works properly with the hardware and this unresolved problem forced me to resign from Z2M and migrate my network to ZHA. The issue made the dimmers unusable to those using both ZigBee and physical controls. |
I can confirm that i have this exact issue. When the light is turned off with Service: Turn Light Off it can't be turned on with the physical button anymore (with one click). You'll have to tap the button twice and increase the brightness untill it turns on. When i turn the light of with the physical switch and back on it works as intended. |
Having exactly same problems |
Hi @Koenkk, can this problem be reopened or new one should be created based on the recent reports. It's definitely not fixed. |
Hi, |
This is way out of my expertise, but this is apparently how Zigbee for Domoticz deals with the issue. |
Hi @Koenkk, I'm experiencing the same issue on 1.39.0-1. Any chance this can be revisited? |
I've now created a new issue #23967 with debug information. I hope it will help to resolve it. |
What happened?
Turning on and off the light does not update the front end
What did you expect to happen?
I expect the physical switch to update the front end
How to reproduce it (minimal and precise)
Turn the light on or off
Zigbee2MQTT version
1.29.0
Adapter firmware version
20221102
Adapter
Sonoff c2652p
Debug log
No response
The text was updated successfully, but these errors were encountered: