-
Notifications
You must be signed in to change notification settings - Fork 5
Node RED Example
Lyve1981 edited this page Aug 6, 2022
·
1 revision

Part of the source tree is an example flow for Node-RED: https://github.com/Lyve1981/GrowattUsbModbus/blob/main/noderedflow.json
It contains a mapping for the Growatt SPH-5000TL3 BH hybrid inverter and creates an object that is compatible with what Grott outputs.
The output object looks like this:
{
"time":"2022-08-06T22:19:42.000Z",
"fields":{
"pvstatus":9,
"pvpowerin":0,
"pv1voltage":0,
"pv1current":30,
"pv1watt":0,
"pv2voltage":0,
"pv2current":0,
"pv2watt":0,
"pvpowerout":0,
........
"datalogserial":"ModBus2USB",
"pvserial":"AABBCCDDEE"
}
}
If you want/need to adjust the mapping, edit the function node createResult