I no longer trust anyone who promises HomeKit support "soon", so I wrote a Homebridge plugin for the Flic buttons instead: https://omg.dje.li/2020/02/adding-flic-buttons-to-homekit-using-homebridge/
Djelibeybi
@Djelibeybi
40ish married gay male-identifying Aussie-identifying geek. Preferred pronouns are he/him/his. During the day I'm one of the Oracle Linux and Virtualization product managers at Oracle.
Best posts made by Djelibeybi
-
RE: Status of Apple HomeKit Support
-
Add HomeKit support via Homebridge with homebridge-button-platform
Hey folks,
I have published a Homebridge plugin that will create virtual buttons in HomeKit that you can trigger using the "Internet Request" action of the Flic Hub LR.
Check it out here: https://www.npmjs.com/package/homebridge-button-platform
To configure your Flic, just add an Internet Request with the following values:
- URL:
http://<homebridge>:<port>/uri
- Method:
POST
- Content Type:
application/x-www-form-encoded
- Body:
event=click
(Ordouble-click
orhold
)
If you have any questions or problems, please open an issue on GitHub: https://github.com/djelibeybi/homebridge-button-platform
Hopefully someone else finds this useful!
- URL:
-
Flic Hub API?
Is there an exposed API for querying the Flic Hub (LR)? I'd like to be able to programmatically determine the buttons that have been connected to a nominated hub.
Latest posts made by Djelibeybi
-
RE: Is firmware using DHCPRequest instead of PING by mistake?
Mine isn't quite as bad as 100 packets per minute, but I am getting a
DHCPREQUEST
every 45-60 seconds. The lease is for 12 hours.Aug 9 07:35:33 dnsmasq-dhcp[15485]: DHCPREQUEST(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 Aug 9 07:35:33 dnsmasq-dhcp[15485]: DHCPACK(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 flichub Aug 9 07:36:36 dnsmasq-dhcp[15485]: DHCPREQUEST(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 Aug 9 07:36:36 dnsmasq-dhcp[15485]: DHCPACK(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 flichub Aug 9 07:37:40 dnsmasq-dhcp[15485]: DHCPREQUEST(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 Aug 9 07:37:40 dnsmasq-dhcp[15485]: DHCPACK(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 flichub Aug 9 07:38:44 dnsmasq-dhcp[15485]: DHCPREQUEST(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 Aug 9 07:38:44 dnsmasq-dhcp[15485]: DHCPACK(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 flichub Aug 9 07:39:47 dnsmasq-dhcp[15485]: DHCPREQUEST(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 Aug 9 07:39:47 dnsmasq-dhcp[15485]: DHCPACK(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 flichub Aug 9 07:40:52 dnsmasq-dhcp[15485]: DHCPREQUEST(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 Aug 9 07:40:52 dnsmasq-dhcp[15485]: DHCPACK(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 flichub Aug 9 07:41:56 dnsmasq-dhcp[15485]: DHCPREQUEST(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 Aug 9 07:41:56 dnsmasq-dhcp[15485]: DHCPACK(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 flichub Aug 9 07:43:01 dnsmasq-dhcp[15485]: DHCPREQUEST(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 Aug 9 07:43:01 dnsmasq-dhcp[15485]: DHCPACK(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 flichub Aug 9 07:44:04 dnsmasq-dhcp[15485]: DHCPREQUEST(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 Aug 9 07:44:04 dnsmasq-dhcp[15485]: DHCPACK(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 flichub Aug 9 07:45:09 dnsmasq-dhcp[15485]: DHCPREQUEST(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 Aug 9 07:45:09 dnsmasq-dhcp[15485]: DHCPACK(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 flichub Aug 9 07:46:12 dnsmasq-dhcp[15485]: DHCPREQUEST(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 Aug 9 07:46:12 dnsmasq-dhcp[15485]: DHCPACK(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 flichub Aug 9 07:47:16 dnsmasq-dhcp[15485]: DHCPREQUEST(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 Aug 9 07:47:16 dnsmasq-dhcp[15485]: DHCPACK(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 flichub Aug 9 07:48:19 dnsmasq-dhcp[15485]: DHCPREQUEST(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 Aug 9 07:48:19 dnsmasq-dhcp[15485]: DHCPACK(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 flichub Aug 9 07:49:23 dnsmasq-dhcp[15485]: DHCPREQUEST(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 Aug 9 07:49:23 dnsmasq-dhcp[15485]: DHCPACK(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 flichub Aug 9 07:50:26 dnsmasq-dhcp[15485]: DHCPREQUEST(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 Aug 9 07:50:26 dnsmasq-dhcp[15485]: DHCPACK(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 flichub Aug 9 07:51:30 dnsmasq-dhcp[15485]: DHCPREQUEST(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 Aug 9 07:51:30 dnsmasq-dhcp[15485]: DHCPACK(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 flichub Aug 9 07:52:34 dnsmasq-dhcp[15485]: DHCPREQUEST(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 Aug 9 07:52:34 dnsmasq-dhcp[15485]: DHCPACK(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 flichub Aug 9 07:53:38 dnsmasq-dhcp[15485]: DHCPREQUEST(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 Aug 9 07:53:38 dnsmasq-dhcp[15485]: DHCPACK(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 flichub Aug 9 07:54:43 dnsmasq-dhcp[15485]: DHCPREQUEST(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 Aug 9 07:54:43 dnsmasq-dhcp[15485]: DHCPACK(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 flichub Aug 9 07:55:47 dnsmasq-dhcp[15485]: DHCPREQUEST(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 Aug 9 07:55:47 dnsmasq-dhcp[15485]: DHCPACK(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 flichub Aug 9 07:56:51 dnsmasq-dhcp[15485]: DHCPREQUEST(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 Aug 9 07:56:51 dnsmasq-dhcp[15485]: DHCPACK(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 flichub Aug 9 07:57:56 dnsmasq-dhcp[15485]: DHCPREQUEST(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 Aug 9 07:57:56 dnsmasq-dhcp[15485]: DHCPACK(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 flichub Aug 9 07:58:59 dnsmasq-dhcp[15485]: DHCPREQUEST(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 Aug 9 07:58:59 dnsmasq-dhcp[15485]: DHCPACK(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 flichub Aug 9 08:00:03 dnsmasq-dhcp[15485]: DHCPREQUEST(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 Aug 9 08:00:03 dnsmasq-dhcp[15485]: DHCPACK(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 flichub Aug 9 08:01:08 dnsmasq-dhcp[15485]: DHCPREQUEST(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 Aug 9 08:01:08 dnsmasq-dhcp[15485]: DHCPACK(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 flichub Aug 9 08:02:13 dnsmasq-dhcp[15485]: DHCPREQUEST(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 Aug 9 08:02:13 dnsmasq-dhcp[15485]: DHCPACK(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 flichub Aug 9 08:03:16 dnsmasq-dhcp[15485]: DHCPREQUEST(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 Aug 9 08:03:16 dnsmasq-dhcp[15485]: DHCPACK(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 flichub Aug 9 08:04:19 dnsmasq-dhcp[15485]: DHCPREQUEST(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 Aug 9 08:04:19 dnsmasq-dhcp[15485]: DHCPACK(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 flichub Aug 9 08:05:24 dnsmasq-dhcp[15485]: DHCPREQUEST(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 Aug 9 08:05:24 dnsmasq-dhcp[15485]: DHCPACK(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 flichub Aug 9 08:06:28 dnsmasq-dhcp[15485]: DHCPREQUEST(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 Aug 9 08:06:28 dnsmasq-dhcp[15485]: DHCPACK(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 flichub Aug 9 08:07:33 dnsmasq-dhcp[15485]: DHCPREQUEST(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 Aug 9 08:07:33 dnsmasq-dhcp[15485]: DHCPACK(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 flichub Aug 9 08:08:37 dnsmasq-dhcp[15485]: DHCPREQUEST(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 Aug 9 08:08:37 dnsmasq-dhcp[15485]: DHCPACK(eth0) 192.168.9.22 c6:df:61:eb:7d:d2 flichub
This only happens with a wired connection, btw. If I disconnect the cable and configure wifi, the Flic Hub behaves itself.
-
RE: Status of Apple HomeKit Support
I no longer trust anyone who promises HomeKit support "soon", so I wrote a Homebridge plugin for the Flic buttons instead: https://omg.dje.li/2020/02/adding-flic-buttons-to-homekit-using-homebridge/
-
RE: Lifx Lan has become unusable
If you want more advanced control over your LIFX devices, I wrote a blog post with a few examples of how to leverage Photons Interactor to do some really nifty stuff, including starting/stopping Tile and Beam animations.
-
Advanced LIFX LAN control using Photons Interactor
Hey folks,
I have a pretty extensive LIFX deployment at home (55+ devices with at least 1 of every type) and was a little disappointed at the limited functionality included with the default LIFX LAN and LIFX Cloud actions.
So, I did a bit of poking and prodding and wrote a blog post about how you can create advanced and complex LIFX actions by leveraging Photons Interactor.
This is a pretty advanced topic, so it may not be for everyone, but I still think it's worth giving it a try. If you have any questions, ask them here and I'll do my best to help you out, if I can .
Enjoy.
-
Flic Hub API?
Is there an exposed API for querying the Flic Hub (LR)? I'd like to be able to programmatically determine the buttons that have been connected to a nominated hub.
-
Add HomeKit support via Homebridge with homebridge-button-platform
Hey folks,
I have published a Homebridge plugin that will create virtual buttons in HomeKit that you can trigger using the "Internet Request" action of the Flic Hub LR.
Check it out here: https://www.npmjs.com/package/homebridge-button-platform
To configure your Flic, just add an Internet Request with the following values:
- URL:
http://<homebridge>:<port>/uri
- Method:
POST
- Content Type:
application/x-www-form-encoded
- Body:
event=click
(Ordouble-click
orhold
)
If you have any questions or problems, please open an issue on GitHub: https://github.com/djelibeybi/homebridge-button-platform
Hopefully someone else finds this useful!
- URL: