-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Shelly Pro Devices get flooded with requests from Openhab instance #17892
Comments
Hello, I have had a lot of contact with Shelly Support, but they see the error on Openhab's side I decided to buy another Shelly Pro 4PM and test it with "old" firmware. The result is almost as expected. With firmware 1.0.7, the Shelly works completely normally, there is a websocket login from Openhab, All Pro Shellys with FW 1.4.4, however, show the above-mentioned behavior, with a websocket connect / disconnect between the Openhab instance and Shelly taking place hundreds of times per minute. |
Maybe the new firmware requires some setting, handshake or similar. To fix this we need a proper error message or documentation. The log does not show anything usefull for fixing it. I would be interested if the trace level logs anything before disconnecting. Or even better if you have any documentation it would be recommended. |
Hello Isiepel, this is the trace level Log, so the 401 could be the problem?
|
401 means the Shelly actively rejects the request due to some authentication issue. It might be something simple as rejected user agent as well as some complex encryption schema. Are you aware of other projects having similar connectivity issue with this firmware version? Maybe we can look at how others solved the Shelly connection. |
I'm not sure if the 401 error is really a problem. |
Hello,
since the firmware updates to version 1.3x and 1.4x, all my Pro Shellys have problems.
I have been using some Shelly Pro 4 PMs for about 3 years, and also a Shelly Pro 3 EM.
The Pro 4 PMs are some of the first to come onto the market in 2021.
So far, these have always worked without problems and were always accessible via WiFi.
Since the updates to 1.3.2 and 1.4.4, all of my devices have been running very unstable.
There are a lot of ping losses.
The uptime of the devices, which used to be 1 year in some cases, is only between 5 and 30 minutes.
The devices also restart very frequently.
After a few days, some of the devices are not accessible at all and only switching off the power supply helps.
Switching off the ECO mode provides some relief.
This alleviates the problems somewhat. Still very unsatisfactory compared to the time before the firmware update.
I contacted Shelly Support about the issue.
It turned out that the devices were being flooded with requests every second from the Openhab instance.
According to Shelly, these thousands of requests are to blame for the crashes.
So the question at this point is, why so many requests sent by Openhab?
The query interval is set to 60 seconds.
The Openhab version is the current openHAB 4.2.3.
But I also tested the current snapshot version of the Openhab binding.
The behavior is the same here.
All my 40 non Pro Devices has no Problems, but they only beeing contaced every 60 seconds by openhab.
This is the according log, which floods the log a hundred times a minute.
Thank you in advance.
The text was updated successfully, but these errors were encountered: