Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Node-RED push button message
[{"id":"c9dcfc2e.443d2","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"ee785b7c.381828","type":"ibmiot in","z":"c9dcfc2e.443d2","authentication":"boundService","apiKey":"","inputType":"evt","logicalInterface":"","ruleId":"","deviceId":"ESP32","applicationId":"","deviceType":"DevBoard","eventType":"sta","commandType":"","format":"json","name":"IBM IoT","service":"registered","allDevices":"","allApplications":"","allDeviceTypes":false,"allLogicalInterfaces":"","allEvents":true,"allCommands":"","allFormats":"","qos":0,"x":100,"y":180,"wires":[["6c1ca6a2.611eb8","d71d6abb.0979e8"]]},{"id":"ffad7349.104be","type":"e-mail","z":"c9dcfc2e.443d2","server":"smtp.gmail.com","port":"465","secure":true,"name":"nobody@gmail.com","dname":"","x":520,"y":240,"wires":[],"inputLabels":["IBM IoT"]},{"id":"6c1ca6a2.611eb8","type":"debug","z":"c9dcfc2e.443d2","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","x":530,"y":100,"wires":[]},{"id":"d71d6abb.0979e8","type":"change","z":"c9dcfc2e.443d2","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"Button Pressed Now","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":260,"y":260,"wires":[["ffad7349.104be","f8419f2b.4274d"]]},{"id":"f8419f2b.4274d","type":"pushover","z":"c9dcfc2e.443d2","name":"Pushover","device":"","title":"IBM IoT Alert","priority":0,"sound":"pushover","url":"","url_title":"","html":false,"x":480,"y":360,"wires":[]}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.