How do i put in a switch like the ikea on/off switch or a zigbee lightswitch?

Hello everyone,

I am quite new to Node-RED and i have been looking into this for way to long.

I have a Moes battery operated zigbee 4 way switch.
I can not for the life of me figure out how to set up the button presses in Node-RED.
I am simply looking for a note that detects a press of one of the buttons to output a signal.

The device does not have entities other than battery.
If i use the inbuild Automations from Home Assistant i can set up button press/double press etc.

Can anyone tell me how to replicate this in Node-RED?

Either you use the device node and select it there, or you trigger on the event.
It could be an ZHA event, Z2M event or Deconz event.
You can see the events in the events tool in developer tools.

1 Like

Thanks alot this solves my problem!