Commit Graph
25 Commits
Author SHA1 Message Date
Ariel Sosnovsky 2a1efb2aff All the work 2023-11-01 17:11:09 -04:00
id628 f6767c9e8f Merge pull request #6 from mikevostrikov/main
Strip sensor names off the device name prefix; better error handling
2023-08-22 18:55:00 -04:00
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
id628 a633db73c8 Merge pull request #5 from alexander-cato/main-1
Added current state sensor + other improvements
2023-08-07 10:58:47 -04:00
Alexander Cato c3d503cecc Update and improve documentation 2023-08-05 22:54:06 -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 a04ac40061 Update mqtt.js
Oops, put the code in the wrong file!
2023-07-15 19:04:32 -04:00
id628 c8e6e6fa0d Fix for reconnect if MQTT server goes down. 2023-07-10 18:30:41 -04:00
id628 da06453ac5 Update main.js 2023-07-05 11:25:37 -04:00
id628 3688f56630 Update README.md 2023-05-06 13:48:34 -04:00
id628 301224fcae Update README.md 2023-05-06 13:42:02 -04:00
id628 de83ce5d30 Update README.md 2023-05-06 13:34:49 -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 03f3d76f5e Update README.md 2023-03-28 15:53:27 -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 9be3e0a685 Create mqtt.js
Pulled from https://github.com/50ButtonsEach/flic-hub-sdk-mqtt-js
Referenced by https://community.flic.io/topic/18233/release-of-mqtt-client?lang=en-US
2023-03-19 14:37:44 -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
id628 cf5080d839 Update README.md 2023-03-19 14:29:39 -04:00
id628 a6b78dc655 Initial commit 2023-03-19 14:28:41 -04:00