How do I add payload after payload?

Good morning all,
How could I keep track of how many kW from the 'Shore Power' and from the 'Generator' were generated since the flow started on the following flow....... yes... off course.... this is my first time on this software.....

[{"id":"bed54a86.e409e8","type":"tab","label":"AC Inputs","disabled":false,"info":""},{"id":"ba984a01.c1aa38","type":"ui_chart","z":"bed54a86.e409e8","name":"","group":"3fc6eb51.f963c4","order":1,"width":10,"height":6,"label":"Shore Amp","chartType":"line","legend":"false","xformat":"auto","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"100","removeOlder":"10","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#0080ff","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#ff0000","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"outputs":1,"x":670,"y":120,"wires":[[]]},{"id":"e814cc85.c3429","type":"inject","z":"bed54a86.e409e8","name":"Shore Power","topic":"shore","payload":"true","payloadType":"bool","repeat":"5","crontab":"","once":false,"onceDelay":0.1,"x":120,"y":100,"wires":[["80297fb4.cfb5e","6b324917.7f8fd8"]]},{"id":"586e7f8a.5c3e2","type":"debug","z":"bed54a86.e409e8","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":660,"y":220,"wires":[]},{"id":"26c4818f.c3578e","type":"ui_chart","z":"bed54a86.e409e8","name":"Generator Amp","group":"3fc6eb51.f963c4","order":2,"width":10,"height":6,"label":"Generator Amps","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"wait for it....","dot":false,"ymin":"0","ymax":"100","removeOlder":"10","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"colors":["#ffff00","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#ff0000","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"outputs":1,"x":680,"y":360,"wires":[[]]},{"id":"cec299d3.10b8a8","type":"inject","z":"bed54a86.e409e8","name":"Generator P","topic":"Generator","payload":"","payloadType":"num","repeat":"5","crontab":"","once":false,"onceDelay":0.1,"x":110,"y":320,"wires":[["4daaf3c1.daf11c","9f9774b2.a14768"]]},{"id":"a4bb74d6.c4fea8","type":"debug","z":"bed54a86.e409e8","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":640,"y":440,"wires":[]},{"id":"e86826a4.695ef8","type":"ui_chart","z":"bed54a86.e409e8","name":"","group":"746c664b.5bc378","order":1,"width":10,"height":6,"label":"Shore Volt","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"250","removeOlder":"10","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#0080ff","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"outputs":1,"x":660,"y":160,"wires":[[]]},{"id":"69c189b8.53e628","type":"ui_chart","z":"bed54a86.e409e8","name":"Generator Volt","group":"746c664b.5bc378","order":2,"width":10,"height":6,"label":"Generator Volts","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"wait for it....","dot":false,"ymin":"0","ymax":"250","removeOlder":"10","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"colors":["#ffff00","#aec7e8","#ff7f0e","#ffff00","#98df8a","#d62728","#ffff00","#9467bd","#c5b0d5"],"useOldStyle":false,"outputs":1,"x":680,"y":400,"wires":[[]]},{"id":"d940700.f4f499","type":"function","z":"bed54a86.e409e8","name":"reset","func":"msg.payload =  [];\nreturn msg;\n","outputs":1,"noerr":0,"x":330,"y":200,"wires":[["e86826a4.695ef8","ba984a01.c1aa38"]]},{"id":"7f99bc73.97d794","type":"ui_button","z":"bed54a86.e409e8","name":"","group":"f63a9eca.ecd8d","order":11,"width":1,"height":1,"passthru":false,"label":"","tooltip":"","color":"red","bgcolor":"","icon":"fa-heartbeat","payload":"true","payloadType":"bool","topic":"","x":110,"y":200,"wires":[["d940700.f4f499"]],"info":"msg.payload =  [];\r\nreturn msg;"},{"id":"1615d235.16d66e","type":"ui_button","z":"bed54a86.e409e8","name":"","group":"f63a9eca.ecd8d","order":4,"width":1,"height":1,"passthru":false,"label":"","tooltip":"","color":"red","bgcolor":"","icon":"fa-heartbeat","payload":"true","payloadType":"bool","topic":"","x":110,"y":440,"wires":[["1f04a4c1.43ee4b"]],"info":"msg.payload =  [];\r\nreturn msg;"},{"id":"1f04a4c1.43ee4b","type":"function","z":"bed54a86.e409e8","name":"reset","func":"msg.payload =  [];\nreturn msg;\n","outputs":1,"noerr":0,"x":330,"y":440,"wires":[["69c189b8.53e628","26c4818f.c3578e"]]},{"id":"aa52f0ba.b6384","type":"debug","z":"bed54a86.e409e8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":1030,"y":160,"wires":[]},{"id":"13085e6b.f2d5e2","type":"debug","z":"bed54a86.e409e8","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":850,"y":160,"wires":[]},{"id":"24d64d3b.f4a832","type":"join","z":"bed54a86.e409e8","name":"","mode":"custom","build":"object","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":false,"timeout":"","count":"2","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":810,"y":80,"wires":[["49b4bcfd.8bb3d4","13085e6b.f2d5e2"]]},{"id":"49b4bcfd.8bb3d4","type":"change","z":"bed54a86.e409e8","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.Amps*payload.Volt","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":1020,"y":80,"wires":[["aa52f0ba.b6384","103b3e62.f6e522"]]},{"id":"cdc1cb11.594c08","type":"random","z":"bed54a86.e409e8","name":"Volt","low":"195","high":"240","inte":"true","property":"payload","x":410,"y":120,"wires":[["e86826a4.695ef8","24d64d3b.f4a832"]],"info":"var msg =  {};\nvar msg1 = {};\n\n\nmsg.payload = Math.round(Math.random()*100);\nmsg.topic = 'line1';\n\nmsg1.payload = Math.round(Math.random()*100);\nmsg1.topic = 'line2';\nreturn [msg,msg1];\n"},{"id":"f9f2336a.d8ff3","type":"random","z":"bed54a86.e409e8","name":"Amps","low":"20","high":"90","inte":"true","property":"payload","x":410,"y":60,"wires":[["ba984a01.c1aa38","24d64d3b.f4a832","a69b6882.b13698"]]},{"id":"80297fb4.cfb5e","type":"change","z":"bed54a86.e409e8","name":"","rules":[{"t":"set","p":"topic","pt":"msg","to":"Volt","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":290,"y":160,"wires":[["cdc1cb11.594c08"]]},{"id":"6b324917.7f8fd8","type":"change","z":"bed54a86.e409e8","name":"","rules":[{"t":"set","p":"topic","pt":"msg","to":"Amps","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":290,"y":20,"wires":[["f9f2336a.d8ff3"]]},{"id":"a69b6882.b13698","type":"ui_level","z":"bed54a86.e409e8","group":"f63a9eca.ecd8d","order":2,"width":3,"height":5,"name":"","label":"","colorHi":"#e60000","colorWarn":"#ff9900","colorNormal":"#00b33c","colorOff":"#595959","min":0,"max":"100","segWarn":"","segHigh":"","unit":"","layout":"sv","channelA":"","channelB":"","decimals":0,"animations":"soft","shape":"3","colorschema":"fixed","textoptions":"custom","colorText":"#00ff00","fontLabel":"","fontValue":"","fontSmall":"","colorFromTheme":false,"textAnimations":true,"hideValue":false,"tickmode":"segments","peakmode":true,"peaktime":"9000","x":650,"y":40,"wires":[]},{"id":"f41ee755.8e83f8","type":"random","z":"bed54a86.e409e8","name":"Volt","low":"195","high":"240","inte":"true","property":"payload","x":410,"y":360,"wires":[["69c189b8.53e628","f4e2512d.e761f"]],"info":"var msg =  {};\nvar msg1 = {};\n\n\nmsg.payload = Math.round(Math.random()*100);\nmsg.topic = 'line1';\n\nmsg1.payload = Math.round(Math.random()*100);\nmsg1.topic = 'line2';\nreturn [msg,msg1];\n"},{"id":"32a99fc8.89cfd","type":"random","z":"bed54a86.e409e8","name":"Amps","low":"0","high":"100","inte":"true","property":"payload","x":410,"y":300,"wires":[["26c4818f.c3578e","f4e2512d.e761f","fbfe94ef.9ed088"]]},{"id":"9f9774b2.a14768","type":"change","z":"bed54a86.e409e8","name":"","rules":[{"t":"set","p":"topic","pt":"msg","to":"Volt","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":290,"y":400,"wires":[["f41ee755.8e83f8"]]},{"id":"4daaf3c1.daf11c","type":"change","z":"bed54a86.e409e8","name":"","rules":[{"t":"set","p":"topic","pt":"msg","to":"Amps","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":290,"y":260,"wires":[["32a99fc8.89cfd"]]},{"id":"6d9d6acd.a83234","type":"debug","z":"bed54a86.e409e8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":1030,"y":380,"wires":[]},{"id":"f9128c5.3a3667","type":"debug","z":"bed54a86.e409e8","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":850,"y":380,"wires":[]},{"id":"f4e2512d.e761f","type":"join","z":"bed54a86.e409e8","name":"","mode":"custom","build":"object","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":false,"timeout":"","count":"2","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":810,"y":300,"wires":[["8ef6d4eb.7caa28","f9128c5.3a3667"]]},{"id":"8ef6d4eb.7caa28","type":"change","z":"bed54a86.e409e8","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.Amps*payload.Volt","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":1020,"y":300,"wires":[["6d9d6acd.a83234","2a8a77a2.3754f8"]]},{"id":"fbfe94ef.9ed088","type":"ui_level","z":"bed54a86.e409e8","group":"f63a9eca.ecd8d","order":9,"width":3,"height":5,"name":"","label":"","colorHi":"#e60000","colorWarn":"#ff9900","colorNormal":"#00b33c","colorOff":"#595959","min":0,"max":100,"segWarn":"","segHigh":"","unit":"","layout":"sv","channelA":"","channelB":"","decimals":0,"animations":"soft","shape":"3","colorschema":"fixed","textoptions":"custom","colorText":"#ffff00","fontLabel":"","fontValue":"","fontSmall":"","colorFromTheme":false,"textAnimations":true,"hideValue":false,"tickmode":"segments","peakmode":false,"peaktime":3000,"x":650,"y":280,"wires":[]},{"id":"103b3e62.f6e522","type":"ui_artlessgauge","z":"bed54a86.e409e8","group":"ebbddeec.b2fd1","order":2,"width":4,"height":4,"name":"","icon":"fa-plug","label":"","unit":"Watt","layout":"radial","decimals":0,"differential":false,"minmax":true,"colorTrack":"#0080ff","colorFromTheme":true,"property":"payload","sectors":[{"val":0,"col":"#ffff00","t":"min","dot":0},{"val":5000,"col":"#ff80ff","t":"sec","dot":0},{"val":10000,"col":"#ff00ff","t":"sec","dot":0},{"val":16000,"col":"#ff0000","t":"sec","dot":0},{"val":22000,"col":"#ff0000","t":"max","dot":0}],"lineWidth":"5","bgcolorFromTheme":false,"diffCenter":"","x":1110,"y":20,"wires":[]},{"id":"2a8a77a2.3754f8","type":"ui_artlessgauge","z":"bed54a86.e409e8","group":"ebbddeec.b2fd1","order":5,"width":4,"height":4,"name":"","icon":"fa-plug","label":"","unit":"Watt","layout":"radial","decimals":0,"differential":false,"minmax":true,"colorTrack":"#ffff00","colorFromTheme":true,"property":"payload","sectors":[{"val":0,"col":"#ffff00","t":"min","dot":0},{"val":5000,"col":"#ff80ff","t":"sec","dot":0},{"val":10000,"col":"#ff0080","t":"sec","dot":0},{"val":16000,"col":"#ff0000","t":"sec","dot":0},{"val":22000,"col":"#ff0000","t":"max","dot":0}],"lineWidth":"5","bgcolorFromTheme":false,"diffCenter":"","x":1110,"y":240,"wires":[]},{"id":"3fc6eb51.f963c4","type":"ui_group","z":"","name":"Amps","tab":"80405ef.16a8aa","order":2,"disp":true,"width":10,"collapse":false},{"id":"746c664b.5bc378","type":"ui_group","z":"","name":"Graph Volt","tab":"80405ef.16a8aa","order":3,"disp":true,"width":10,"collapse":false},{"id":"f63a9eca.ecd8d","type":"ui_group","z":"","name":"Gauge","tab":"80405ef.16a8aa","order":1,"disp":true,"width":4,"collapse":false},{"id":"ebbddeec.b2fd1","type":"ui_group","z":"","name":"Power","tab":"80405ef.16a8aa","order":4,"disp":true,"width":"4","collapse":false},{"id":"80405ef.16a8aa","type":"ui_tab","z":"","name":"AC Input","icon":"fa-bolt ","order":1,"disabled":false,"hidden":false}]

Hi Andrea.

Looking at your flow (nice) I am not understanding the question.

Do you mean something like a total of all outputs since the flow is started?

Saying the outputs were: 20, 50, 80, 40, 60? (Ok, not a good random number generator - but..)

This is an extract of your flow with my addition.

I hope that gives you an idea of what you want to do.

[{"id":"291bb6ae.e6914a","type":"debug","z":"7d9fba73.4852ac","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":1020,"y":360,"wires":[]},{"id":"1c76103b.68f58","type":"join","z":"7d9fba73.4852ac","name":"","mode":"custom","build":"object","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":false,"timeout":"","count":"2","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":980,"y":280,"wires":[["4c70e117.ce2e58","291bb6ae.e6914a"]]},{"id":"4c70e117.ce2e58","type":"change","z":"7d9fba73.4852ac","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.Amps*payload.Volt","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":1190,"y":280,"wires":[["94128d0c.f106f","b5baea8.16ee018"]]},{"id":"8daad23b.251948","type":"random","z":"7d9fba73.4852ac","name":"Volt","low":"195","high":"240","inte":"true","property":"payload","x":580,"y":320,"wires":[["93c3d847.2803b","1c76103b.68f58"]],"info":"var msg =  {};\nvar msg1 = {};\n\n\nmsg.payload = Math.round(Math.random()*100);\nmsg.topic = 'line1';\n\nmsg1.payload = Math.round(Math.random()*100);\nmsg1.topic = 'line2';\nreturn [msg,msg1];\n"},{"id":"cb88e82c.581dd8","type":"random","z":"7d9fba73.4852ac","name":"Amps","low":"20","high":"90","inte":"true","property":"payload","x":580,"y":260,"wires":[["a12addf4.84f81","1c76103b.68f58","7bf66475.324fd4"]]},{"id":"94128d0c.f106f","type":"debug","z":"7d9fba73.4852ac","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":1200,"y":360,"wires":[]},{"id":"b5baea8.16ee018","type":"function","z":"7d9fba73.4852ac","name":"","func":"if (msg.payload == \"reset\")\n{\n    context.set(\"TOTAL\",0);\n    return;\n}\n\nnode.warn(msg.payload);\n\n\nlet total = context.get(\"TOTAL\");\nif (total === undefined) {total = 0;}\n\ntotal = total + msg.payload;\ncontext.set(\"TOTAL\",total);\n\nmsg.payload = total;\n\nreturn msg;","outputs":1,"noerr":0,"x":1380,"y":280,"wires":[["b3d4796e.5f13f8"]]},{"id":"93c3d847.2803b","type":"ui_chart","z":"7d9fba73.4852ac","name":"","group":"7b3f51.aadd58b","order":1,"width":10,"height":6,"label":"Shore Volt","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"250","removeOlder":"10","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#0080ff","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"outputs":1,"x":830,"y":360,"wires":[[]]},{"id":"1df913c1.7744e4","type":"change","z":"7d9fba73.4852ac","name":"","rules":[{"t":"set","p":"topic","pt":"msg","to":"Volt","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":460,"y":360,"wires":[["8daad23b.251948"]]},{"id":"a12addf4.84f81","type":"ui_chart","z":"7d9fba73.4852ac","name":"","group":"48f8b599.8bb504","order":1,"width":10,"height":6,"label":"Shore Amp","chartType":"line","legend":"false","xformat":"auto","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"100","removeOlder":"10","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#0080ff","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#ff0000","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"outputs":1,"x":840,"y":320,"wires":[[]]},{"id":"7bf66475.324fd4","type":"ui_level","z":"7d9fba73.4852ac","group":"ec64c6d5.88d2d8","order":2,"width":3,"height":5,"name":"","label":"","colorHi":"#e60000","colorWarn":"#ff9900","colorNormal":"#00b33c","colorOff":"#595959","min":0,"max":"100","segWarn":"","segHigh":"","unit":"","layout":"sv","channelA":"","channelB":"","decimals":0,"animations":"soft","shape":"3","colorschema":"fixed","textoptions":"custom","colorText":"#00ff00","fontLabel":"","fontValue":"","fontSmall":"","colorFromTheme":false,"textAnimations":true,"hideValue":false,"tickmode":"segments","peakmode":true,"peaktime":"9000","x":820,"y":240,"wires":[]},{"id":"7be1aef2.f49508","type":"change","z":"7d9fba73.4852ac","name":"","rules":[{"t":"set","p":"topic","pt":"msg","to":"Amps","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":460,"y":220,"wires":[["cb88e82c.581dd8"]]},{"id":"16275ea3.167e01","type":"change","z":"7d9fba73.4852ac","name":"Reset","rules":[{"t":"set","p":"payload","pt":"msg","to":"reset","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1090,"y":410,"wires":[["b5baea8.16ee018"]]},{"id":"b3d4796e.5f13f8","type":"debug","z":"7d9fba73.4852ac","name":"Ongoing ttotal","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":1510,"y":330,"wires":[]},{"id":"38147187.b59826","type":"function","z":"7d9fba73.4852ac","name":"reset","func":"msg.payload =  [];\nreturn msg;\n","outputs":1,"noerr":0,"x":500,"y":400,"wires":[["93c3d847.2803b","a12addf4.84f81","16275ea3.167e01"]]},{"id":"563a19fe.442368","type":"inject","z":"7d9fba73.4852ac","name":"Shore Power","topic":"shore","payload":"true","payloadType":"bool","repeat":"5","crontab":"","once":false,"onceDelay":0.1,"x":290,"y":300,"wires":[["1df913c1.7744e4","7be1aef2.f49508"]]},{"id":"71c1a99f.2d6cc","type":"ui_button","z":"7d9fba73.4852ac","name":"","group":"ec64c6d5.88d2d8","order":11,"width":1,"height":1,"passthru":false,"label":"","tooltip":"","color":"red","bgcolor":"","icon":"fa-heartbeat","payload":"true","payloadType":"bool","topic":"","x":280,"y":400,"wires":[["38147187.b59826"]],"info":"msg.payload =  [];\r\nreturn msg;"},{"id":"ec34a03a.d61ce8","type":"inject","z":"7d9fba73.4852ac","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":280,"y":440,"wires":[["38147187.b59826"]]},{"id":"7b3f51.aadd58b","type":"ui_group","z":"","name":"Graph Volt","tab":"446c8e13.bdf0c8","order":3,"disp":true,"width":10,"collapse":false},{"id":"48f8b599.8bb504","type":"ui_group","z":"","name":"Amps","tab":"446c8e13.bdf0c8","order":2,"disp":true,"width":10,"collapse":false},{"id":"ec64c6d5.88d2d8","type":"ui_group","z":"","name":"Gauge","tab":"446c8e13.bdf0c8","order":1,"disp":true,"width":4,"collapse":false},{"id":"446c8e13.bdf0c8","type":"ui_tab","z":"","name":"AC Input","icon":"fa-bolt ","order":1,"disabled":false,"hidden":false}]

You nailed it!
Thanks, that's it!
Sorry for poor quality of laying the problem.....

Just to give you more info.... I am looking to keep track of how much energy the boat is using in navigation and at the dock...... there are other flows for the DC charging current and for the loads.....

Your solution is very neat and simple, Thanks

I haven't used it yet, but I found this node that might help: node-red-contrib-watt2kwh

How are you doing the instrumentation in your motor home or boat? I am using the Shelly Energy Monitor that is configured to report to my MQTT server.

I use it as an input to monitor my AC power inverter to automatically power it down if it has been idle for ten minutes.

That's ok.

Glad I could help.

All the best.

I'll maybe let you try the node suggested by @freds

Hi Freds,
yes, I am trying to monitor the production and consumption of energy on the boat......
on different flows with DC or AC loads.

The dashboard is ready, the hardware still on the way to be sorted.

Still fighting with the CVS file to have a record of what happens in a 24 hours during navigation.

I found it interesting that there is no way to just have a total number of Watt (Produced or consumed) without a graph of some sort.

What do you use to read the current DC or AC? Is it reliable?

node-red-contrib-interval-length can give you the time interval dT between two messages.
You can find the energy for the interval by E = P * dT same way as you calculate the power.
You the need a flow variable to accumulate since deployment.

My situation is Greyhound style bus as a motor home, so most of my energy production will be solar.

image

I am using recycled Tesla model S battery modules with a SimpBMS that talks via a CAN bus interface to a Victron Color Control GX computer.

Between the two of them it calculates the DC load usage.

For AC power I am using a combination of Shelly products, Energy Monitor and Shelly 1PM . These are configured to not use the cloud and report via the local MQTT broker on the internal LAN.

1 Like

Wow , nice vehicle

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.