Skip to content

Instantly share code, notes, and snippets.

@MatsA
Last active October 18, 2020 06:39
Show Gist options
  • Save MatsA/525a8ee73258e140b47bdc0e3e960844 to your computer and use it in GitHub Desktop.
Save MatsA/525a8ee73258e140b47bdc0e3e960844 to your computer and use it in GitHub Desktop.
[{"id":"540d1e27.4b2ae","type":"signalk-subscribe","z":"84ac7b53.3bfa68","name":"port.exhaustTemperature ","flatten":true,"context":"vessels.self","path":"propulsion.port.exhaustTemperature","source":"signalk-node-red","period":1000,"x":170,"y":100,"wires":[["972d13ad.877cf"]]},{"id":"3c1f5d23.4842b2","type":"signalk-subscribe","z":"84ac7b53.3bfa68","name":"starboard.exhaustTemperature","flatten":true,"context":"vessels.self","path":"propulsion.starboard.exhaustTemperature","source":"signalk-node-red","period":1000,"x":190,"y":180,"wires":[["9eecfd70.d936b"]]},{"id":"972d13ad.877cf","type":"switch","z":"84ac7b53.3bfa68","name":"If over 300 Kelvin","property":"payload","propertyType":"msg","rules":[{"t":"gt","v":"300","vt":"str"},{"t":"lte","v":"300","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":430,"y":100,"wires":[["8014c150.fd873"],["53d36d2d.996844"]]},{"id":"8014c150.fd873","type":"signalk-send-notification","z":"84ac7b53.3bfa68","name":"send alarm","path":"ptExhaustTemp","state":"alarm","message":"The PORT exhaust temp is exceeded !!","visual":true,"sound":true,"x":630,"y":80,"wires":[]},{"id":"53d36d2d.996844","type":"signalk-send-notification","z":"84ac7b53.3bfa68","name":"clear alarm","path":"ptExhaustTemp","state":"normal","message":"The PORT exhaust temeperature is normal.","visual":true,"sound":true,"x":630,"y":140,"wires":[]},{"id":"9eecfd70.d936b","type":"switch","z":"84ac7b53.3bfa68","name":"If over 300 Kelvin","property":"payload","propertyType":"msg","rules":[{"t":"gt","v":"300","vt":"str"},{"t":"lte","v":"300","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":430,"y":180,"wires":[["8e2c3d78.f0bbc"],["d3d18f6e.78c3d"]]},{"id":"8e2c3d78.f0bbc","type":"signalk-send-notification","z":"84ac7b53.3bfa68","name":"send alarm","path":"sbExhaustTemp","state":"alarm","message":"The STARBOARD exhaust temp is exceeded !!","visual":true,"sound":true,"x":630,"y":200,"wires":[]},{"id":"d3d18f6e.78c3d","type":"signalk-send-notification","z":"84ac7b53.3bfa68","name":"clear alarm","path":"sbExhaustTemp","state":"normal","message":"The STARBOARD exhaust temeperature is normal.","visual":true,"sound":true,"x":630,"y":260,"wires":[]}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment