<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Flic Hub SDK]]></title><description><![CDATA[Discussion and help about the Flic SDKs ]]></description><link>https://community.flic.io/category/14</link><generator>RSS for Node</generator><lastBuildDate>Wed, 11 Mar 2026 07:37:35 GMT</lastBuildDate><atom:link href="https://community.flic.io/category/14.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 18 Feb 2026 05:50:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Flic Duo Position Detection (On the Wall vs Handheld)]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.flic.io/uid/57">@Emil</a> Thank you!!!</p>
]]></description><link>https://community.flic.io/topic/18614/flic-duo-position-detection-on-the-wall-vs-handheld</link><guid isPermaLink="true">https://community.flic.io/topic/18614/flic-duo-position-detection-on-the-wall-vs-handheld</guid><dc:creator><![CDATA[pico]]></dc:creator><pubDate>Wed, 18 Feb 2026 05:50:30 GMT</pubDate></item><item><title><![CDATA[MQTT Client additional]]></title><description><![CDATA[<p dir="auto">Anybody got any nice example of responding and publishing for a specific button ?</p>
<p dir="auto">I'd like to be able to use the names i've given them in the Flic app.</p>
<p dir="auto">I got the github example, but I have no idea how to parse the button id.</p>
]]></description><link>https://community.flic.io/topic/18599/mqtt-client-additional</link><guid isPermaLink="true">https://community.flic.io/topic/18599/mqtt-client-additional</guid><dc:creator><![CDATA[mocallins]]></dc:creator><pubDate>Sat, 29 Nov 2025 19:59:19 GMT</pubDate></item><item><title><![CDATA[Spotify Volume and playback control with Flic Twist]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.flic.io/uid/57">@Emil</a> Any updates on this being added in natively? Really reduces the usability of the twist without it - and I'd much rather have slight lag than nothing at all.</p>
<p dir="auto">As a non-programmer, I'd love to attempt Andreas' solution - but it's just slightly above my technical capability!</p>
]]></description><link>https://community.flic.io/topic/18591/spotify-volume-and-playback-control-with-flic-twist</link><guid isPermaLink="true">https://community.flic.io/topic/18591/spotify-volume-and-playback-control-with-flic-twist</guid><dc:creator><![CDATA[benci007]]></dc:creator><pubDate>Mon, 27 Oct 2025 08:05:23 GMT</pubDate></item><item><title><![CDATA[Crash with MQTT]]></title><description><![CDATA[<p dir="auto">I just noticed this post <a href="https://community.flic.io/topic/18577/mqtt-issue-on-firmware-version-4-4-5">https://community.flic.io/topic/18577/mqtt-issue-on-firmware-version-4-4-5</a> and updated Flic Hub to version 4.4.6 which appears to have solved the crash.</p>
]]></description><link>https://community.flic.io/topic/18578/crash-with-mqtt</link><guid isPermaLink="true">https://community.flic.io/topic/18578/crash-with-mqtt</guid><dc:creator><![CDATA[pico]]></dc:creator><pubDate>Fri, 19 Sep 2025 17:54:14 GMT</pubDate></item><item><title><![CDATA[Can FlicScript Add Support for Local Timezones (with DST)]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.flic.io/uid/5282">@pico</a> We currently use QuickJS and it seems like that js engine does not support that Intl feature.</p>
<p dir="auto">We might add the feature to set time zone, it can be useful for a few other purposes as well, e.g. in timestamp header for our Internet Request action. But right now I suggest to use the workaround I suggested.</p>
]]></description><link>https://community.flic.io/topic/18559/can-flicscript-add-support-for-local-timezones-with-dst</link><guid isPermaLink="true">https://community.flic.io/topic/18559/can-flicscript-add-support-for-local-timezones-with-dst</guid><dc:creator><![CDATA[Emil]]></dc:creator><pubDate>Mon, 05 May 2025 02:24:03 GMT</pubDate></item><item><title><![CDATA[Listen for device + trigger HTTP request]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.flic.io/uid/57">@Emil</a> Ok, thanks!! I'll do some research 🙂</p>
]]></description><link>https://community.flic.io/topic/18538/listen-for-device-trigger-http-request</link><guid isPermaLink="true">https://community.flic.io/topic/18538/listen-for-device-trigger-http-request</guid><dc:creator><![CDATA[claes.jacobsson]]></dc:creator><pubDate>Mon, 10 Mar 2025 16:36:20 GMT</pubDate></item><item><title><![CDATA[New Flic Twist features for the Hub SDK]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.flic.io/uid/57">@Emil</a> when I am on this screen</p>
<p dir="auto">e477bf23-7e8a-4be4-99ef-573de5cfffef-image.png</p>
<p dir="auto">When I tap on the virtual devices on iOS, nothing happens, there are no options, I can't delete them. I can add more however.</p>
<p dir="auto">I have tried tap and hold, I have swiped in all directions, quick taps. Not sure how to remove any of these and they seem to persist even after deleting the app and reinstalling. I'm sure they're stored on the hub itself. Would resetting the hub clear them? is there a way through the app to remove Virtual Devices I've previously added?</p>
]]></description><link>https://community.flic.io/topic/18536/new-flic-twist-features-for-the-hub-sdk</link><guid isPermaLink="true">https://community.flic.io/topic/18536/new-flic-twist-features-for-the-hub-sdk</guid><dc:creator><![CDATA[nathan.scofield]]></dc:creator><pubDate>Wed, 05 Mar 2025 12:06:16 GMT</pubDate></item><item><title><![CDATA[Matter writeAttribute Crashing]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.flic.io/uid/5282">@pico</a> The hub checks for updates automatically every 24 hours. Unfortunately there is no history on the device of updates. If there are new features for an update, we typically show those in the changelog of the Android/iOS app.</p>
]]></description><link>https://community.flic.io/topic/18535/matter-writeattribute-crashing</link><guid isPermaLink="true">https://community.flic.io/topic/18535/matter-writeattribute-crashing</guid><dc:creator><![CDATA[Emil]]></dc:creator><pubDate>Sat, 01 Mar 2025 05:42:10 GMT</pubDate></item><item><title><![CDATA[Flic Hub LR as MQTT Broker?]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.flic.io/uid/5282">@pico</a> right now that particular code only acts as a client.</p>
]]></description><link>https://community.flic.io/topic/18533/flic-hub-lr-as-mqtt-broker</link><guid isPermaLink="true">https://community.flic.io/topic/18533/flic-hub-lr-as-mqtt-broker</guid><dc:creator><![CDATA[Emil]]></dc:creator><pubDate>Thu, 20 Feb 2025 06:28:02 GMT</pubDate></item><item><title><![CDATA[Cross-Module Persistent Data Storage]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.flic.io/uid/57">@Emil</a> It would be awesome if you all could add a Global Datastore in the future! If you need any help testing, I would be happy to play with a beta version!</p>
<p dir="auto">The Govee lights I'm working with are an older model H7013 which are warm white dimmable string lights that support Wi-Fi and Bluetooth, but that means the integrations are pretty limited to IFTTT which can be slow, and I can't detect the current state. The LAN API is much faster and I can check the current state, which is great.</p>
<p dir="auto">I've looked into upgrading to newer Matter versions from Govee or anyone else but they are all more expensive than is worth it for me when what I have it working, and many newer models have more features/complexity than I really want (don't want RGB or anything, just want 2700K warm white and dimmable).</p>
]]></description><link>https://community.flic.io/topic/18531/cross-module-persistent-data-storage</link><guid isPermaLink="true">https://community.flic.io/topic/18531/cross-module-persistent-data-storage</guid><dc:creator><![CDATA[pico]]></dc:creator><pubDate>Fri, 14 Feb 2025 21:16:19 GMT</pubDate></item><item><title><![CDATA[Sleeping in FlicScript]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.flic.io/uid/57">@Emil</a> Thank you! This is exactly the confirmation I needed to get started with my project! It's so cool to be able to script Matter devices!</p>
]]></description><link>https://community.flic.io/topic/18529/sleeping-in-flicscript</link><guid isPermaLink="true">https://community.flic.io/topic/18529/sleeping-in-flicscript</guid><dc:creator><![CDATA[pico]]></dc:creator><pubDate>Wed, 12 Feb 2025 03:28:54 GMT</pubDate></item><item><title><![CDATA[FlicScript Matter Examples]]></title><description><![CDATA[<p dir="auto">PS. For anybody finding this in the future, I also tried setting the StartUpCurrentLevel attribute and that behaves the same as calling MoveToLevel with OptionsOverride set to 1 when the light is off, Matter honors it when turned back on, but Tapo does not.</p>
]]></description><link>https://community.flic.io/topic/18528/flicscript-matter-examples</link><guid isPermaLink="true">https://community.flic.io/topic/18528/flicscript-matter-examples</guid><dc:creator><![CDATA[pico]]></dc:creator><pubDate>Tue, 11 Feb 2025 17:10:50 GMT</pubDate></item><item><title><![CDATA[Flic Duo SDK Support]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.flic.io/uid/5018">@sgemmen</a> The hub firmware with Hub SDK support for Flic Duo is pushed out now (version 4.6.0). The documentation is not yet out but you can see an example event here that includes button number, orientation and gesture:</p>
buttonUp {"bdaddr":"90:88:a9:5b:10:62","wasQueued":false,"buttonNumber":1,"orientation":{"x":-1.530368,"y":0.109312,"z":1.952},"gesture":"right","age":0}

]]></description><link>https://community.flic.io/topic/18519/flic-duo-sdk-support</link><guid isPermaLink="true">https://community.flic.io/topic/18519/flic-duo-sdk-support</guid><dc:creator><![CDATA[Emil]]></dc:creator><pubDate>Tue, 28 Jan 2025 15:07:05 GMT</pubDate></item><item><title><![CDATA[a custom iOS app with a Flic Hub LR or Flic Hub Mini]]></title><description><![CDATA[<p dir="auto">I would like to know if it is possible to connect a custom iOS app with a Flic Hub LR or Flic Hub Mini, similar to the official Flic app, and pair buttons with the connected Hub. If this is possible, are there any example codes available?</p>
]]></description><link>https://community.flic.io/topic/18493/a-custom-ios-app-with-a-flic-hub-lr-or-flic-hub-mini</link><guid isPermaLink="true">https://community.flic.io/topic/18493/a-custom-ios-app-with-a-flic-hub-lr-or-flic-hub-mini</guid><dc:creator><![CDATA[leeshin1130]]></dc:creator><pubDate>Thu, 21 Nov 2024 01:40:53 GMT</pubDate></item><item><title><![CDATA[As of November 13, 2024, has the HubSDK for Flic Twist been released?]]></title><description><![CDATA[<p dir="auto">Maybe we need to create a kickstarter that pays for an extra “dedicated” staff member whose sole purpose is to solve this. I would pay money for that, if it meant i finally get to turn a massive button into something more. i am in no way a programmer, but i’m assuming that when a product is developed, wouldn’t its known features be made available in the sdk? especially when the “twist” feature is available for<br />
philips hue to utilise and some other companies. So clearly there is a way to access the “twist” feature.</p>
<p dir="auto">I understand that matter would change the focus of the company, maybe even cause a complete redesign of the ecosystem. The main reason i supported the twist was because how rock solid the flic’s are. I don’t think i have come across another smart home product that just works like the flics do.</p>
<p dir="auto">There is so much potential in opening up a product fully to the community that supports it financially. By doing so will literally make you more money. I know if i had the ability to use the twist, even at a basic level,<br />
(like to know if its turned left or right) i would be happy as.. i dont want the world, i just want to finally use the twist to its full potential.</p>
<p dir="auto">At the moment the twist is an expensive over sized car with no steering wheel that you can’t drive. Oh, wait, i can turn the headlights on and off, but go nowhere…. money well spent.</p>
<p dir="auto">i am sorry for sounding a tad passive aggressive to flic staff, but i’m just frustrated. There is clearly something more going on in the background that’s not being said.</p>
]]></description><link>https://community.flic.io/topic/18489/as-of-november-13-2024-has-the-hubsdk-for-flic-twist-been-released</link><guid isPermaLink="true">https://community.flic.io/topic/18489/as-of-november-13-2024-has-the-hubsdk-for-flic-twist-been-released</guid><dc:creator><![CDATA[jermainemadam]]></dc:creator><pubDate>Wed, 13 Nov 2024 07:10:50 GMT</pubDate></item><item><title><![CDATA[button name 23 characters]]></title><description><![CDATA[<p dir="auto">See <a href="https://community.flic.io/topic/18460/button-name-23-characters">https://community.flic.io/topic/18460/button-name-23-characters</a></p>
]]></description><link>https://community.flic.io/topic/18460/button-name-23-characters</link><guid isPermaLink="true">https://community.flic.io/topic/18460/button-name-23-characters</guid><dc:creator><![CDATA[Emil]]></dc:creator><pubDate>Sat, 22 Jun 2024 11:24:48 GMT</pubDate></item><item><title><![CDATA[iHost (SonOff) - Docker - Node Red]]></title><description><![CDATA[<p dir="auto">Wow 14 days go by with out a reply ?</p>
<p dir="auto">Is anyone out there ??</p>
]]></description><link>https://community.flic.io/topic/18447/ihost-sonoff-docker-node-red</link><guid isPermaLink="true">https://community.flic.io/topic/18447/ihost-sonoff-docker-node-red</guid><dc:creator><![CDATA[Y2K]]></dc:creator><pubDate>Sat, 11 May 2024 02:24:00 GMT</pubDate></item><item><title><![CDATA[HttpRequest suddenly not working]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.flic.io/uid/5100">@michael-4</a> Probably the response is too big to fit in the RAM memory given to your application. Do you know how big the response is?</p>
]]></description><link>https://community.flic.io/topic/18439/httprequest-suddenly-not-working</link><guid isPermaLink="true">https://community.flic.io/topic/18439/httprequest-suddenly-not-working</guid><dc:creator><![CDATA[Emil]]></dc:creator><pubDate>Tue, 30 Apr 2024 01:36:11 GMT</pubDate></item><item><title><![CDATA[Disable SSL Cert Validation]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.flic.io/uid/5055">@mark-gitsham</a> Currently that's not supported unfortunately. We have plans to add that option though.</p>
]]></description><link>https://community.flic.io/topic/18419/disable-ssl-cert-validation</link><guid isPermaLink="true">https://community.flic.io/topic/18419/disable-ssl-cert-validation</guid><dc:creator><![CDATA[Emil]]></dc:creator><pubDate>Fri, 16 Feb 2024 08:04:43 GMT</pubDate></item><item><title><![CDATA[Allow insecure TLS with the HTTP Module]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.flic.io/uid/57">@Emil</a> It might be kind of insecure, but with some devices the only API supported. I would like to make requests to a WiiM device. Their API only supports HTTPS with a self-signed certificate. <a href="https://www.wiimhome.com/pdf/HTTP%20API%20for%20WiiM%20Mini.pdf" rel="nofollow ugc">https://www.wiimhome.com/pdf/HTTP API for WiiM Mini.pdf</a></p>
<p dir="auto">The Flic Hub configured with the Flic App UI is unable to make requests too, even when I turn off the validation. Is there some way to debug the hub's requests? Requests with curl work ok:</p>
curl 'https://redacted.hostname.fi/httpapi.asp?command=setPlayerCmd:mute:0' --insecure -D - -vvv
*   Trying 10.0.0.39:443...
* Connected to redacted.hostname.fi (10.0.0.39) port 443
* ALPN: curl offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
* (304) (IN), TLS handshake, Server hello (2):
* (304) (IN), TLS handshake, Unknown (8):
* (304) (IN), TLS handshake, Request CERT (13):
* (304) (IN), TLS handshake, Certificate (11):
* (304) (IN), TLS handshake, CERT verify (15):
* (304) (IN), TLS handshake, Finished (20):
* (304) (OUT), TLS handshake, Certificate (11):
* (304) (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / AEAD-CHACHA20-POLY1305-SHA256
* ALPN: server did not agree on a protocol. Uses default.
* Server certificate:
*  subject: C=CN; ST=Shanghai; L=Shanghai; O=linkplay; OU=linkplay; CN=www.linkplay.com; emailAddress=mail@linkplay.com
*  start date: Nov 14 12:24:18 2018 GMT
*  expire date: Nov 11 12:24:18 2028 GMT
*  issuer: C=CN; ST=Shanghai; L=Shanghai; O=linkplay; OU=linkplay; CN=www.linkplay.com; emailAddress=mail@linkplay.com
*  SSL certificate verify result: self signed certificate (18), continuing anyway.
* using HTTP/1.x
&gt; GET /httpapi.asp?command=setPlayerCmd:mute:0 HTTP/1.1
&gt; Host: redacted.hostname.fi
&gt; User-Agent: curl/8.4.0
&gt; Accept: */*
&gt;
* HTTP 1.0, assume close after body
&lt; HTTP/1.0 200 OK
HTTP/1.0 200 OK
&lt; Date: Mon, 18 Mar 2024 19:29:14 GMT
Date: Mon, 18 Mar 2024 19:29:14 GMT
&lt; Server: Boa/0.94.13
Server: Boa/0.94.13
&lt; Connection: close
Connection: close
&lt; Content-Length: 2
Content-Length: 2
&lt; Last-Modified: Mon, 18 Mar 2024 19:29:14 GMT
Last-Modified: Mon, 18 Mar 2024 19:29:14 GMT
&lt; Content-Type: text/html
Content-Type: text/html

&lt;
* Closing connection
OK

<p dir="auto">Anyway, here's a use case to use https with no cert validation. 🕵♂</p>
]]></description><link>https://community.flic.io/topic/18418/allow-insecure-tls-with-the-http-module</link><guid isPermaLink="true">https://community.flic.io/topic/18418/allow-insecure-tls-with-the-http-module</guid><dc:creator><![CDATA[okko]]></dc:creator><pubDate>Fri, 16 Feb 2024 07:20:25 GMT</pubDate></item><item><title><![CDATA[Set LED color through SDK]]></title><description><![CDATA[<p dir="auto">How to set the button's LED color through the SDK? I cannot see any method for it the JS SDK documentation.</p>
]]></description><link>https://community.flic.io/topic/18380/set-led-color-through-sdk</link><guid isPermaLink="true">https://community.flic.io/topic/18380/set-led-color-through-sdk</guid><dc:creator><![CDATA[m.wade]]></dc:creator><pubDate>Wed, 13 Dec 2023 08:48:40 GMT</pubDate></item><item><title><![CDATA[Help Needed: Resolving 401 Error with HTTP Requests in Flic Hub SDK]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.flic.io/uid/4964">@flic-16</a> Can you try this base64 encode method instead:</p>
function base64Encode(str) {
    return Duktape.enc('base64', str);
}

]]></description><link>https://community.flic.io/topic/18375/help-needed-resolving-401-error-with-http-requests-in-flic-hub-sdk</link><guid isPermaLink="true">https://community.flic.io/topic/18375/help-needed-resolving-401-error-with-http-requests-in-flic-hub-sdk</guid><dc:creator><![CDATA[Emil]]></dc:creator><pubDate>Sat, 02 Dec 2023 18:12:50 GMT</pubDate></item><item><title><![CDATA[Yamaha MusicCast control with FlicTwist]]></title><description><![CDATA[<p dir="auto">The Flic Twist was delivered today and I tested it right away.<br />
The MusicCast volume control works perfectly with it.<br />
<a class="plugin-mentions-user plugin-mentions-a" href="https://community.flic.io/uid/2345">@rob.loosx</a> Thank you very much for the script 😉</p>
<p dir="auto">2.jpg</p>
]]></description><link>https://community.flic.io/topic/18374/yamaha-musiccast-control-with-flictwist</link><guid isPermaLink="true">https://community.flic.io/topic/18374/yamaha-musiccast-control-with-flictwist</guid><dc:creator><![CDATA[Wolf]]></dc:creator><pubDate>Sat, 02 Dec 2023 07:58:12 GMT</pubDate></item><item><title><![CDATA[Hub Mini without SDK - how to connect to Home Assistant?]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.flic.io/uid/4150">@abboberg</a> Thx, and I do know that and used it in the past. I guess I forgot about this one. So much for remembering things. Of course, this means I need to configure each and every butten separately by hand instead of using the SDK for the whole hub.</p>
<p dir="auto">Thx anyway!<br />
Joachim</p>
]]></description><link>https://community.flic.io/topic/18327/hub-mini-without-sdk-how-to-connect-to-home-assistant</link><guid isPermaLink="true">https://community.flic.io/topic/18327/hub-mini-without-sdk-how-to-connect-to-home-assistant</guid><dc:creator><![CDATA[flic r]]></dc:creator><pubDate>Wed, 18 Oct 2023 17:53:46 GMT</pubDate></item><item><title><![CDATA[Update SDK to use the FlicTwist ?]]></title><description><![CDATA[<p dir="auto">We have just announced a beta release of some new features that allows interaction with the Flic Twist: <a href="https://community.flic.io/topic/18536/new-flic-twist-features-for-the-hub-sdk">https://community.flic.io/topic/18536/new-flic-twist-features-for-the-hub-sdk</a>.</p>
]]></description><link>https://community.flic.io/topic/18319/update-sdk-to-use-the-flictwist</link><guid isPermaLink="true">https://community.flic.io/topic/18319/update-sdk-to-use-the-flictwist</guid><dc:creator><![CDATA[Emil]]></dc:creator><pubDate>Thu, 05 Oct 2023 15:42:59 GMT</pubDate></item></channel></rss>