In my previous post, I provided one method of starting and stopping firmware effects using Photons Interactor. Since that post was written, delfick has added native support for effects (with theme support), so this is a quick post to demonstrate how to use these new commands.
The Flic Hub LR has local LIFX LAN support, but the functionality is quite limited. It only allows you to toggle power state, turn a bulb on/off or change its colour. The only other option is the ability to trigger a scene via the LIFX Cloud. This post details a third option, which is leveraging a local Photons Interactor server to do complex transfomations triggered by a Flic.
My Flic Hub LR and Flic 2 buttons finally arrived today and as my primary automation system is HomeKit, I set about working out how to get them integrated via Homebridge. The result is a generic Homebridge plugin that creates a StatelessProgrammableSwitch which is identical to a Flic in operation. It supports three press events: single, double and hold, but doesn’t maintain state.