@Emil hi it worked for me with some syntax change replacing - with :
so just change D7:E2:G3:XX:XX
-
I have tried to type down the MAC address of my pc but it keep showing invalid mac address length whether I have tried this MAC address on different Wake On Lan app on the App Store, it worked! So 100% sure that the MAC address was correct, Just not working with the Wake on Lan function in the flic app. Please someone can tell me how do I fix this problem?
-
TL;DR: If you use Home Assistant, getting programmatic access to Flic Twist events is doable.
alt text
https://youtube.com/shorts/vk94HH6OKEI?si=wHioNnW3-7Nc5gYW
This video shows using the twist events to switch pandora radio stations. Each of the 25 clicks on the twist is a station.
These instructions are my best recollection of setting it up and not what actually happened. If you run into something that isn’t right, I’m happy to update this post or answer a question.
ALSO: If you know of a simpler way to work programmatically with the Flic Twist, please let me know! This was born from me wondering if it would take less time to do this than to keep checking this forum to see if the Twist SDK was available yet.
Have Home Assistant: I use Home Assistant OS on a Raspberry Pi 4. Add Matterbridge: Install Matterbridge to connect Flic devices with Home Assistant. Follow the setup to get a QR code and register your devices in the Flic app under “Providers -> Matter.” Matterbridge expos
https://github.com/t0bst4r/matterbridge-home-assistant-addon?tab=readme-ov-file Configure a Virtual Light: Install the Home Assistant File Editor.
https://github.com/home-assistant/addons/blob/master/configurator/DOCS.md Edit configuration.yaml to add a virtual light. Example configuration: light: - platform: template lights: album_dial: friendly_name: "Album Dial" level_template: "{{ states('input_number.album_dial_brightness') | int }}" value_template: "{{ is_state('input_boolean.album_dial_switch', 'on') }}" turn_on: - service: input_boolean.turn_on target: entity_id: input_boolean.album_dial_switch - service: input_number.set_value target: entity_id: input_number.album_dial_brightness data: value: 255 turn_off: service: input_boolean.turn_off target: entity_id: input_boolean.album_dial_switch set_level: - service: input_boolean.turn_on target: entity_id: input_boolean.album_dial_switch - service: input_number.set_value target: entity_id: input_number.album_dial_brightness data_template: value: "{{ brightness }}" 4. Restart Home Assistant. Your virtual light (album_dial) should appear in the Matterbridge logs. 5. Link Flic Twist to Virtual Light: In the Flic app, go to your Twist settings -> Brightness -> Link to album_dial. Turning the dial now adjusts the brightness.Optional: Use MQTT for Custom Events
If you want to integrate with the Flic Hub or other systems, publish MQTT events from Home Assistant:
Install Mosquitto Broker: Add the Mosquitto addon in Home Assistant. Set up Automation: Edit automations.yaml to publish events to MQTT: - id: publish_album_dial_to_mqtt alias: Publish Album Dial State to MQTT trigger: - platform: state entity_id: light.album_dial action: - service: mqtt.publish data: topic: home/album_dial/switch payload: > { "state": "{{ 'on' if state_attr('light.album_dial', 'brightness') | int > 0 else 'off' }}", "brightness": "{{ state_attr('light.album_dial', 'brightness') | int }}", "timestamp": "{{ now().timestamp() | int }}" } retain: true Restart Home Assistant: You should now see MQTT events in the logs or an MQTT client like MQTT Explorer.Flic Hub Integration Example
If you want to work with the Flic Hub, you can subscribe to these MQTT events:
var mqtt = require("./mqtt").create("HOME_ASSISTANT_IP", { port: 1883 }); mqtt.on("connected", function () { console.log("Connected"); mqtt.subscribe("home/album_dial/switch"); }); mqtt.on("publish", function (pub) { console.log("Received: ", pub.message); // Example: const message = JSON.parse(pub.message); }); mqtt.connect();
1. Start a Flic Hub Project: Use flic-hub-sdk-mqtt-js.
2. Subscribe to MQTT Events: Example main.js script:Hope this helps someone!
-
Hi,
I just got my flic package home and was eager to try it. But when adding a specific trigger to my flic i get promted i need to upgrade my hub. See picture below:
Screenshot_2024-12-23-04-03-16-34_562c142be48d3fb326c122f96da0f8ab.jpg
In the next step i see my hubs network connections. See picture below:
Screenshot_2024-12-23-04-03-23-52_562c142be48d3fb326c122f96da0f8ab.jpg
When trying to install said update i was promted for i just ger "error" Not authenticated, for the last time see the picture below:
Screenshot_2024-12-23-04-03-27-60_562c142be48d3fb326c122f96da0f8ab.jpgI can find similar posts but with no solutions, only with support reps asking "try again" but no steps and then it working for people i guess? I need a helping hand here.
Other posts from diffrent years with no real solutions?
https://community.flic.io/topic/18275/cant-update-firmware-and-doesn-t-detect-in-alexa-1st-impressions
https://community.flic.io/topic/18054/error-not-authenticated-on-update-firmware-from-3-0-3SN for my hub: HBACH29-46818
-