I’m seeing an issue when the light switch widget will not update, or take a long time, 15-20 seconds, when toggled. Sometimes reloading the page helps, others it show the wrong state. I’m having the issue in both IE and Chrome. While the button is “updating” I’m unable to change the state.
It’s okay…just released Android app so wasn’t sure…I should probably re-do the template for reporting bugs soon since we now have iOS, web, Android
Okay, I just checked on my Pi turning on/off an LED light, seems to work with expected response times. Doesn’t look like we’re having any issues on our servers. Does a reboot help?
I have seen this also, I just did a test on the web dashboard and timed between 3 to 7 seconds for the icon to update, most around 4 seconds, did maybe 10 iterations. I have seen both faster and slower reaction times and always blame my internet connection.
The next time I get long lag times I’ll see if I can video capture it.
Yes, the actual LED and the GPIO indicator in WebIOPi about a second, Cayenne, up to 10 seconds. The GPIO page in Cayenne responds exactly like the button. Is this related to how often Cayenne polls the pi for states?
@jhovak@Ian We’ve imported this into our Task List. 3-7 (and sometimes 10) seconds is considered normal for web dashboard, but 15-20 seconds seems abnormal.
So web dashboard is slower because it’s waiting for a response from the Cayenne agent that’s installed on your Pi to send an updated value of the sensor (such as ON or OFF). The widget will show the spinner until it gets a data-changed event from the agent. The web dashboard gets these updates from the cloud so can take some time…although not usually 10 seconds. Whereas WebIOPi is over your local network, so much faster. (Cayenne app is over local net too).
Did you make any changes prior to this occurring? Like adding a bunch of sensors, or connecting to new network?
Wanted to follow up here. I have a Pi with 9 1-wire sensors and the button widget is very slow to respond. I suspect it’s because of all the 1-wire devices. We will look into this more. Just wanted to check in and let you know that I didn’t forget!