It's now possible to integrate your H1 series FoxESS solar/battery system with Home Assistant in four ways detailed below:
1. FoxESS Cloud Integration https://github.com/macxq/foxess-ha
By far the easiest to setup, this integration uses your FoxESS cloud app login details to poll the FoxESS Cloud every 5 minutes.
Pros:
- Easiest to set up
- No additional hardware or cabling needed
- Relies on the cloud being available
- Slow polling rate, data polls between 5-15mins
2/3.FoxESS RS485/LAN Modbus https://github.com/StealthChesnut/HA-FoxESS-Modbus
This is the most advanced integration, requires a network cable to be installed into the inverters LAN port or can use a USR-W610 RS485 to lan adapter to convert RS485 to a wifi accessible web server which Home Assistant can connect to and poll in near realtime.
Pros:
- Local polling, no reliance on the cloud
- Realtime polling of inverter data
- Allows for better automation as the data is realtime prividing better triggers
- Additional hardware (USR-W610) or Network Cable required
- Latest Firmware required for direct LAN interface
4.FoxESS API with Cloud/TCP control https://github.com/dmarjoram/Roses.SolarAPI
This integration uses a combination of cloud commands and TCP commands via the modbus address to change work mode, set force charging windows and set MinSoC's.
Pros:
- Offers features not in other integrations
- Offers local and cloud commands
- Lightweight
- Relies on the cloud being avilable for some features
- Requires docker hosting knowledge
- Requires exposed modbus address for inverter which might required additional hardware or cable depending on solution