Skip to content

screenagerbe/foxess_modbus

 
 

Repository files navigation

FoxESS - Modbus

GitHub Release BuyMeCoffee Community Forum

** This project is not endorsed by, directly affiliated with, maintained, authorized, or sponsored by FoxESS **

Introduction

A Home Assistant custom component which communicates with FoxESS H-series inverters and derivatives without using FoxESS's cloud.

This means that you're not reliant on FoxESS's cloud infrastructure, so HA keeps working when the cloud goes down. You can also read solar production etc in real-time, rather than once every 5 minutes.

Depending on your inverter model, you can also set charge periods, work mode, min/max SoC. See Supported Features.

Supported models:

  • FoxESS H1 (including AC1 and AIO-H1)
  • FoxESS H3 (including AC3 and AOI-H3)
  • FoxESS KH
  • Sonnenkraft SK-HWR
  • Kuara H3
  • Solavita SP

You will need a direct connection to your inverter. In most cases, this means buying a modbus to ethernet/USB adapter and wiring this to a port on your inverter. See the documentation for details.

See the wiki for how-to articles and FAQs.

Installation

Quick installation link

Migrating from StealthChesnut's HA-FoxESS-Modbus? Read this.

Recommended installation is through HACS:

  1. Either use this link, or navigate to HACS integration and:
    • 'Explore & Download Repositories'
    • Search for 'FoxESS - Modbus'
    • Download
  2. Restart Home Assistant
  3. Go to Settings > Devices and Services > Add Integration
  4. Search for and select 'FoxESS - Modbus' (If the integration is not found, empty your browser cache and reload the page)
  5. Proceed with the configuration

Usage

  1. Navigate to Settings -> Devices & Services to find:

Usage

  1. Select '1 device' to find all Modbus readings:

Example

Charge Periods

If your inverter supports setting charge periods, you can use install the Charge Periods lovelace card:

Charge Periods

Services

Write Service

A service to write any modbus address is available, similar to the native Home Assistant service. To use a service, navigate to Developer Tools -> Services and select it from the drop-down.

Service

Update Charge Periods

Updates one of the two charge periods (if supported by your inverter).

Service

Update All Charge Periods

Sets all charge periods in one service call. The service "Update Charge Period" is easier for end-users to use.

Service


About

FoxESS - Modbus

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.7%
  • Shell 0.3%