-
-
Notifications
You must be signed in to change notification settings - Fork 243
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
OH3 3.1 stable - Stepper widget sends commands spontaneously #1186
Comments
This feels deja-vu of #789 |
I have a similar (probably the same) problem, described here: In short: I have a strange issue with the Frontier Silicon binding. I have a (pretty old) Dual radio that I connected to via the binding. In general, everything works. However, the volume control somehow changes the volume on its own. Specifically, if I set a certain volume, e.g. 40%, the volume briefly rises to this value, but then gradually goes back to a value of about 20%. First, I thought, that can't be. But it is very reproducible. It only happens, when using the binding in openhab. There is no such effect, when using the UNDOK app and neither when directly calling the API via webbrowser. I did a short tcpdump to see, if there are indeed commands been send to the radio, and yes, they are!
This dump show that the initial command raises the volume to 10 (out of 32, I believe), but then there are following commands that slowly reduce the volume back to 7 (first 9, then 8, then 7). I found out that this only happens when a browser tab showing the volume widget is open. The item is a dimmer item with its default widget. As soon as I close this window and instead use the openhab android app to control the volume, the issue is gone. |
Fixes openhab#1186. Signed-off-by: Florian Hotze <[email protected]>
Fixes openhab#1186. Signed-off-by: Florian Hotze <[email protected]>
This issue might be general and not only for oh-stepper. I had the same e.g on switches in groups.
The Group had widgetOrder equal to 0 in order to be promoted as the main Point item of an Equipment. I am not sure if this is important for the error, but it was the reason I had this configuration. I wanted the Group to be the representation of the equipment in the UI. When switching one light, I got a disco. The lights were not set to ON simultaneously - there was a lag - and therefor I assume the average of the two switches (50%) was sent back to the switches resulting in a loop. |
Fixes openhab#1186. Signed-off-by: Florian Hotze <[email protected]>
Fixes openhab#1186. Signed-off-by: Florian Hotze <[email protected]>
Fixes openhab#1186. Signed-off-by: Florian Hotze <[email protected]>
…2096) Fixes #1186: Widget sends command on external update due to rounding. This is done by replacing the generic change listener with listeners for plusclick, minusclick and input for input element events. Signed-off-by: Florian Hotze <[email protected]>
The problem
A wigget is sending spnatagnus commands to the items, rounding them up to the stepper step
Expected behavior
Should not happen.
Steps to reproduce
Create item modified by some external controler.
On loading the UI layout page. observe the log it will show a number of the commands issued to the items in the steppers on the page
code for the stepper
Your environment
Browser console
No erros in console but wisible commands send
Browser network traffic
Additional information
The text was updated successfully, but these errors were encountered: