Ikea Remote N2 dimming in DzVents
Posted: Saturday 14 December 2024 22:49
Hi,
I have the 4 button Ikea N2 remote. I want to use this to control non-Ikea bulbs, using DzVents. This remote sends 12 messages, depending on the time you push a button. Each button can send 3 messages. For example the Dim button sends V5 when pressed shortly, V4 when you hold the button and V6 when you stop holding the button (only after V4, not after V5). Switching on and off is no problem using V5 and the toggleSwitch() function, but I can't figure out how to create a dim function. The problem is that the remote only sends out one V4 message when the button is pressed. If it would be sending V4 messages as long at the button was pressed it would be easy making the dim function. With only one V4 message you will have to do some loop until V6 is send. Is there a way to build this kind of loop in DzVents?
Peter
I have the 4 button Ikea N2 remote. I want to use this to control non-Ikea bulbs, using DzVents. This remote sends 12 messages, depending on the time you push a button. Each button can send 3 messages. For example the Dim button sends V5 when pressed shortly, V4 when you hold the button and V6 when you stop holding the button (only after V4, not after V5). Switching on and off is no problem using V5 and the toggleSwitch() function, but I can't figure out how to create a dim function. The problem is that the remote only sends out one V4 message when the button is pressed. If it would be sending V4 messages as long at the button was pressed it would be easy making the dim function. With only one V4 message you will have to do some loop until V6 is send. Is there a way to build this kind of loop in DzVents?
Peter