Open erikvg01 opened 8 years ago
Can you tell a bit more about that the db forgets the buttons? That really shouldn't happen.
Is there a log location that is written to by default?
Twice in the past two months, I have observed that flic's associated with a one specific Raspberry Pi (model B) start blinking red. I connect the simpleclient and getInfo, which responds with nothing at all.
No, you have to manually assign a log file location, otherwise it's discarded when running in daemon mode.
Can you clearify "blinking red"? Is it blinking or fading in and out or some other pattern? And for how long time is it lit up?
Den 22 aug. 2016 10:10 em skrev "erikvg01" notifications@github.com:
Is there a log location that is written to by default?
Twice in the past two months, I have observed that flic's associated with a one specific Raspberry Pi (model B) start blinking red. I connect the simpleclient and getInfo, which responds with nothing at all.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/50ButtonsEach/fliclib-linux-hci/issues/32#issuecomment-241534303, or mute the thread https://github.com/notifications/unsubscribe-auth/ABlXavgBmKnqJlY7XJXzZbtBKproQyjRks5qigJGgaJpZM4JpLF_ .
I'll re-launch with a log location. Buttons blink red once on press, then fade out.
Well the fading is standard and means that it tries to establish a connection. It stops once it gets connected.
Den 22 aug. 2016 10:18 em skrev "erikvg01" notifications@github.com:
I'll re-launch with a log location. Buttons blink red once on press, then fade out.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/50ButtonsEach/fliclib-linux-hci/issues/32#issuecomment-241536438, or mute the thread https://github.com/notifications/unsubscribe-auth/ABlXakW_17gHY27stuaGcp1dMFmXIO76ks5qigQGgaJpZM4JpLF_ .
All presses are queued when it's in this state. Once I restart the flicd and restart my node-red client, the queued messages dump out.
Did you ever resolve this? I have the exact same problem
I've been attempting to sort out a way to check the 'health' of the daemon while it is running. On rare occasion, the daemon seems to forget the contents of the database, causing the buttons to fail to connect. When I grep out the process, it appears to be running normally. The closest I can get is to launch the simpleclient and use the getInfo command to see if the buttons are listed. I'd love to be able to have this same interaction from the node-red context so I can restart services etc. Time and skill are preventing me from fully writing my own...Mostly wondering if anyone out there has built something that fits this need.
Any guidance is appreciated. Thank you!