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
Dimmer not updated after openhab restart #36
Comments
Short update, I might have been chasing a red herring with the tty errors I updated to the latest marketplace version and now the binding is started Unfortunately I still have the same problem with the dimmers:
Button Pressed
Button Released
State Telegram from Actor
But at this point the expected state change is not happening. |
Hi @fruggy83, i did some further debugging and i can narrow it down a little further: I have a dimmer thing (wzDiBoden), which is not updating. I remove the thing and re-create it with the exact same settings -> it starts working
Now without restarting or any other changes i go in and change something on the
At which point the dimmer value is no longer updated. As far as i can see the resulting thing in the jsonDB is exactly the same. Is there anything else you would suggest to do to further dig into the issue ? Thanks Martin |
Hi @martink2, thanks for your analysis. Found the bug and fixed it. Could you please test it? You find the fix in the issue branch. Thanks a lot. |
Hi @fruggy83 , thanks again for the quick support. Yes i can confirm with the build from the issue |
PR created 4542 |
Hi @fruggy83
as mentioned in the community the is something problematic going on in the serial
transceiver on openhab startup:
I recently switched to the 2.4 release and found the issue to be present release as well as
at least m8, m7, m6 and the issue-10 version i am currently running.
On a clean openhabian installation i can create the bridge , dimmer thing and dimmer item
and everything works fine whenever the dimmer sends a status message the value is
reflected immediately. This is working until i restart the openhab process after which
the dimmer is still working in a sense that i can dimm it but if the dimmer is sending an
updated telegramm after manual dimming the new value is not updated in the item/thing.
I can solve the issue by removing the bridge and dimmer thing and adding it again afterward,
which makes it work until restart.
In the broken state i can still see the packet recieved for the thing in question but nothing is
published afterwards. As far as i can tell this behaviour is specific for the dimmer / command.
The other devices i have (classicDevices) are still reflecting the state via telegramms from associated
enocean id's. I have this behaviour consistently.
Below is a full startup log but i found the folowing:
after a few minutes the bridge is reinitilized, which is working without a porblem:
After which all things go into online state but at least dimmers are not updated.
I am a bit lost on how to debug this problem further, I assume there is some problem
in teh startup sequence or the sequence of loading things. The above error does
not appear when adding the bridge after startup.
As always very much gratefull for any advise how to debug further?
Thanks
Martin
The text was updated successfully, but these errors were encountered: