Skip to content

serek4/node-red-sofar-inverter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node-red server/proxy for Sofar inverters

  • subflow captures messages from wifi logger and decode them into JSON message
  • proxy data to default (solarmanpv.com (ginlong.com)) server
  • uses v5 data frames

supported devices:

  • Sofar 4.4KTL-X with LSW-3 data logger (SN: 17xxxxxxxx firmware: LSW3_14_FFFF_1.0.34)
  • Sofar ME3000SP (RETROFIT ZST-3000SP) added by mattiarossi
  • Sofar HYD6000-ES with LSW-3 data logger (SN: 23xxxxxxxx firmware: LSW3_15_FFFF_1.0.65) added by daniel-pro
  • Sofar 4.4KTLX-G3 with LSW-3 data logger (SN: 23xxxxxxxx) decoded by grzegorzgrzeszkowiak
  • Sofar HYD 10KTL-3PH works (no info about data) #12
  • Sofar HYD 5KTL-EP uses the same data frame as Sofar 4.4KTLX-G3, no battery info decoded #13

wifi logger settings

go to http://\<wifi logger local IP\>
in advanced tab set server B to <node-red IP> on port 10000 TCP
advanced settings

node-red settings

import node-red-subflow to node-red, u will get sofar inverter node in subflow category
subflow example
now your sofar inverter node should have 1 connection and receive data

sofar inverter default properties
subflow properties
by default node will listen on TCP port 10000, and will resend data to default solarmanpv.com server as well

node-red did not connect

if sofar inverter node do not have active connection
go to http://\<wifi logger local IP\>/config_hide.html
and change server A (default server) to <node-red IP>
advanced settings


data messages

messages flow

after power on:

wifi logger (hello msg) -> server (srv-response msg) -> wifi logger
wifi logger (data msg) -> server (srv-response msg) -> wifi logger
wifi logger (hello cd msg) -> server (srv-response msg) -> wifi logger
wifi logger (hello end msg) -> server (srv-response msg) -> wifi logger

120s interval:

wifi logger (heartbeat msg) -> server (srv-response msg) -> wifi logger

5min interval:

wifi logger (data msg) -> server (srv-response msg) -> wifi logger

~3h interval:

wifi logger (hello msg) -> server (srv-response msg) -> wifi logger
wifi logger (data msg) -> server (srv-response msg) -> wifi logger
wifi logger (hello cd msg) -> server (srv-response msg) -> wifi logger
wifi logger (hello end msg) ->server (srv-response msg) -> wifi logger

other messages:

sended after some connection problems (presumably)
60bytes msg and 44bytes msg