Skip to content

Latest commit

 

History

History
34 lines (32 loc) · 1.2 KB

README.md

File metadata and controls

34 lines (32 loc) · 1.2 KB

Track river levels on rivers in the US and UK (other countries coming if people send me a link to the rest API for json.

Install: Download the py file from this repository into your appdaemon app directory.

Update your appdaemon.cfg file with the following information.

  • [unique name]
  • module=riverlevel
  • class=riverlevel
  • country=<two letter country identifier only US and UK currently supported>
  • controlname=<name of HA sensor to display information in> sensor.mississippi_at_memphis for example. It does not have to already exist. It will be created for you if it does not exist.
  • stationid=<stationid of station to retrieve information on>
The following is an example of an appdaemon.cfg file listing information for two rivers, one in the US and one in the UK.
[riverlevel2]
module=riverlevel
class=riverlevel
controlname=sensor.river_1029TH
stationid=1029TH
country=UK
[riverlevel3]
module=riverlevel
class=riverlevel
controlname=sensor.river_mem
stationid=07032000
country=US