Closed FransTwisk closed 4 years ago
Signal 15 (SIGTERM) means the application is exited from an external source that kills the application (by systemd?). Please try to run the application separately in a bash terminal window or something.
Sorry I had no idea. That probably means that there is something wrong with my configuration or pi itself. I will investigate further.
I have flicd running as a service on my Raspberry Pi2 using an external bluetooth dongle (Asus USB-BT400) and setup and configuration went smoothly. Using simpleclient I was able to register a brand new flic 2 button and events are catched by my Home Assistant instance (running on another machine).
However, after a few hours (usually at night, even when nothing is happening) the flicd service stops. My button is not connected anymore the next day and blinks a red light twice when pressing it. If I restart the service and restart Home Assistant everything works again.
Here’s the output of the log:
And systemd service (which shows flicd started 2 seconds before it crashed but it was actually running for a few hours).
Unfortunately no reason for the exiting is given. Any way we can get more verbose logging or an idea what the problem is? It seems to be similair to this issue https://github.com/50ButtonsEach/fliclib-linux-hci/issues/43 meaning it might just be the Asus BT400 being unstable?