Skip to content

Get power generation from ZeverSolar Inverter and present it to front end as a sensor for Hass.IO

License

Notifications You must be signed in to change notification settings

CheongKoo/HA_AppDaemonZeverSolarSensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HA_AppDaemonZeverSolarSensor

Get power generation from ZeverSolar Inverter and present it to front end as a sensor for Hass.IO

This AppDaemon application gets the generated solar power from a ZeverSolar Inverter and presents it to the front end of Hass.IO through a component.

Image of Solar Panel Image of Gauge

Notes:

  1. Application is written for AppDaemon 4. (I have modified it for AppDaemon 4 but I can't really remember all the steps.)
  2. This will supersede my other project HA_AppDaemonZeverSolar as that project uses MQTT. This is a simpler implementation and has no reliance on MQTT.
  3. No changes need to be made to configuration.yaml as the component will appear to the Hass front end once it runs.
  4. I am running my Hass.IO on a Raspberry Pi.
  5. Reading is updated every 2 minutes (and this can be easily changed in the code).

To implement this sensor:

  1. Install AppDaemon 4.
  2. Configure AppDaemon and make sure that you can run the helloworld application.
  3. Download this code and put it into the "/config/appdaemon/apps/" folder in your Hass.IO device.
  4. In the code, you need to change the IP address to your ZeverSolar Inverter "zeverSolarURL".
  5. Data is updated every 2 minutes. Change the value of "refreshInterval" to have a different value.
  6. In your "/config/appdaemon/apps/apps.yaml" file, put in the following lines of code.
zeversolar_sensor:
  module: appd_ZeverSolarSensor
  class: ZeverSolarSensor

How do you know if its working?

  1. In your AppDaemon log screen, you should be able to see the log as below: Image of AppDaemon log
  2. In the Hass.IO, Developer Tools > States, you can see the below: Image of ZeverSolar entity

Examples of images:

Image of Graph Image of Daily Generation

Enjoy! 👍

About

Get power generation from ZeverSolar Inverter and present it to front end as a sensor for Hass.IO

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages