Open GuitarHer01 opened 4 years ago
There's not much to look into: when the plugin doesn't get a response to a query within 2 seconds, it starts retrying. If after 15 retries it still hasn't gotten a response, it throws that error.
This issue is ultimately one that is beyond the plugin's control: either your internet connection has issues, or the Bosch/Nefit backend has issues.
I am using the internet normally at the time the problem occurs, so no problem with the internet connection. Problaby some issues with the backend than, but why are all other Homebridge devices unavailable during this error? (Homebridge camera's, Homebridge Sonos, etc) The Homebridge UI X and server are fully reachable and show no sign of errors other than the Nefit Easy MAX_RETRIES_REACHED . After this error is gone, all Homebridge devices are responding again.
I don't know about the internals of Homebridge, so perhaps it doesn't like it when plugins throw exceptions. However, it is an exceptional situation, so the issue would probably be solved by finding out why the connection to your Nefit is failing.
You can install the Nefit CLI tool and run it whenever the plugin fails (preferably from the same machine that Homebridge is running on) to see if that sheds any light on what's going on. You can enable debugging to make it produce debugging info:
$ env DEBUG=* easy --serial=XXX --access-key=XXX --password=XXX status
The Homebridge Nefit Easy plugin give me this error several times every day now. All other Homebridge devices are also disconnected after this error. (not responding in Homekit) Sometimes the devices are reachable again after some time, sometimes the server has to be restarted to solve this.
Can you pls look in to this?
_
_