bwade913 Posted March 11, 2023 Posted March 11, 2023 I have a four button Yolink remote that I use to control eight different devices/scenes using short/long key presses to run different toggle programs. Today, I modified my programs to use the new Control mode with Don/Doff commands. It was a bit confusing at first but I got it to work, so I thought I'd document it for others that might want to try it. In my example, I'm using a short key press on button three to toggle a lamp in my AV room, and a long key press to toggle a ceiling light. I set button three of the Yolink remote to send Don for a short key press, and Doff for a long key press: I have master/slave programs to run the toggle programs based on the key presses. AV Lamp master is actuated by a short key press: The master program calls the slave program: Ceiling light master program is actuated by a long key press: The master program calls the slave program:
bwade913 Posted March 11, 2023 Author Posted March 11, 2023 (edited) Unfortunately, this toggle program isn't working as well as I thought. The Yolink remote seems to be resending the command, causing the toggle to flip back to the original state. This happens at varying intervals from a few seconds up to a minute. So, it is still possible to assign two functions to one button, but a toggle function was a poor choice for an example. A better example would be choosing between two AV configurations with one button. A short press choosing one setup program, and a long press choosing another. Edited March 11, 2023 by bwade913
bwade913 Posted March 20, 2023 Author Posted March 20, 2023 The Yolink NS v8.88 has been released containing a fix for the multiple command send issue which prevented Yolink remote buttons from being used to trigger toggle programs. Thanks @panda88! With the fix I'm able to successfully control eight toggle programs with a four button Yolink remote using either short or long key presses. It's similar to my first post in this thread except for these changes: 1. I configure each Yolink remote button to have a short key press send a DON, and a long key press send a DFON. 2. For the programs, I use control rather than status, I have the short press toggle program trigger on ON, and the long press toggle program trigger on Fast ON. So far it seems to work very reliably.
Recommended Posts