SOFAR 5KTLM-G3-A solar inverter with LSW3 WiFi data logger with 23XXXXX serial no

Is GitHub - kubaceg/sofar_g3_lsw3_logger_reader: Tool written in GO for reading metrics from Sofar LSW-3 inverters with SN 23XXXXXXX the best way to get the data into HA from this WiFi data logger? It makes a binary executable that runs forever, periodically polling the WiFi logger and sending MQTT messages. What is the best way to run it in HA OS? There seem to be many similar projects for different data loggers so there must be some standard sort of way to run them, but I haven’t found it so far. Any pointer would be appreciated.

I have a similar setup of a Sofar PowerAll 6Kw (ESI 3-6K-S1-HA1-6) with a LSW3 2395XXX (firmware LSW3_15_270A_1.68). I am using then Solarman Component for Home Assistant installed in HACS. First I used the zcs_azzurro-ktl-v3.yaml config file. Then created a custom_parameters.yaml copy and added some values from sofar_g3_lsw3_logger_reader. The new params are for the batteries status.
I share this because it took me a while of searching and testing to make it work.

2 Likes