Skip to content

yurividal/Switch2-energy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Switch2-energy

Gets energy usage data from switch2.co.uk and stores it in influxDB

Grafana Screenshot Grafana Dashboard with the data

How to Use

  • Install all necessary dependencies using pip
  • Add your switch2.co.uk credentials and influxDB credentials to the script
  • Choose if you want to grab all the data or just the latest measurement
  • Run the script

Obs: If you just need the data and don't need to send it to influxDB, set write_to_influx = False

Credits

Special thanks to @skrobul and his project Switch2Dump for the inspiration. I simply adapted his project to use python instead of ruby and influxDB instead of postgre.

About

Gets data from switch2.co.uk and stores it in influxDB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages