ptz0n / homebridge-verisure

 Platform plugin for Homebridge allowing to manage and control Verisure devices.
https://www.npmjs.com/package/homebridge-verisure
MIT License
66 stars 15 forks source link

Error setting switch state: undefined #125

Closed utezduyar closed 3 years ago

utezduyar commented 3 years ago

Since yesterday I have been having problems with verisure plugin. The accessories shown as non-responding intermittently. Restart of the HB seems to fix the problem for 1/2 hour or so then flakiness starts again. For example I cannot control the smart switch and following message is printed.

[verisure] info SmartPlug (Coffe): Error setting switch state: undefined

I have the debug options enabled. Is there any way I can debug this further?

HB v1.3.4 homebridge-verisure v1.14.0

ptz0n commented 3 years ago

What was the issue?

utezduyar commented 3 years ago

I am not sure. It just was flaky. I called Verisure to hear if they had any problems with their API backend but they said they didn't. Things started working again in an hour or so. How can I debug it if it happens again? I set the "-D" option in the UI and turned on everything with "*". Do you have more specific flag/component that I should turn on?

ptz0n commented 3 years ago

We don't really have any debug logging available as part of the plugin, or even the verisure client module. We should really add that.