Full two-way integration between Hubitat and Flic Hub, supporting Flic Buttons and Flic Twist devices.
This integration allows:
- Flic devices to control Hubitat devices
- Hubitat devices to stay in sync with Flic virtual devices
- Real or virtual devices on either side
- Hubitat hub and Flic Hub must be on the same local network (LAN)
- Flic Hub firmware must support SDK / Studio access
- Flic Hub LR (Not Flic Hub Mini)
- In the Flic Mobile App, select your Flic Hub
- Go to Settings and enable “Enable SDK Access”
- Check for new firmware and update if required
- In a browser on your local network, go to:
https://studio.flic.io/ - Enter the IP address of your Flic Hub
- Enter the Flic Hub password (managed in the mobile app) and click Connect
- Click “+ Create Module”
- Give the module a name (e.g.
HE Integration) - Copy and paste
main.jsfrom this repository into the Studio editor (replace all contents) - Click the Play
▶️ button next to your module name
Only one Studio module is required.
- Add
Flic_Integration_TCP_Driver.groovyto Drivers Code - Add
Flic_Integration.groovyto Apps Code - Ensure OAuth is enabled for the app code
- Go to Apps
- Click “+ Add User App”
- Select “Flic Integration v1.0”
- Enter the IP address of your Flic Hub
- Keep the default port: 46321
- Click “Configure Flic Devices”
The app will:
- Create a TCP child device automatically
- Scan your Flic Hub for available Flic devices
- Click Next
- Select a device and click “Configure selected device”
- Work through the configuration page:
- Create virtual devices or
- Select real Hubitat devices to control
- At the bottom of the page, review the “Flic Mobile App Setup” instructions
- Click Save / Configure another device
- When finished, return to the main page and click “Push Configuration to Flic Hub”
- Click Done
Only one instance of this app should be installed.
(Flic Twist only — Button devices do not require additional setup)
-
Follow the “Flic Mobile App Setup” instructions shown at the bottom of each device configuration page in Hubitat
-
Master Twist Event
- Click “+” and select the required function (matching your Hubitat selection):
- Brightness / CT / Color / Saturation
→ Flic Hub Studio → Add device
→ Exact name from Hubitat (e.g.flic1-dimmer0)
→ Device type: Light - Volume
→ Device name:flic1-speaker0
→ Device type: Speaker - Blinds Level
→ Device name:flic1-blinds0
→ Device type: Blinds
- Brightness / CT / Color / Saturation
- Do not select Scene Blender or Advanced Dimming
- Click “+” and select the required function (matching your Hubitat selection):
-
Master Push / Double Push Events
- Click “+”
- Scroll down and expand Advanced
- Select Flic Hub Studio
- Enter the action message exactly as shown in Hubitat:
- Push:
flic1-button0-event1 - Double Push:
flic1-button0-event2
- Push:
-
Push & Twist / Selector Modes
- Configure in the same way, using the naming conventions shown in the Hubitat app for each selector position
Your Flic devices will now operate as configured.
Communication is fully two-way, so changes made in Hubitat are reflected in Flic virtual devices and vice versa.
Enjoy 🎉