You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then I navigate to the item in my Chrome browser, and refresh the page (F5). This makes the dot go to "1".
If I then try to move the dot, the Communicatiefout (Communication error) appears. The dot never moves, and the openHAB logs show the old state every time.
I just noticed this doesn't happen if I have Chrome's console open!
After prissing F5 and then F12, the console is empty, and the dot is at the correct spot:
If I then try to move the dot, everything works as it should.
If I close the console and press F5 again, the dot is again at "1". If I then try to move the dot (with the console closed), I get the error. If I then open the console, this is what it looks like:
Sending command to haard_eetkamer_niveau2: 6
app.c0769f39a1ba699b096e.js:2 Sending command to haard_eetkamer_niveau2: NaN
:8080/rest/items/haard_eetkamer_niveau2:1
Failed to load resource: the server responded with a status of 400 (Bad Request)Understand this error
app.c0769f39a1ba699b096e.js:2 Uncaught (in promise) Bad RequestUnderstand this error
If I click on http://192.168.1.9:8080/rest/items/haard_eetkamer_niveau2:
The problem
If I refresh the page (F5), the communication between the browser and the item seems to break:
If I then try to change the dimmer to e.g. 5, I get this:
In the openHAB console log, that triggers:
Expected behavior
I would expect the page to be correctly refreshed.
I would expect to be able to move the dot, and thus setting a new value.
Steps to reproduce
Communicatiefout
(Communication error
) appears. The dot never moves, and the openHAB logs show the old state every time.I just noticed this doesn't happen if I have Chrome's console open!
Your environment
Browser console
After prissing F5 and then F12, the console is empty, and the dot is at the correct spot:
If I then try to move the dot, everything works as it should.
If I close the console and press F5 again, the dot is again at "1". If I then try to move the dot (with the console closed), I get the error. If I then open the console, this is what it looks like:
If I click on
http://192.168.1.9:8080/rest/items/haard_eetkamer_niveau2
:If I click on
http://192.168.1.9:8080/js/app.c0769f39a1ba699b096e.js
, this opens:Browser network traffic
It's impossible to record this. If I refresh while the console is open, the error doesn't happen:
Additional information
The text was updated successfully, but these errors were encountered: