Open jfmach opened 9 months ago
Quick and dirty workaround, added a cron job to check if this plugin reports an error and restart homebridge if it does:
*/5 * * * * if [ -n "$(grep homebridge-calendar /var/lib/homebridge/homebridge.log | tail -1 | grep -i error)" ]; then sudo hb-service restart && echo "homebridge-calendar error detected, homebridge service restarted" | logger; fi
It seems the plugin stops working if polling the calendar returns an error. For instance mine is setup to poll every 15 minutes. It works like clockwork, but the moment it fails it doesn't try anymore. Only way to get it unstuck seems to be restarting homebridge:
And then nothing (that was 2 hours ago)