Page 1 of 1
S series G2 com port monitoring
Posted: Fri May 24, 2024 1:14 pm
by marco
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
Re: S series G2 com port monitoring
Posted: Fri May 24, 2024 1:30 pm
by Dave Foster
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
Re: S series G2 com port monitoring
Posted: Fri May 24, 2024 1:51 pm
by marco
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.....
![Confused :?](./images/smilies/icon_e_confused.gif)
Re: S series G2 com port monitoring
Posted: Fri May 24, 2024 2:13 pm
by Dave Foster
I don't blame you for wanting to remove the cloud
![Sad :(](./images/smilies/icon_e_sad.gif)
... 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.
Re: S series G2 com port monitoring
Posted: Fri May 24, 2024 3:45 pm
by marco
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
Re: S series G2 com port monitoring
Posted: Fri May 24, 2024 4:26 pm
by Dave Foster
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.