https://github.com/gangstead/flic-meds-alert
We have a hard time coordinating / remembering a vital medicine for my kid. It's a liquid medicine so we can't just use one of those pill cases with tiny compartments. The button lives by the medicine to be pressed whenever a dose is given. The emails serve as a record that we can check to make sure no doses have been missed. I tried to document everything I came across getting this running. It should be easy to adapt example for anyone who wants to send an email when a Flic is pressed or run any arbitrary script on their local machine.
I used to do this task with a wifi bt.tn to send an email, but I think the company is defunct. It's a shame that it requires their server to continue running because it was otherwise a great solution. Glad to be hosting this all on equipment I own and email server I already pay for so hopefully it will be a more stable solution.
My only complaints with the Flic Mac App so far are:
- I can't figure out where the console logs go when a script is run. In Console app I can see bluetooth logs and I think
kill() returned unexpected error 1
is the only thing I got when my script had an error. - Why do I need to sign in with a Flic account to use the app locally? I'm not using any built in actions. This makes me worried that some day my Flic actions will no longer be runnable because they can't reach the Flic mothership even though that is not necessary for their operation.
- A couple minor annoyances like not being able to detect symlinked plugin folders and needing to use absolute paths to reference other files.
Other than that I'm pleased with the build quality and the responsiveness of the button actions.