Closed geeewizzz closed 3 years ago
That error comes from https://github.com/karalabe/hid/blob/master/hid_enabled.go somewhere. How long had the service been running? I assume no one touched the USB stick?
I've pushed a new build that logs errors better, but this looks like an external issue to the daemon itself. The stick may have disconnected or some service was restarted? A workaround could be that the daemon just restarts, but it would be nice to understand what caused this.
Can you see anything else in HA logs from around that time?
I updated HA to a new version later that evening, so I lost my logs. The xcomfort addon and HA had been running for about 12-16hrs before it crashed, the pi and the stick is in a cabinet and was not touched in the timeframe, no.
I have updated to the newest version of the xcomfort addon now, will keep an eye on it and report back with more logs if it happens again.
hidapi appears to have stability issues and is only provided for testing purposes. By default, libusb is used and is stable.
My adddon shut down this morning, got the above error msg.