Update README.md

master
CheongK 2020-04-14 20:35:08 +10:00 committed by GitHub
parent 23bc9f7d9f
commit 24d9f661df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 21 additions and 0 deletions

View File

@ -11,3 +11,24 @@ Get power generation from ZeverSolar Inverter and present it to front end as a s
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 3.
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](https://github.com/CheongKoo/HA_AppDaemonZeverSolarSensor/blob/master/images/Appd_ZeverSolarSensor_log.py.png?raw=true)
2) In the Hass.IO, Developer Tools > States, you can see the below:
![Image of ZeverSolar entity](https://github.com/CheongKoo/HA_AppDaemonZeverSolarSensor/blob/master/images/DeveloperToolsStates.png?raw=true)