@pico Currently we use this condition to determine "on wall":
x >= -0.19 && x <= 0.19 && y >= 0.93 && y <= 1.25 && z >= -0.19 && z <= 0.19
Employees at Shortcut Labs
@pico Currently we use this condition to determine "on wall":
x >= -0.19 && x <= 0.19 && y >= 0.93 && y <= 1.25 && z >= -0.19 && z <= 0.19
If you want to get the RSSI value on a connected button, we must send a HCI command to the Bluetooth controller and ask to get the latest value. Do you have a suggestion for how such an API should look like from the client side?
@soulbarn2 Only the Flic Hub LR can be added to Homekit as a bridge accessory, exposing its added Flics. In this case you should, in Homekit, press each Govee device and share it (by obtaining a Matter passkey), then enter this passkey into the Flic app while connected to the Flic Hub in the Matter provider. That will pair the Flic Hub with the Govee light, so you can control it from the Flic Hub. Repeat this process for each light. There is unfortunately no way to share groupings of devices across different Matter fabrics.
Another way would be to use e.g. the flic lib without using the hub to listen to events from button presses, and then generate and send the OSC messages yourself.
virtualDeviceUpdate event. If your goal is to be able to get twist updates for every Flic Duo you have, then you should create a virtual device per Flic Duo and assign each to a Rotate action for the corresponding Flic Duo.@mullz Right, I could reproduce this. I'll report internally and make sure it gets fixed in the next app version!
@mullz Now I get it. There is another bug in both the code from @oskaremilsson as well as the code from @jitmo. By using the .on method on the IR object, you add a new listener (i.e. append it to the list of listeners). You never remove the listeners, however. That's why all the registered listeners get called on every recordComplete event. You can for example use the .once method instead. Just remember to also manually remove the listener when you cancel the recording process using for example the .removeAllListeners method.
@mullz I couldn't reproduce the issue. Seems to work as intended for me with oskaremilsson's code.
One thing I noticed is that the conversion to string might not always work correctly the way the encoding is done. The string that is to be saved needs to be stored in proper UTF-16 format; now you could theoretically accidentally create invalid surrogate pairs.
@sam What do you mean with "I can't remove it"? If you press the item there should be a menu appearing where you can select "Delete".
@nathan-scofield If you press the item there should be the option to Delete it?