OpenHAB 3.1.0 arm64 docker on arm64 Pi4 RaspiOS Bullseye
Client: Windows 10 20H2, Firefox 94.0.2, Chrome 96.0.4664.93
I’ve used OH2 for 3 years but I now have a brand new OH3 setup with simple test device, just trying to familiarize myself with the new platform and to wrap my head around how to make it work with my devices.
Right now I’m testing with an ESP8266 on a breadboard with 7 colored LEDs which present themselves as a single-node Homie device with 7 properties (all booleans) which are presented in openHAB as 7 switch-channels, and again 7 items. So, it’s a very simple test setup.
I’ve found the following reproducible bug (at least in my setup):
The switches on the Overview or Equipment Page, namely these ones:
Or these ones:
After you have visited Administration - Settings - Model, the above controls stop working properly!
They work once but the reflected state on the page does not update.
Imagine that the LED is OFF, and the button state is OFF.
When in failure mode, if I click on it, the LED turns ON, but the button state remains OFF. At that point, clicking on it again will not turn the led OFF. The LED will remain ON, and each time I click the button, openHAB sends an on command (well, true, actually) through the MQTT server to the homie device. The openHAB item state in the web browser UI never updated, so when you click on it, it keeps sending the state it’s already in.
When in failure mode, if the LED was ON to begin with, then in failure mode it goes OFF, and keeps going OFF, never turning ON.
If you reload the page, it magically “solves” the problem and the controls work again.
But, if you go to Administration - Settings - Model, and back to the overview page, again they are broken. You don’t even have to click on anything on the Model page! Just visiting that page breaks the controls.
I guess this won’t matter that much once my setup is fully done (as if that will ever actually happen!) but it’s sure going to be annoying during setup.
I’ve tried with both Chrome and Firefox, behaves exactly the same on both.
Has anyone else experienced the same issue?