Commit Graph
12 Commits
Author SHA1 Message Date
Mike Vostrikov e18ae18bf3 Remove device name prefix from sensor names 2023-08-19 01:50:38 -04:00
Mike Vostrikov 6544556202 Add key mqtt events logging 2023-08-19 01:49:31 -04:00
Mike Vostrikov 7effbdb27a Force process crash on mqtt error
To circumvent this error https://community.flic.io/topic/18257/cannot-push-beyond-allocated-stack-fatal-error
2023-08-19 01:48:23 -04:00
Alexander Cato 9dbf0ab196 Move battery to diagnostic category 2023-08-05 22:25:19 -04:00
Alexander Cato 0b5e4c773c Improve variable defaults 2023-08-05 22:24:45 -04:00
Alexander Cato 403175c911 Added current state sensor 2023-08-05 22:22:25 -04:00
id628 36640d28bd Update main.js 2023-07-15 19:05:32 -04:00
id628 da06453ac5 Update main.js 2023-07-05 11:25:37 -04:00
id628 7c6ac17cd0 Can now add/remove buttons
Unfortunately, Flic has a bug where it won't report the name of a new button until you restart the Javascript app (or the entire hub).
2023-03-28 15:54:35 -04:00
id628 218f2cf803 Minor cosmetic changes 2023-03-27 15:51:03 -04:00
id628 64b650a224 Working code!
This works properly. It creates a single Device with two entities, action and battery for each Flic button it knows of.
2023-03-27 15:46:02 -04:00
id628 e6ab0063dd Create main.js
Initial version. 
Creates individual action and battery entities in HA properly, but won't link them to the Device that it also creates.
2023-03-19 14:31:21 -04:00