Skip to content

HA Appdaemon app for the levels in the Snowy Hydro reservoirs

Notifications You must be signed in to change notification settings

simonhq/snowydams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snowy Dams

hacs_badge

Creates sensors for Home Assistant with the Snowy Hydro Reservoir level information

Lovelace Examples

Example of the entities in Lovelace

An Entity has capacity and current volume

Installation

This app is best installed using HACS, so that you can easily track and download updates.

Alternatively, you can download the snowydams directory from inside the apps directory here to your local apps directory, then add the configuration to enable the snowydams module.

How it works

The Snowy Hydro site provides this information, this accesses the data page and makes the information available as sensors in HA.

As this is non time critical sensor, it only gets the information once per day at 5.17am.

I have also set it for you to provide an input_boolean that you specify for when to update the sensor beyond the daily schedule. You can obviously automate when you want that input_boolean to turn on.

To Run

You will need to create an input_boolean entity to watch for when to update the sensor. When this input_boolean is turned on, whether manually or by another automation you create, the scraping process will be run to create/update the sensor.

AppDaemon Libraries

This app requires no special packages to be added to your appdaemon 4 configuration on the supervisor page of the add-on.

system_packages: []
python_packages: []
init_commands: []

App configuration

In the apps.yaml file in the appdaemon/apps directory -

snowy_dams:
  module: snowydams
  class: Get_Snowy_Dams
  DAM_FLAG: "input_boolean.check_snowy_dams"
key optional type default description
module False string snowydams
class False string Get_Snowy_Dams
DAM_FLAG False string The name of the flag in HA for triggering this sensor update - e.g. input_boolean.check_snowy_dams

Sensors Created

This version will create 4 sensors

  • sensor.snowy_dam_last_updated
  • sensor.snowy_dam_eucumbene
  • sensor.snowy_dam_jindabyne
  • sensor.snowy_dam_tantangara

Issues/Feature Requests

Please log any issues or feature requests in this GitHub repository for me to review.

Releases

No releases published

Packages

No packages published

Languages