Giter Site home page Giter Site logo

bytebrewerjb / ha_appdaemonzeversolarsensor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cheongkoo/ha_appdaemonzeversolarsensor

0.0 0.0 0.0 143 KB

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

License: GNU General Public License v3.0

Python 100.00%

ha_appdaemonzeversolarsensor's Introduction

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! ๐Ÿ‘

ha_appdaemonzeversolarsensor's People

Contributors

cheongkoo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.