Closed chas-iot closed 4 years ago
What I'd like is that the first time an error occurs, an event is sent to the Gateway
No problem, I'll add it soon.
Internal Server Error
It looks like the HTTP requests to the influx DB failed. Maybe there was a problem with the storage backend?
The next update adds the option to activate an InfluxDB device that emits error events. You can set the length of the cool-down phase in the config.
Thank-you
What I'd like is that the first time an error occurs, an event is sent to the Gateway. This event would allow users of the add-on to create notifications ( I use Pushsafer :) ) 'First time' could be the first time in a day, or the first time since the add-on started up.
Background: This morning, for no apparent reason, the Influx bridge just stopped working. There were no updates or any other reason that I can think of that might have caused this. The real issue was not that the error happened - there always will be apparently random errors - but that I was not aware of the issue until much much later, so lost half a day of logging. Below are the logs of the first time this occurred this morning. This set of messages was repeated thousands of times in the logs, hence the requirement for 'first time'. I rebooted the entire server, which fixed the error with brute force.