Skip to content

Home Assistant integration for ZeverSolar inverters using the local API

License

Notifications You must be signed in to change notification settings

DavidWicks/zeversolar_local

 
 

Repository files navigation

GitHub Release License

hacs

GitHub Activity GitHub Activity GitHub Activity

Validate

Zeversolar inverter integration for Home Assistant

Component to integrate with a Zeversolar inverter using its local API.

This component will set up the following platform.

Platform Description
sensor Show information from the Zeversolar inverter.

Installation

  1. If you do not have a custom_components directory (folder) there, you need to create it.
  2. In the custom_components directory (folder) create a new folder called zeversolar_local.
  3. Download all the files from the custom_components/zeversolar_local/ directory (folder) in this repository.
  4. Place the files you downloaded in the new directory (folder) you created.
  5. Restart Home Assistant
  6. In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "Zeversolar Inverter - local"

Configuration is done in the UI

  1. Input the IP address of your inverter: e.g. 192.168.5.101
  2. You can configure the default poll interval (30s) using the configuration link of the integration. It can be set between 10 and 3600 seconds.

Contributions are welcome!

If you want to contribute to this please read the Contribution guidelines

You should use Visual Studio Code to develop in a container. In this container you will have all the tools to ease your python development and a dedicated Home Assistant core instance to run your integration. See .devcontainer/README.md for more information. Run the appropriate requirement task to install the requirements for development or test.

Notice

This integration is under construction. Some functions are missing yet.

Room for improvements

I am uncertain how to deal if the inverter is powered off (in the night). The actual implementation is to change the entities to unavailable. So the entities will disappear from the dashboards. Showing the last state is definitively wrong for the actual power and will lead to curious history graphs for power and summarized energy on the next day until the inverter reconnects. The inverter itself has the problem that it looses the summarized (daily) values on a power failure and the counting starts at zero.

Thanks

I'll want to thank @mletenay for creating the Godwee inverter integration that motivated me to implement this integration and to Aaron Godfrey for his blog to create an integration.

Also thanks for instructions, blueprints, container etc. that are very helpful for me:


About

Home Assistant integration for ZeverSolar inverters using the local API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.1%
  • Shell 0.9%