-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
State reported twice #1155
Comments
Can you post the log of this? |
I experience this too so I think I can also provide some log:
|
@Kryzek in your case it's expected behaviour, see explanation below:
|
As you can see from the log below I send a command to "Her_Lamp" to set brightness to 255. I then receive a state update with it's current state then a second state report with it's new state.
|
Fixed, please checkout the latest dev branch. |
Oh, I see. Could this self-reporting behaviour be learned (or set via configuration) per device so M2Z wouldn't need to do these publishes for the device that do this themself? |
@Kryzek technically this is possible, but this will increase the delay between the state acknowledge. I don't see much benefit in adding this. |
I'm afraid I'm all rather new to Raspberry Pi's. I can see this instruction in the documentation but I am assuming that the update of the dev version would require a slightly different download command.
Any help greatly appreciated. Thanks. |
Replace the update section with:
|
I've just updated, I am still seeing two state reports but now both state reports have the same values so it has cured the flickering on the control. Should there still be two state reports or should there only be one? |
@GForce2010 two is expected, see #1155 (comment), thanks for verifying! |
Hello,
when changing occupied_heating_setpoint from 24.5 to 24 degrees, I get two messages. Thing is also happening with other parameters (most of them I think - at least I those things which are exposed in frontend). I guess, similar to brightness, it should report 2 times same value, not 2 different ones. Similar to author of this report, I'm also using openHab and this is causing flickering issue in interface for me. I can confirm though, that zigbee lightbulbs are not showing such behaviour when switching brightness Edit: Actually I see there is now issue created for that #23547 |
I just wanted to check to see if the behaviour I am seeing is what is supposed to happen.
I have zigbee2mqtt setup and I am controlling it via OpenHab.
When I send a command to change the brightness of a lamp I get two responses in the state topic, the first one is the current brightness and the second one is the new brightness I have requested. Everything is working but it causes the on screen control in OpenHab to flicker during the state change.
If that's how it works then fine but is there a way to disable to first state report?
Thanks.
The text was updated successfully, but these errors were encountered: