Advertisement
arkieguy

NR_Latch_Example

Mar 10th, 2020
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. [{"id":"d2c45a31.268fe8","type":"trigger","z":"5230c72.fadcf38","op1":"","op2":"off","op1type":"nul","op2type":"str","duration":"2","extend":true,"units":"min","reset":"","bytopic":"all","name":"No Current Use for 2 Minutes","x":2483,"y":467,"wires":[["133060e1.611abf"]]},{"id":"cda291e4.846e1","type":"mqtt in","z":"5230c72.fadcf38","name":"MQTT Power Reading","topic":"tele/moreteavicar/SENSOR","qos":"1","datatype":"auto","broker":"b34df980.bb4128","x":1978,"y":471,"wires":[["bf36a61d.279f08"]]},{"id":"bf36a61d.279f08","type":"json","z":"5230c72.fadcf38","name":"","property":"payload","action":"","pretty":false,"x":1990,"y":556,"wires":[["195ec087.4d6d5f"]]},{"id":"97cb7566.6d6b78","type":"switch","z":"5230c72.fadcf38","name":"Switch Status (On)","property":"payload.POWER","propertyType":"msg","rules":[{"t":"eq","v":"ON","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":2202.5,"y":385,"wires":[["d2c45a31.268fe8"]]},{"id":"195ec087.4d6d5f","type":"switch","z":"5230c72.fadcf38","name":"Current > 1 (In Use)","property":"payload.ENERGY.Current","propertyType":"msg","rules":[{"t":"gte","v":"2","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":2208.5,"y":558,"wires":[["d2c45a31.268fe8"]]},{"id":"133060e1.611abf","type":"http request","z":"5230c72.fadcf38","name":"Turn Off","method":"GET","ret":"txt","paytoqs":false,"url":"http://192.168.1.00/cm?cmnd=Power%20off","tls":"","proxy":"","authType":"","x":2702,"y":467,"wires":[[]]},{"id":"69ee94de.d43c5c","type":"mqtt in","z":"5230c72.fadcf38","name":"Power Turned On","topic":"tele/moreteavicar/POWER","qos":"1","datatype":"auto","broker":"b34df980.bb4128","x":1961,"y":317,"wires":[["c4f0b033.b7a79"]]},{"id":"c4f0b033.b7a79","type":"json","z":"5230c72.fadcf38","name":"","property":"payload","action":"","pretty":false,"x":1978,"y":385,"wires":[["97cb7566.6d6b78"]]},{"id":"b34df980.bb4128","type":"mqtt-broker","z":"","name":"","broker":"192.168.1.29","port":"1883","clientid":"","usetls":false,"compatmode":false,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthRetain":"false","birthPayload":"","closeTopic":"","closeQos":"0","closeRetain":"false","closePayload":"","willTopic":"","willQos":"0","willRetain":"false","willPayload":""}]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement