Capture switch click event in Node-red

Hi
I managed to do what i required by using the Xiaomi node in Node-red

node-red-contrib-mi-devices
This way i got status of the click event from the gateway itself

2 Likes