I’ve been using Alexa integration for years now with very few issues. Recently, though, I’ve had a recurring problem: All of my openHAB items will periodically become unavailable to Alexa. When I look in the Alexa app, they all show offline/disconnected.
I can temporarily fix it by restarting openHAB, but after another day or two, the problem comes back. I can’t seem to figure out what is causing the problem in order to fix it permanently.
The especially odd thing is that I can’t see any errors or issues on the openHAB side of things. Everything appears to operating normally in my logs and in the UI.
Is anyone else having a similar issue? If not, the only thing I can think of is that my SD card is wearing out and causing a strange glitch once in a while.
Oh, and for reference: I’m running OH 3.3.0 Release Build, via openhabian on a Rasberry Pi 3.
Some people had issues with openhab cloud connection in the past.
As the Alexa skill is using the cloud connection, it would also be impacted.
Restarting OH will also restore cloud connection, but there are also other ways to reestablish the connection.
Check your logs (or when the issue next time happens), if cloud connection is still working or not …
Thanks for pointing me in the direction of the cloud connection. I had forgotten that the cloud connection was part of the Alexa integration. Looking back through my log, that is definitely the problem. Once the problem starts happening, openHAB keeps connecting and disconnecting every few minutes, with
“Error connecting to the openHAB Cloud instance. Reconnecting.”
“Error during communication”
errors every so often.
Now to figure out what is causing those errors… The lack of other people posting about this leads me to believe that it’s probably not a server-side issue. Could it have something to do with a corrupt auth file? That was a problem I had with the ecobee binding a while back. Otherwise, I’m at a loss as to what the underlying cause of the communications error is. My Raspberry pi is on a solid ethernet connection and I haven’t noticed any issues with my internet service.
I’m going to try stopping OH, clearing the cache, and restarting, just in case that “low hanging fruit” fixes it.