I'm using an ABB invertor, for 1 of my 2 invertors, and this is my Node Red flow that scrapes the data from the API. It might help you get somewhere. I chuck a inject node at the begining to run the flow every 30 seconds during sun-up.
Summary
[{"id":"e479a208.73341","type":"http request","z":"d78139fd.638648","name":"Login","method":"GET","ret":"txt","paytoqs":"ignore","url":"http://192.168.1.112/v1/livedata","tls":"","persist":true,"proxy":"","authType":"basic","x":390,"y":1240,"wires":[["ca6f3a53.e4a238"]]},{"id":"8f730ad4.acc0e8","type":"string","z":"d78139fd.638648","name":"Generation now","methods":[{"name":"between","params":[{"type":"str","value":"name\":\"PacTogrid\",\"value\":"},{"type":"str","value":"."}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":740,"y":1220,"wires":[["a5b2d53d.27ac48"]]},{"id":"b4a76dbf.a73a1","type":"string","z":"d78139fd.638648","name":"Generation today","methods":[{"name":"between","params":[{"type":"str","value":"\"E0_runtime\",\"value\":"},{"type":"str","value":"}"}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":750,"y":1260,"wires":[["fc053dda.2516b"]]},{"id":"a5b2d53d.27ac48","type":"change","z":"d78139fd.638648","name":"Convert to number","rules":[{"t":"set","p":"payload","pt":"msg","to":"$number(payload)","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":970,"y":1220,"wires":[["39de5a69.b3e1b6","11027100.5f9a0f","5283a357.bc3a6c"]]},{"id":"fc053dda.2516b","type":"change","z":"d78139fd.638648","name":"Convert to number","rules":[{"t":"set","p":"payload","pt":"msg","to":"$number(payload)","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":970,"y":1260,"wires":[["9702fe0b.fa7cd"]]},{"id":"39de5a69.b3e1b6","type":"ui_text","z":"d78139fd.638648","group":"b20c6f1b.28dd1","order":10,"width":3,"height":1,"name":"9. Solar now","label":"<b>Solar</b>","format":"{{msg.payload}} w","layout":"row-spread","x":1150,"y":1220,"wires":[]},{"id":"ab1452c7.24c74","type":"ui_text","z":"d78139fd.638648","group":"b20c6f1b.28dd1","order":11,"width":3,"height":1,"name":"10. Solar today","label":" - Today","format":"{{msg.payload}} kw","layout":"row-spread","x":1520,"y":1260,"wires":[]},{"id":"9702fe0b.fa7cd","type":"change","z":"d78139fd.638648","name":"","rules":[{"t":"set","p":"GenToday","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1170,"y":1260,"wires":[["909c6c4e.31bb4"]]},{"id":"c66786b7.33e408","type":"change","z":"d78139fd.638648","name":"Reset Generation Today to zero","rules":[{"t":"set","p":"GenToday","pt":"flow","to":"0","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":470,"y":1320,"wires":[[]]},{"id":"ca6f3a53.e4a238","type":"switch","z":"d78139fd.638648","name":"","property":"statusCode","propertyType":"msg","rules":[{"t":"eq","v":"200","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":550,"y":1240,"wires":[["8f730ad4.acc0e8","b4a76dbf.a73a1","df8187a8.b6acd8","a4c9ffc6.22c87"]]},{"id":"11027100.5f9a0f","type":"change","z":"d78139fd.638648","name":"","rules":[{"t":"set","p":"solar","pt":"global","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1160,"y":1180,"wires":[["3a4c2eca.e123c2"]]},{"id":"3a4c2eca.e123c2","type":"ui_gauge","z":"d78139fd.638648","name":"Solar","group":"860420aa.4fe69","order":10,"width":3,"height":3,"gtype":"gage","title":"Solar","label":"","format":"{{msg.payload}}","min":0,"max":"4040","colors":["#000000","#eaea00","#ffffca"],"seg1":"200","seg2":"4040","x":1330,"y":1180,"wires":[]},{"id":"df8187a8.b6acd8","type":"string","z":"d78139fd.638648","name":"Last 7 days","methods":[{"name":"between","params":[{"type":"str","value":"\"E0_7D\",\"value\":"},{"type":"str","value":"}"}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":730,"y":1300,"wires":[["6d789229.da54ec"]]},{"id":"6d789229.da54ec","type":"change","z":"d78139fd.638648","name":"Convert to number","rules":[{"t":"set","p":"payload","pt":"msg","to":"$number(payload)","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":970,"y":1300,"wires":[["b932976.0ed7468"]]},{"id":"dc66d6dd.62cd98","type":"ui_text","z":"d78139fd.638648","group":"b20c6f1b.28dd1","order":12,"width":3,"height":1,"name":"11. Solar Last 7 days","label":"- Last 7","format":"{{msg.payload}} kw","layout":"row-spread","x":1540,"y":1300,"wires":[]},{"id":"b932976.0ed7468","type":"change","z":"d78139fd.638648","name":"","rules":[{"t":"set","p":"Gen7Days","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1170,"y":1300,"wires":[["f4d56bd6.628738"]]},{"id":"f4d56bd6.628738","type":"calculator","z":"d78139fd.638648","name":"","inputMsgField":"payload","outputMsgField":"payload","operation":"div","constant":"1000","round":true,"decimals":0,"x":1350,"y":1300,"wires":[["dc66d6dd.62cd98"]]},{"id":"909c6c4e.31bb4","type":"calculator","z":"d78139fd.638648","name":"","inputMsgField":"payload","outputMsgField":"payload","operation":"div","constant":"1000","round":true,"decimals":"1","x":1350,"y":1260,"wires":[["ab1452c7.24c74"]]},{"id":"a4c9ffc6.22c87","type":"string","z":"d78139fd.638648","name":"Last 30 days","methods":[{"name":"between","params":[{"type":"str","value":"\"E0_30D\",\"value\":"},{"type":"str","value":"}"}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":730,"y":1340,"wires":[["8ab6b27e.ac39f"]]},{"id":"8ab6b27e.ac39f","type":"change","z":"d78139fd.638648","name":"Convert to number","rules":[{"t":"set","p":"payload","pt":"msg","to":"$number(payload)","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":970,"y":1340,"wires":[["e353f2b1.5fbe1"]]},{"id":"3144943f.46589c","type":"ui_text","z":"d78139fd.638648","group":"b20c6f1b.28dd1","order":13,"width":3,"height":1,"name":"12. Solar Last 30 days","label":"- Last 30","format":"{{msg.payload}} kw","layout":"row-spread","x":1540,"y":1340,"wires":[]},{"id":"e353f2b1.5fbe1","type":"change","z":"d78139fd.638648","name":"","rules":[{"t":"set","p":"Gen30Days","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1180,"y":1340,"wires":[["664b39c1.ecd7a8"]]},{"id":"664b39c1.ecd7a8","type":"calculator","z":"d78139fd.638648","name":"","inputMsgField":"payload","outputMsgField":"payload","operation":"div","constant":"1000","round":true,"decimals":0,"x":1350,"y":1340,"wires":[["3144943f.46589c"]]},{"id":"b20c6f1b.28dd1","type":"ui_group","name":"House","tab":"1862e313.45ffad","order":1,"disp":true,"width":"3","collapse":false},{"id":"860420aa.4fe69","type":"ui_group","name":"Lux","tab":"1862e313.45ffad","order":8,"disp":true,"width":6,"collapse":false},{"id":"1862e313.45ffad","type":"ui_tab","name":"Mike","icon":"dashboard","disabled":false,"hidden":false}]