-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Solarman logger LSW-3 #37
Comments
+1 I just had a Sofar Solar inverter installed and it came with this module. I don't feel like registering for the solarman app (although my data is being sent to their servers anyway...) and would love to have this data show in Home Assistant. I did a full port scan of the module and it seems that two ports are open - 80 and 8899. However as @Superi mentioned it timeouts. I also tried to set up the InverterServer and connect to it using the remote server settings tab, but it doesn't want to connect. Serial number starts with 172 If you need any data required to implement this module into this software, I'm happy to help. |
#3 |
@Superi Same issue for me with Sofar Inverter mine also starts with 170****** |
@Superi Same issue on a sunsynk with serial of 173******* which use's solarman. |
Same issue, serial number 171***** |
My logger's serial number starts with 173 as well. Totally clueless on what the protocol is :( |
Hi all, same issue with data logger S/N starting with 174* Sometimes, I get a response : pi@raspberrypi:~/domoticz/inverter/Inverter-Data-Logger $ python LiveStats.py Hope this will help. |
hallo my SN 1717 |
For anyone interested I have a ghetto solution that I've been using for about a year now. This solution uses the fact the status.html is properly whitespaced (even if it wasn't you could still get it to work but way harder) |
I am interested in how this works, sounds like an easter egg :) |
Sadly in status.html there are only a few values (not everything that the logger record). Also, for whatever reason, all my datalogger's values are zeros, even if the multiples data values sent to SERVER A are, instead, correct. |
I've managed to get data from Sofar KTL-X series intverter via LSW-3. Actually each inverter has it's own register address map. So @jlopez77 solution works great in terms of V5 protocol compatibility. It just requires different registers mapping and pointing registers position in the script code :) |
Hi, anyone know how to get data from this inverter ( HYD 3000-ZSS HP ) that use LSW3 ? |
i was able to connect to solarman datalogger for deye 5k inverter using https://github.com/MichaluxPL/Sofar_LSW3, i have response from the inverter but the data returned are wrong. any ideas ? |
Has anything been done for logger serial 23**** ? |
Yes, i have serial 23*** - you can turn on verbose=1 in config.cfg, then python3 InverterData.py tells you more about communication to wifi-logger LSW-3. In my case, there ist no register2 (only values below 0x0027) - i have turned off chunk 1 in the script. |
I ended up doing it from scratch in Go. Got my hands on the modbus registers list. It works flawlessly since then. |
@sigxcpu76 could You share code? And registers list? |
Registers list I've used is here: https://docs.google.com/spreadsheets/u/0/d/1p6p7n8-V2jlFid3FPPk5L4Sn4-tOWscQwpkahq5jRbs/htmlview# The software (not ideal, was made by stealing bits & pieces from another one I did for a Infinisolar inverter) is attached. |
@sigxcpu76 Nice, at least something working with my inverter. Thanks |
Beware that it doesn't run on ARM (e.g. Raspberry) or any other different endianess than x86. I've made a bug in conversions or some of the libraries I am using does that, too lazy to dig. It failed on my RPi but it works on my x86 machine. All you need is to run |
Ok maybe tomorrow I'll look at this RPI related problem. Do You have GH repo with this code? I want create fork. Or maybe You don't have nothing against me creating public repo with Your code? |
You can do whatever you want with it. I have my own private Git installation that I use. If you want, you can create a GH repo but you need to adjust the module path and the import paths. It is under "do whatever you want with it" license if you want. |
@sigxcpu76 I fixed it. Problem was with casting serial number to uint, for some reason it doesn't fit on ARM (atoi returns nice error in this occasion). So i rewrite config into yaml and during config initialization serial number is set as uint. Latest code version is on untagged |
just letting anyone know that sofar basic config works out of the box with refusol inverters! |
Is this logger type supported?
I have Sofar Solar inverter with this logger.
Auto search find my logger ip and serial, send packet but after few seconds i got timeout and no response. Tried to set timeout ~10sec but no help.
Logger Serial is 170xxxxxxx
The text was updated successfully, but these errors were encountered: