Foxes integration into Home Assistant
HA green (had it a week)
Detached garage Foxess H1 5kW hybrid inverter and 12.5kWh of Batteries
House Foxess H1 5kW hybrid inverter and 5.6kW solar
Hi there,
I’m a complete novice at this malarkey.
I appear to have managed to install and integrate everything okay except, perhaps, Foxess?…
When I integrated foxes by the API route, I expected two devices (one for each inverter) to appear in HA green’s overview, each with 39 attributes. What I actually got was one device (?) called ‘Sensor’ with 138 attributes.
Should it be as it is or as I expected? Have I made a miss-step in the integration process (if so, any idea what I’ve done wrong?), or do I appear to have done it correctly?
I’m gonna post this on both the HA and Foxess forums
Many thanks in advance,
John
If Will sees your post, he may have some ideas. I think he runs two or more inverters via HA.
Not sure this is helpful, but I recently connected two H3 inverters last week. When researching though, i found i could directly connect them over wifi to the inverters (modbus) without installing new hardware (real-time information).
I checked about H1, and if you a newer H1, you should be able to as well (i found this method pretty easy (helped by AI of course) and have both connected.
Gemini helped me installed mine, and here is what is said about the H1
"1. The "New" Way (H1-Gen2-WL or H3)
If your H1 is a newer Gen2 model with a built-in Wi-Fi module that supports local Modbus, you can connect just like you did with the H3:
Method: Modbus TCP.
Protocol: Local Wi-Fi.
Port: 502.
Slave ID: Usually 247 (check your inverter screen under Settings > Communication).
Integration: Use the FoxESS - Modbus (by nathanmarlor) via HACS. Choose "LAN" as the connection type and enter the inverter's local IP."
For me, i didnt need to change my slave Id (both were 247), only think i needed to do was assign a manual IP for each inverter, download FoxESS - Modbus (by nathanmarlor), and just follow the prompts from gemini
I checked about H1, and if you a newer H1, you should be able to as well (i found this method pretty easy (helped by AI of course) and have both connected.
Gemini helped me installed mine, and here is what is said about the H1
"1. The "New" Way (H1-Gen2-WL or H3)
If your H1 is a newer Gen2 model with a built-in Wi-Fi module that supports local Modbus, you can connect just like you did with the H3:
Method: Modbus TCP.
Protocol: Local Wi-Fi.
Port: 502.
Slave ID: Usually 247 (check your inverter screen under Settings > Communication).
Integration: Use the FoxESS - Modbus (by nathanmarlor) via HACS. Choose "LAN" as the connection type and enter the inverter's local IP."
For me, i didnt need to change my slave Id (both were 247), only think i needed to do was assign a manual IP for each inverter, download FoxESS - Modbus (by nathanmarlor), and just follow the prompts from gemini
Last edited by Greenith on Sat Jan 31, 2026 8:14 am, edited 1 time in total.
Yes that's what you expect as it is installed under a single Rest api platform, so you have 2 inverters, each has a name so you will have sensor.fox1.sensorname (1..69), sensor.fox2.sensorname (1..69) which gives you 138 sensors in total for the 2 inverters.Greenie wrote: ↑Fri Jan 30, 2026 8:01 pm Foxes integration into Home Assistant
HA green (had it a week)
Detached garage Foxess H1 5kW hybrid inverter and 12.5kWh of Batteries
House Foxess H1 5kW hybrid inverter and 5.6kW solar
Hi there,
I’m a complete novice at this malarkey.
I appear to have managed to install and integrate everything okay except, perhaps, Foxess?…
When I integrated foxes by the API route, I expected two devices (one for each inverter) to appear in HA green’s overview, each with 39 attributes. What I actually got was one device (?) called ‘Sensor’ with 138 attributes.
Should it be as it is or as I expected? Have I made a miss-step in the integration process (if so, any idea what I’ve done wrong?), or do I appear to have done it correctly?
I’m gonna post this on both the HA and Foxess forums
Many thanks in advance,
John
If installed correctly you should be receiving information, for example the sensor named '(inverter name) - Bat Charge' will be the amount of charge going into the battery today, and a sensor called '(inverter name) - Inverter' which shows the on-line status, if you look at the attributes of that sensor you will see your plant name, firmware versions, and battery modules
Thanks for the reply Greenith,
My inverters are gen one, I've had 'em about three years. So, the route to go may be to go MODBUS if I'm unhappy with the API route.
Thanks also for the reply Dave Foster,
There's no immediately easy way of recognising that I've got two inverters although the attributes (eg 2 x SOCes appear one above the other in the list ) are arranged in inverter serial number order. So, I have constructed a power card armed with that knowledge and it works!
I just thought (hoped) I'd get a device for each inverter a bit like I ended up with a device for each of my Octopus meter using just one API code.
Anyway, I may go down the MODBUS route eventually. It appears that that's what people end up doing.
Thanks, both.
Greenie
My inverters are gen one, I've had 'em about three years. So, the route to go may be to go MODBUS if I'm unhappy with the API route.
Thanks also for the reply Dave Foster,
There's no immediately easy way of recognising that I've got two inverters although the attributes (eg 2 x SOCes appear one above the other in the list ) are arranged in inverter serial number order. So, I have constructed a power card armed with that knowledge and it works!
I just thought (hoped) I'd get a device for each inverter a bit like I ended up with a device for each of my Octopus meter using just one API code.
Anyway, I may go down the MODBUS route eventually. It appears that that's what people end up doing.
Thanks, both.
Greenie