Nefit-easy-example

This flow gives an example of the use of the https://flows.nodered.org/node/node-red-contrib-nefit-easy and output to some dashboard nodes.

[{"id":"8bfa429c.50fdb","type":"inject","z":"3dc32577.017e4a","name":"","topic":"","payload":"","payloadType":"date","repeat":"300","crontab":"","once":true,"x":166,"y":208,"wires":[["78d43a98.f7f6a4"]]},{"id":"ee80234c.7314e","type":"json","z":"3dc32577.017e4a","name":"json","pretty":false,"x":674,"y":208,"wires":[["8c7e2867.856218"]]},{"id":"67c3fc0b.b55f14","type":"debug","z":"3dc32577.017e4a","name":"json","active":true,"console":"false","complete":"payload","x":706,"y":544,"wires":[]},{"id":"22f88d18.ca2ff2","type":"debug","z":"3dc32577.017e4a","name":"split","active":true,"console":"false","complete":"payload","x":866,"y":544,"wires":[]},{"id":"8c7e2867.856218","type":"split","z":"3dc32577.017e4a","name":"","splt":",","spltType":"str","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"","x":802,"y":208,"wires":[["eaf6c703.aa56f8"]]},{"id":"eaf6c703.aa56f8","type":"switch","z":"3dc32577.017e4a","name":"","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"{\"user mode\":","vt":"str"},{"t":"cont","v":"\"clock program\":","vt":"str"},{"t":"cont","v":"\"in house status\":","vt":"str"},{"t":"cont","v":"\"in house temp\":","vt":"str"},{"t":"cont","v":"\"hot water active\":","vt":"str"},{"t":"cont","v":"\"boiler indicator\":","vt":"str"},{"t":"cont","v":"\"control\":","vt":"str"},{"t":"cont","v":"\"holiday mode\":","vt":"str"},{"t":"cont","v":"\"temp setpoint\":","vt":"str"},{"t":"cont","v":"\"outdoor temp\":","vt":"str"}],"checkall":"true","outputs":10,"x":946,"y":208,"wires":[["4ad8a0d5.d6f9f"],["13be6ba4.1c8064"],["f0b502e2.04b32"],["fc53f4d5.be2b18"],["548a0de7.804ed4"],["e3126eb9.0f876"],["d6b620e6.a3373"],["2b06f578.cee4da"],["12409df7.d4b9e2"],["ebd7c9e1.4cf858"]]},{"id":"4ad8a0d5.d6f9f","type":"string","z":"3dc32577.017e4a","name":"","methods":[{"name":"strip","params":[{"type":"str","value":"\""}]},{"name":"strip","params":[{"type":"str","value":"{"}]},{"name":"strip","params":[{"type":"str","value":"user mode:"}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":1138,"y":64,"wires":[["100ba1ed.7e95ee"]]},{"id":"100ba1ed.7e95ee","type":"ui_text","z":"3dc32577.017e4a","group":"b11a6028.c21d8","order":2,"width":"3","height":"2","name":"userMode","label":"User Mode","format":"{{msg.payload}}","layout":"col-center","x":1276,"y":64,"wires":[]},{"id":"13be6ba4.1c8064","type":"string","z":"3dc32577.017e4a","name":"","methods":[{"name":"strip","params":[{"type":"str","value":"\""}]},{"name":"strip","params":[{"type":"str","value":"clock program:"}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":1138,"y":96,"wires":[["d51ef09a.f585"]]},{"id":"d51ef09a.f585","type":"ui_text","z":"3dc32577.017e4a","group":"b11a6028.c21d8","order":3,"width":"3","height":"2","name":"programMode","label":"Program","format":"{{msg.payload}}","layout":"col-center","x":1296,"y":96,"wires":[]},{"id":"f0b502e2.04b32","type":"string","z":"3dc32577.017e4a","name":"","methods":[{"name":"strip","params":[{"type":"str","value":"\""}]},{"name":"strip","params":[{"type":"str","value":"in house status:"}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":1138,"y":128,"wires":[["cb442964.eb8dd8"]]},{"id":"cb442964.eb8dd8","type":"ui_text","z":"3dc32577.017e4a","group":"b11a6028.c21d8","order":4,"width":"3","height":"2","name":"inHouseStatus","label":"In House Stat","format":"{{msg.payload}}","layout":"col-center","x":1296,"y":128,"wires":[]},{"id":"fc53f4d5.be2b18","type":"string","z":"3dc32577.017e4a","name":"","methods":[{"name":"strip","params":[{"type":"str","value":"\""}]},{"name":"strip","params":[{"type":"str","value":"in house temp:"}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":1138,"y":160,"wires":[["444d51eb.038cd"]]},{"id":"444d51eb.038cd","type":"ui_gauge","z":"3dc32577.017e4a","name":"tempIn","group":"b11a6028.c21d8","order":12,"width":"5","height":"4","gtype":"gage","title":"Temp In","label":" °C","format":"{{value}}","min":"10","max":"25","colors":["#ff8000","#008000","#ca3838"],"seg1":"18.5","seg2":"22.5","x":1266,"y":160,"wires":[]},{"id":"548a0de7.804ed4","type":"string","z":"3dc32577.017e4a","name":"","methods":[{"name":"strip","params":[{"type":"str","value":"\""}]},{"name":"strip","params":[{"type":"str","value":"hot water active:"}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":1138,"y":192,"wires":[["5869a91d.400948"]]},{"id":"5869a91d.400948","type":"ui_text","z":"3dc32577.017e4a","group":"b11a6028.c21d8","order":5,"width":"3","height":"2","name":"hotWaterActive","label":"Hot Water Active","format":"{{msg.payload}}","layout":"col-center","x":1296,"y":192,"wires":[]},{"id":"e3126eb9.0f876","type":"string","z":"3dc32577.017e4a","name":"","methods":[{"name":"strip","params":[{"type":"str","value":"\""}]},{"name":"strip","params":[{"type":"str","value":"boiler indicator:"}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":1138,"y":224,"wires":[["10284508.a6da5b"]]},{"id":"10284508.a6da5b","type":"ui_text","z":"3dc32577.017e4a","group":"b11a6028.c21d8","order":6,"width":"3","height":"2","name":"boilerIndicator","label":"Boiler Indicator","format":"{{msg.payload}}","layout":"col-center","x":1296,"y":224,"wires":[]},{"id":"78d43a98.f7f6a4","type":"ui_button","z":"3dc32577.017e4a","name":"getValues","group":"b11a6028.c21d8","order":1,"width":"1","height":"2","passthru":true,"label":"Get","color":"White","bgcolor":"Green","icon":"","payload":"","payloadType":"str","topic":"","x":172,"y":400,"wires":[["a0566c47.ec843","d5638ce1.87918","32e12455.9af1fc","39e4a5ae.87e67a"]]},{"id":"d6b620e6.a3373","type":"string","z":"3dc32577.017e4a","name":"","methods":[{"name":"strip","params":[{"type":"str","value":"\""}]},{"name":"strip","params":[{"type":"str","value":"control:"}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":1138,"y":256,"wires":[["e1a88901.6793d8"]]},{"id":"e1a88901.6793d8","type":"ui_text","z":"3dc32577.017e4a","group":"b11a6028.c21d8","order":7,"width":"3","height":"2","name":"control","label":"Control","format":"{{msg.payload}}","layout":"col-center","x":1266,"y":256,"wires":[]},{"id":"2b06f578.cee4da","type":"string","z":"3dc32577.017e4a","name":"","methods":[{"name":"strip","params":[{"type":"str","value":"\""}]},{"name":"strip","params":[{"type":"str","value":"holiday mode:"}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":1138,"y":288,"wires":[["3743f74b.8aaa28"]]},{"id":"3743f74b.8aaa28","type":"ui_text","z":"3dc32577.017e4a","group":"b11a6028.c21d8","order":8,"width":"3","height":"2","name":"holidayMode","label":"Holiday Mode","format":"{{msg.payload}}","layout":"col-center","x":1286,"y":288,"wires":[]},{"id":"12409df7.d4b9e2","type":"string","z":"3dc32577.017e4a","name":"","methods":[{"name":"strip","params":[{"type":"str","value":"\""}]},{"name":"strip","params":[{"type":"str","value":"temp setpoint:"}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":1138,"y":320,"wires":[["2c0a709c.5f36f"]]},{"id":"2c0a709c.5f36f","type":"ui_gauge","z":"3dc32577.017e4a","name":"tempSet","group":"b11a6028.c21d8","order":13,"width":"5","height":"4","gtype":"gage","title":"Temp Setpoint","label":" °C","format":"{{value}}","min":"10","max":"25","colors":["#ff8000","#008000","#ca3838"],"seg1":"18.5","seg2":"22.5","x":1276,"y":320,"wires":[]},{"id":"ebd7c9e1.4cf858","type":"string","z":"3dc32577.017e4a","name":"","methods":[{"name":"strip","params":[{"type":"str","value":"\""}]},{"name":"strip","params":[{"type":"str","value":"outdoor temp:"}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":1138,"y":352,"wires":[["c6d6dbfc.efe498"]]},{"id":"c6d6dbfc.efe498","type":"ui_gauge","z":"3dc32577.017e4a","name":"outsideTemp","group":"b11a6028.c21d8","order":11,"width":"5","height":"4","gtype":"gage","title":"Outside Temp","label":" °C","format":"{{value}}","min":"-20","max":"45","colors":["#ff8000","#008000","#ca3838"],"seg1":"8","seg2":"28","x":1286,"y":352,"wires":[]},{"id":"6ed6428f.9715ac","type":"json","z":"3dc32577.017e4a","name":"json","pretty":false,"x":754,"y":400,"wires":[["b92192f2.0253d"]]},{"id":"a0566c47.ec843","type":"delay","z":"3dc32577.017e4a","name":"del4sec","pauseType":"delay","timeout":"4","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":428,"y":400,"wires":[["eb6761e1.8694d"]]},{"id":"b92192f2.0253d","type":"split","z":"3dc32577.017e4a","name":"","splt":",","spltType":"str","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"","x":882,"y":400,"wires":[["ec45a76f.9ddb98"]]},{"id":"ec45a76f.9ddb98","type":"switch","z":"3dc32577.017e4a","name":"","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"{\"pressure\":","vt":"str"}],"checkall":"true","outputs":1,"x":1010,"y":400,"wires":[["5e5aad6c.0203a4"]]},{"id":"5e5aad6c.0203a4","type":"string","z":"3dc32577.017e4a","name":"","methods":[{"name":"strip","params":[{"type":"str","value":"\""}]},{"name":"strip","params":[{"type":"str","value":"{"}]},{"name":"strip","params":[{"type":"str","value":"pressure:"}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":1138,"y":400,"wires":[["3a6d0871.7e5988"]]},{"id":"3a6d0871.7e5988","type":"ui_gauge","z":"3dc32577.017e4a","name":"pressure","group":"b11a6028.c21d8","order":15,"width":"5","height":"4","gtype":"gage","title":"Pressure","label":" °C","format":"{{value}}","min":"0","max":"2.5","colors":["#ff8000","#008000","#ca3838"],"seg1":"1","seg2":"2","x":1276,"y":400,"wires":[]},{"id":"d5638ce1.87918","type":"delay","z":"3dc32577.017e4a","name":"del8sec","pauseType":"delay","timeout":"8","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":428,"y":480,"wires":[["906910aa.8503a"]]},{"id":"32e12455.9af1fc","type":"delay","z":"3dc32577.017e4a","name":"del12sec","pauseType":"delay","timeout":"12","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":428,"y":608,"wires":[["3c6987f7.a7fd98"]]},{"id":"35952744.94c648","type":"json","z":"3dc32577.017e4a","name":"json","pretty":false,"x":754,"y":608,"wires":[["ab2a43c7.f33fb"]]},{"id":"ab2a43c7.f33fb","type":"split","z":"3dc32577.017e4a","name":"","splt":",","spltType":"str","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"","x":882,"y":608,"wires":[["363011f.9cbfbee"]]},{"id":"363011f.9cbfbee","type":"switch","z":"3dc32577.017e4a","name":"","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"{\"temperature\":","vt":"str"}],"checkall":"true","outputs":1,"x":1010,"y":608,"wires":[["43bdd027.b52e1"]]},{"id":"43bdd027.b52e1","type":"string","z":"3dc32577.017e4a","name":"","methods":[{"name":"strip","params":[{"type":"str","value":"\""}]},{"name":"strip","params":[{"type":"str","value":"{"}]},{"name":"strip","params":[{"type":"str","value":"temperature:"}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":1138,"y":608,"wires":[["55a5dbed.6460f4"]]},{"id":"55a5dbed.6460f4","type":"ui_gauge","z":"3dc32577.017e4a","name":"flowTemp","group":"b11a6028.c21d8","order":14,"width":"5","height":"4","gtype":"gage","title":"Flow Temp","label":" °C","format":"{{value}}","min":"10","max":"65","colors":["#ff8000","#008000","#ca3838"],"seg1":"15","seg2":"55","x":1276,"y":608,"wires":[]},{"id":"a0766e93.b1586","type":"json","z":"3dc32577.017e4a","name":"json","pretty":false,"x":754,"y":480,"wires":[["67c3fc0b.b55f14","fccdc610.5e50e8"]]},{"id":"fccdc610.5e50e8","type":"split","z":"3dc32577.017e4a","name":"","splt":",","spltType":"str","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"","x":882,"y":480,"wires":[["22f88d18.ca2ff2","414a1e3b.3fe77"]]},{"id":"414a1e3b.3fe77","type":"switch","z":"3dc32577.017e4a","name":"","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"{\"code\":","vt":"str"},{"t":"cont","v":"\"cause\":","vt":"str"},{"t":"cont","v":"\"description\":","vt":"str"}],"checkall":"true","outputs":3,"x":1010,"y":480,"wires":[["93b51c68.e6347"],["5d700fa6.41b1e"],["2d2cee63.a94de2"]]},{"id":"93b51c68.e6347","type":"string","z":"3dc32577.017e4a","name":"","methods":[{"name":"strip","params":[{"type":"str","value":"\""}]},{"name":"strip","params":[{"type":"str","value":"{"}]},{"name":"strip","params":[{"type":"str","value":"code:"}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":1138,"y":448,"wires":[["411b8be6.5542d4"]]},{"id":"411b8be6.5542d4","type":"ui_text","z":"3dc32577.017e4a","group":"b11a6028.c21d8","order":9,"width":"3","height":"1","name":"code","label":"Code","format":"{{msg.payload}}","layout":"col-center","x":1266,"y":448,"wires":[]},{"id":"5d700fa6.41b1e","type":"string","z":"3dc32577.017e4a","name":"","methods":[{"name":"strip","params":[{"type":"str","value":"\""}]},{"name":"strip","params":[{"type":"str","value":"cause:"}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":1138,"y":480,"wires":[["ce3b409c.84cc7"]]},{"id":"ce3b409c.84cc7","type":"ui_text","z":"3dc32577.017e4a","group":"b11a6028.c21d8","order":10,"width":"3","height":"1","name":"cause","label":"Cause","format":"{{msg.payload}}","layout":"col-center","x":1266,"y":480,"wires":[]},{"id":"2d2cee63.a94de2","type":"string","z":"3dc32577.017e4a","name":"","methods":[{"name":"strip","params":[{"type":"str","value":"\""}]},{"name":"strip","params":[{"type":"str","value":"description:"}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":1138,"y":512,"wires":[["96dda464.871428"]]},{"id":"96dda464.871428","type":"ui_text","z":"3dc32577.017e4a","group":"b11a6028.c21d8","order":16,"width":"25","height":"3","name":"description","label":"Description","format":"{{msg.payload}}","layout":"row-left","x":1286,"y":512,"wires":[]},{"id":"39e4a5ae.87e67a","type":"nefit-easy","z":"3dc32577.017e4a","easyconfig":"","name":"","topic":"nefit-easy","command":"","x":540,"y":208,"wires":[["ee80234c.7314e"]]},{"id":"eb6761e1.8694d","type":"nefit-easy","z":"3dc32577.017e4a","easyconfig":"","name":"","topic":"nefit-easy","command":"","x":588,"y":400,"wires":[["6ed6428f.9715ac"]]},{"id":"906910aa.8503a","type":"nefit-easy","z":"3dc32577.017e4a","easyconfig":"","name":"","topic":"nefit-easy","command":"","x":588,"y":480,"wires":[["a0766e93.b1586"]]},{"id":"3c6987f7.a7fd98","type":"nefit-easy","z":"3dc32577.017e4a","easyconfig":"","name":"","topic":"nefit-easy","command":"","x":588,"y":608,"wires":[["35952744.94c648","ed318493.11a318"]]},{"id":"ed318493.11a318","type":"debug","z":"3dc32577.017e4a","name":"debug all","active":false,"console":"false","complete":"payload","x":732,"y":688,"wires":[]},{"id":"710b69a1.f130e8","type":"debug","z":"3dc32577.017e4a","name":"1","active":true,"console":"false","complete":"payload","x":994,"y":784,"wires":[]},{"id":"4e9f540c.ee61cc","type":"debug","z":"3dc32577.017e4a","name":"2","active":true,"console":"false","complete":"payload","x":1218,"y":784,"wires":[]},{"id":"b11a6028.c21d8","type":"ui_group","z":"","name":"Easy","tab":"8f3ce2a0.39306","disp":true,"width":"25"},{"id":"8f3ce2a0.39306","type":"ui_tab","z":"","name":"Nefit","icon":"dashboard"}]
wccandm

Flow Info

created 2 weeks, 4 days ago

Node Types

Core
  • debug (x5)
  • delay (x3)
  • inject (x1)
  • json (x4)
  • switch (x4)
Other
  • nefit-easy (x4)
  • split (x4)
  • string (x15)
  • ui_button (x1)
  • ui_gauge (x5)
  • ui_group (x1)
  • ui_tab (x1)
  • ui_text (x10)

Tags

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