@ryan_joyner you can create a new udp socket. Just remember to close the old one to avoid resource leaking. The osc module currently exposes no way to close the socket so you would have to add that.
Posts made by Emil
-
RE: Simple OSC Module Works...once
-
RE: Find My Phone does not work in background
@bukhalina The flic app asks for all the permissions that are required when the action is saved, as well is registered to start automatically upon boot. It might be that Xiaomi had added extra restrictions so that you must manually go into some menu to allow the app to run on boot or something. Exactly which permission did you enable to make it work in the background?
-
RE: Find My Phone does not work in background
@bukhalina What Android phone model do you have? Works perfectly fine for me on my Pixel 7 running Android 14.
-
RE: Simple OSC Module Works...once
@ryan_joyner Thank you for this bug report. We will investigate.
-
RE: hubsdk.flic.io is currently down
@szczepan-kuzniarz Thanks! The new ES version is more strict that "new" must be placed before a constructor. We have just released a new firmware update that is more relaxed regarding creations of new Sockets, as a workaround for users of that lib.
-
RE: hubsdk.flic.io is currently down
The website is up and running now. We have upgraded the js engine to a new modern one. If your previous code is not working, please share it.
-
RE: Flic API support for Twist
@sgemmen Yeah, it's still on the roadmap. But first we are prioritizing to finish the general available Matter release.
-
RE: How make flic button work stable 24/7
@dainova I would use a Google Pixel with "stock" Android instead of those asian brands which often like to introduce "power saving features" which kills apps every now and then, even though they are declared to stay alive by using a Foreground Service.
In any case, which action are you using and in what do you mean exactly with "more reliable"? Is something not working as expected, in that case, what exactly? Does the button stay connected to the phone (LED should flash green when you press it) or is it something wrong with the action you try to execute?
-
RE: Missing Permission on Samsung S10e Verizon
When you open up the app it should give you a popup or similar allowing you to enable the permission if not already enabled. Is this not working?
-
RE: Home Assistant & Twist - another angle
@joacim-n-linder The twist rotational functionality for lights controls lights of the following Matter device types:
Dimmable Light (0x0101),
Color Temperature Light (0x010C) or
Extended Color Light (0x010D)There is also something called "On/Off Light" (0x0100). These don't support dimming and hence cannot be controlled from Flic Twist (rotational feature). It appears from the comment below that HA Matter bridge plugin incorrectly puts 0x0100 as the device type for dimmable lights and hence the issue.
-
RE: Home Assistant & Twist - another angle
@mon-bosma you should contact the developer of that plugin to add support for dimmable lights. Seems like a very important missing feature.
-
RE: Home Assistant & Twist - another angle
@mon-bosma An "On/Off Light" (0x0100) only supports two physical levels of brightness: either 0% or 100%. From the Matter specification of this device type:
"For this device, since its only states are on or off, if the Level Control cluster is implemented, it SHALL not have any effect on the actual light level except for those commands that cause an on/off state change, that is, the “with on/off” commands."
You need to bridge your light as a Dimmable Light (0x0101), Color Temperature Light (0x010C) or Extended Color Light (0x010D) instead if you want the Level Control cluster to have an effect on the actual (physical) light level.
-
RE: Home Assistant & Twist - another angle
@mon-bosma in matter bridge plugin view, can you please tell me which device types you have on your devices? There seems to be a column for that.
-
RE: Home Assistant & Twist - another angle
@mon-bosma Exactly what light type(s) do you have, manufacturer and model? Note that there are both dimmable lights as well as non-dimmable lights (only on/off-lights) device types in the Matter standard.
-
RE: Home Assistant & Twist - another angle
@mon-bosma do you run iOS or Android? What app version do you have? You should see your lights.
-
RE: IDE Commands
We have a business solution that might have the functionality you are looking for: https://flic.io/business/device-manager.
-
RE: Tilde ~ and backslash \ keys?
@rccotnoir Not currently. We thought that would be confusing because these keys are very differently mapped depending on the keyboard layout and we don't know what keyboard layout the user has on the target device the flic is going to be used.
This is something we could consider though in the future but it would require the user to specify keyboard layout first.
-
RE: Brightness not working for Twist and Nanoleaf Skylight
@siobhanellis That is correct. You can see at https://flic.io/applications/ that "analog rotation" support for Nanoleaf is not available for Twist.
But the Push function for the Twist can be used to control Nanoleaf lights.
However, using the Advanced dimming option, you can setup the Push & Twist to a certain trigger point and have the push action to trigger a brightness level set for the Nanoleaf light.
Note that Nanoleaf devices that support Matter can be used with the rotation feature in our app though using the Matter functionality.
-
RE: Example code for IR signal?
@jakekapsandy here is an example:
var ir = require('ir'); var arr = [48256, 7029, 3405, 418, 445, 418, 445, 418, 445, 421, 445, 421, 448, 418, 445, 421, 445, 416, 445, 421, 445, 418, 445, 418, 445, 418, 445, 424, 1293, 418, 1296, 416, 448, 418, 445, 426, 445, 424, 1296, 421, 445, 416, 445, 421, 445, 424, 445, 418, 445, 421, 445, 418, 1293, 424, 445, 421, 1293, 416, 1293, 418, 1293, 424, 1293, 421, 1293, 418, 1293, 421, 34946, 7053, 1709, 421]; ir.play(new Uint32Array(arr), function(error) { console.log(error); });