home_assistant_solarman icon indicating copy to clipboard operation
home_assistant_solarman copied to clipboard

Solis S3-WIFI-ST (Gen 3) Data Logging Stick

Open OneScuzzie2k opened this issue 3 years ago • 17 comments

Dont seem to be able to use this stick? as its a a 14 digit serial number with letters and numbers, any suggestions?

OneScuzzie2k avatar Jun 25 '22 09:06 OneScuzzie2k

Resolving this to "work" is a case of changing the end of line 30 on "config_flow.py" from )): int, to )): str,

However I am currently in the same boat and having done this, I am now testing to see if this can even poll the inverter correctly.

Ghostofapacket avatar Jun 27 '22 10:06 Ghostofapacket

This allows me to enter the serial but does not talk to it still

OneScuzzie2k avatar Jun 27 '22 17:06 OneScuzzie2k

Agreed, I did some more work on this and it is due to the hex encoding where it is expecting an int but we're now passing it a string.

I need to spend some time to see how the developer has been doing this request and even if this request is possible on the newer model of loggers.

I have one here, I will do some looking over the coming days and report back

Ghostofapacket avatar Jun 29 '22 07:06 Ghostofapacket

Agreed, I did some more work on this and it is due to the hex encoding where it is expecting an int but we're now passing it a string.

I need to spend some time to see how the developer has been doing this request and even if this request is possible on the newer model of loggers.

I have one here, I will do some looking over the coming days and report back

Thank you for your work on this. There are quite a few people at HA Community in the same boat!

NickSutton avatar Jul 17 '22 09:07 NickSutton

Thank you also for your great work on this. I really hope a way forward can be found with this issue as it seems all new installations are having this new logger.

morts1 avatar Jul 17 '22 18:07 morts1

I have a week old installation in the UK and have the new stick. I cant even get in with admin:admin even though it obviously has a web page and I can ping it.

t0nyb avatar Aug 12 '22 19:08 t0nyb

The username is admin and the password is your wifi password - however, port 8899 is not open on the S3-WIFI-ST stick so none of these Solarman integration libraries will work. I've not yet found anyone that's managed to read / write directly to the modbus port via this stick so it may not be possible. I also have not yet been able to find a source for the solarman based data loggers that DO expose modbus.

blongden avatar Aug 21 '22 10:08 blongden

The username is admin and the password is your wifi password - however, port 8899 is not open on the S3-WIFI-ST stick so none of these Solarman integration libraries will work. I've not yet found anyone that's managed to read / write directly to the modbus port via this stick so it may not be possible. I also have not yet been able to find a source for the solarman based data loggers that DO expose modbus.

Ended up replacing the stick with a Pi Zero and modbus adapter, reading values perfectly now, just need to work out how to write them

NickSutton avatar Aug 21 '22 12:08 NickSutton

@NickSutton Looking at doing exactly the same thing so I can talk to the modbus interface over wifi. How did you hook up the modbus adapter to the pi? Can you power the pi from the +5V pin on modbus?

blongden avatar Aug 22 '22 09:08 blongden

@NickSutton Looking at doing exactly the same thing so I can talk to the modbus interface over wifi. How did you hook up the modbus adapter to the pi? Can you power the pi from the +5V pin on modbus?

I used this https://github.com/incub77/solis2mqtt with this adapter https://www.amazon.co.uk/gp/product/B016IG6X7I/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1, soldered it all together and it even fits in the original SOLIS Wifi stick case. Powered by the 5V pin from the solis

NickSutton avatar Aug 22 '22 09:08 NickSutton

Ended up replacing the stick with a Pi Zero and modbus adapter, reading values perfectly now, just need to work out how to write them

Any success with being able to write?

dezfutak avatar Sep 17 '22 12:09 dezfutak

Nope. I was thinking to find a Python guy on Fiverr or something to see if a freelancer can make it happen

NickSutton avatar Sep 17 '22 15:09 NickSutton

Wondering if there is any update on this thread? I self-installed the Solis Hybrid 5G inverter with a Solis Datalogger WiFi stick (v3) and as others have described, won't work with Solarman.

Nick, as a Pi person, would love to find out more. Have you documented this any where?

J

jonathanfurness avatar Feb 19 '23 22:02 jonathanfurness

I found a Gist which enables direct communication via an RS485 to USB converter connected to the COM output on the Solis (so no Solis dongle) & have it all working - just been too busy to document & tidy up all the code properly, but the work in progress is here:

https://github.com/dezfutak/thediybattery

dezfutak avatar Feb 21 '23 13:02 dezfutak

Would swapping the S3-WIFI-ST stick with a Solis DLS-WIFI work for a RHI-4.6K-48ES-5G inverter?

nathan-gs avatar Mar 25 '23 16:03 nathan-gs

The username is admin and the password is your wifi password - however, port 8899 is not open on the S3-WIFI-ST stick so none of these Solarman integration libraries will work. I've not yet found anyone that's managed to read / write directly to the modbus port via this stick so it may not be possible. I also have not yet been able to find a source for the solarman based data loggers that DO expose modbus.

If the same as S4-*, then you can try port 502

Pho3niX90 avatar Nov 05 '23 07:11 Pho3niX90