password payload

enter a password to send a payload...

[{"id":"c46df1f3.5f94e","type":"ui_text_input","z":"6375e38e.4ef14c","name":"","label":"Update Password","group":"d8e69abb.fdd8d8","order":6,"width":"3","height":"1","passthru":true,"mode":"password","delay":"0","topic":"","x":114.99999618530273,"y":1904.5000076293945,"wires":[["a43efc08.5d8ed"]]},{"id":"69637f87.8a3e2","type":"change","z":"6375e38e.4ef14c","name":"D-PPW-E","rules":[{"t":"set","p":"payload","pt":"msg","to":"","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":118.00003433227539,"y":1940.000054359436,"wires":[["c46df1f3.5f94e","6f966bad.4ab084"]]},{"id":"b53f490d.029588","type":"delay","z":"6375e38e.4ef14c","name":"","pauseType":"delay","timeout":"4","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":225.0000343322754,"y":1976.5000562667847,"wires":[["69637f87.8a3e2"]]},{"id":"a43efc08.5d8ed","type":"switch","z":"6375e38e.4ef14c","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"enter-password-here","vt":"str"},{"t":"else"}],"checkall":"true","outputs":2,"x":274.0000190734863,"y":1903.5000114440918,"wires":[["fe5c201c.01c9a"],["bebc654b.30a8f8"]]},{"id":"fe5c201c.01c9a","type":"change","z":"6375e38e.4ef14c","name":"C-PPW","rules":[{"t":"set","p":"payload","pt":"msg","to":"PASSWORD CORRECT","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":402.00000381469727,"y":1885.5000104904175,"wires":[["b53f490d.029588","894fc36f.2f3d4","836a361e.d91da8"]]},{"id":"bebc654b.30a8f8","type":"change","z":"6375e38e.4ef14c","name":"I-PPW","rules":[{"t":"set","p":"payload","pt":"msg","to":"INVALID PASSWORD","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":396.00000381469727,"y":1920.0000133514404,"wires":[["d630d75c.955d48","ef9fa4d4.619ab8"]]},{"id":"d630d75c.955d48","type":"delay","z":"6375e38e.4ef14c","name":"","pauseType":"delay","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":412.0000190734863,"y":1962.5000553131104,"wires":[["69637f87.8a3e2"]]},{"id":"836a361e.d91da8","type":"change","z":"6375e38e.4ef14c","name":"output payload","rules":[{"t":"set","p":"payload","pt":"msg","to":"","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":548,"y":1841.5,"wires":[[]]},{"id":"894fc36f.2f3d4","type":"template","z":"6375e38e.4ef14c","name":"cng font color","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<font color=\"green\">{{payload}}</font-color>","x":571.0000114440918,"y":1882.5000371932983,"wires":[["c6883b6f.c17db8"]]},{"id":"ef9fa4d4.619ab8","type":"template","z":"6375e38e.4ef14c","name":"cng font color","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<font color=\"red\">{{payload}}</font-color>","x":573.0000114440918,"y":1916.500039100647,"wires":[["c6883b6f.c17db8"]]},{"id":"6f966bad.4ab084","type":"change","z":"6375e38e.4ef14c","name":"E-PPW","rules":[{"t":"set","p":"payload","pt":"msg","to":"ENTER PASSWORD","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":597.0000267028809,"y":1950.0000524520874,"wires":[["c6883b6f.c17db8"]]},{"id":"c6883b6f.c17db8","type":"ui_text","z":"6375e38e.4ef14c","group":"d8e69abb.fdd8d8","order":7,"width":"3","height":"1","name":"chk password","label":"","format":"{{msg.payload}}","layout":"row-spread","x":817.0000152587891,"y":1880.0000381469727,"wires":[]},{"id":"d8e69abb.fdd8d8","type":"ui_group","z":"","name":"PROJECTOR SCREEN INFO","tab":"1eea47fd.237178","order":4,"disp":true,"width":"6"},{"id":"1eea47fd.237178","type":"ui_tab","z":"","name":"Advance Info","icon":"dashboard","order":5}]
cobra85ec

Flow Info

created 1 month ago

Node Types

Core
  • change (x5)
  • delay (x2)
  • switch (x1)
  • template (x2)
Other
  • ui_group (x1)
  • ui_tab (x1)
  • ui_text (x1)
  • ui_text_input (x1)

Tags

  • password
Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option