Hello Team,
I am a new user of Node-red and would like to use it in conjunction with my envisalink (DSC) board.
On of my starting point is to create a function with different options depending of the current output.
More precisely, I am getting the following screen output:
zone event : msg.payload : Object
{ zone: 1, code: “610”, status: “Zone Restored” }
and I would like to have a function to test according to the previous zone/code/status
What should I use for example for the first output ? Which syntax ?
I used :
but i doesn’t work …again I am a real beginner
Regards