S series G2 com port monitoring

Post Reply
marco
Posts: 3
Joined: Tue May 21, 2024 3:39 pm

hi
I'd like to give the foxess_modbus home assistant plugin a go, with a cheap EW11A from ali
these need 5volts.....
the com port has 16 pins, I've had a multimeter between pin 6 GND-S and 4 VCC_OUT which sadly only gives 3.3v
anywhere I can easily get 5v from the inverter?
thanks
Dave Foster
Posts: 1011
Joined: Thu Oct 13, 2022 7:21 pm

I'm sorry to say the S series doesn't support the modbus protocol needed to work with that integration.

There has been some work done on this in an ESP project see this link https://github.com/assembly12/Foxess-T- ... /issues/14

You can use the cloud interface which uses the OpenAPI, this will give you access to many of the sensors and totals with a 5 minute sample time, you can see that here https://github.com/macxq/foxess-ha
marco
Posts: 3
Joined: Tue May 21, 2024 3:39 pm

Dave Foster wrote: Fri May 24, 2024 1:30 pm I'm sorry to say the S series doesn't support the modbus protocol needed to work with that integration.

There has been some work done on this in an ESP project see this link https://github.com/assembly12/Foxess-T- ... /issues/14

You can use the cloud interface which uses the OpenAPI, this will give you access to many of the sensors and totals with a 5 minute sample time, you can see that here https://github.com/macxq/foxess-ha
hi dave, thanks for your reply
yes I've got the foxess-ha addon working but ideally I'd like to 'take the cloud out of my setup'
the guy on github appears to be trying to get info from S series usb port, I want to take it from the com port
according to the user guide:
pin 1 RS485+
pin 2 RS485-
so erm I was thinking it was worth a try..... :?
Dave Foster
Posts: 1011
Joined: Thu Oct 13, 2022 7:21 pm

I don't blame you for wanting to remove the cloud :( ... sadly those RS485 pins are for an export meter (if fitted), they don't support normal comms.

The ESP project appears to take the comms that go into the datalogger and intercept it so you have everything it has locally.
marco
Posts: 3
Joined: Tue May 21, 2024 3:39 pm

Dave Foster wrote: Fri May 24, 2024 2:13 pm sadly those RS485 pins are for an export meter (if fitted), they don't support normal comms.
i've got some extra pins in addition to the 'meter ones'
do you think it's worth a try? I had a brainwave for power, chop an old USB cable and take 5v and ground from the USB port lol
foxpins.png
Dave Foster
Posts: 1011
Joined: Thu Oct 13, 2022 7:21 pm

It's definitely worth a try, once you have connected up you can use modpoll to poll some random registers and see if you get a response from it.

The Elfin is a bit fussy about having enough power, a 5V USB should be fine to test it but most people report having to swap to a fixed 1A power supply longer term.
Post Reply