KH8 RS485 wiring help needed - connecting EW11A for Home Assistant/PredBat
Posted: Tue May 19, 2026 11:49 am
I have a FoxESS KH8 hybrid inverter installed outside and I'm trying to connect it to Home Assistant using the foxess_modbus integration for real-time monitoring and PredBat battery optimisation.
My inverter has the following firmware versions:
Master: 1.6
Slave: 1.02
Manager: 1.58
I've established that the built-in FoxESS WiFi dongle has Modbus TCP locked down (Manager firmware 1.58), so I've ordered a RUANI EW11A-0 RS485 to WiFi adapter to connect via the RS485 port.
I have a few questions I'm hoping someone can help with:
1. Which pins on the KH8 are RS485 A and RS485 B? I can see from the menu structure there is a COM/RS485 connector but I need to know the exact pin numbers
2. Is there a 5V or 12V auxiliary power output on the comms connector that could power the EW11A, or will I need a separate power supply?
3. Has anyone successfully connected an EW11A to a KH8 and if so any tips or gotchas?
thanks in advance
My inverter has the following firmware versions:
Master: 1.6
Slave: 1.02
Manager: 1.58
I've established that the built-in FoxESS WiFi dongle has Modbus TCP locked down (Manager firmware 1.58), so I've ordered a RUANI EW11A-0 RS485 to WiFi adapter to connect via the RS485 port.
I have a few questions I'm hoping someone can help with:
1. Which pins on the KH8 are RS485 A and RS485 B? I can see from the menu structure there is a COM/RS485 connector but I need to know the exact pin numbers
2. Is there a 5V or 12V auxiliary power output on the comms connector that could power the EW11A, or will I need a separate power supply?
3. Has anyone successfully connected an EW11A to a KH8 and if so any tips or gotchas?
thanks in advance