Setting Node(Pushover) property with dashboard switch


I would like to a use a dashboard switch to set the priority property(msg.priority) of the pushover node. I would like some design guidance please, this is what i'm thinking.

Declare flow/global variable (sensorx_mp)
Use dashboard switch to set sensorx_mp to (1/0)
Then use a function to build a message object/or use change node to set the msg.payload and msg.priority properties.

Advice greatly appreciated :slight_smile:


This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.