{"repo":"tedpearson/electric-usage-downloader","free":true,"listed":false,"github":"https://github.com/tedpearson/electric-usage-downloader","clone":"git clone https://github.com/tedpearson/electric-usage-downloader.git","description":"Import smart meter metrics from smarthub into VictoriaMetrics or InfluxDB","language":"Go","stars":53,"topics":["electric","electricity-consumption","grafana","grafana-dashboard","grafana-panel","influxdb","victoriametrics","novec","coop","nisc"],"license":"MIT","category":"analytics","readme_excerpt":"electric-usage-downloader This project reverse engineers the NISC SmartHub api, which is used by hundreds of utility co-ops throughout the United States. This allows downloading 15-minute resolution electic usage and cost data for your personal account if you have a smart meter. In prior versions of SmartHub, it was possible to download CSV exports of 15-minute interval usage data by specifying an \"hourly\" interval, but since January 2024 only hourly data has been available via CSV. That's why I reverse engineered the API instead of automating a download of the CSV as I had previously done. Data can be imported into InfluxDB or VictoriaMetrics, or exported as a CSV file. Config Download config.example.yaml and fill in your own values. - extract days is how many days to look back from the current day. Max is 45. if specific --start and --end flags are not specified. - account is your account number, available on your bill and on the SmartHub website. - service location is an internal SmartHub number, and must be retrieved from your browser: - Open the Developer tools to the Network tab - Navigate to Usage Explorer (example: https://novec.smarthub.coop/ui/#/usageExplorer) - Find a call to services/secured/utility-usage/poll in the Network tab - Open the call, and copy the serviceLocationNumber field from the Payload tab. - timezone needs to be set to the timezone used by your utility. For some reason, the SmartHub API decided to return unix timestamps, but in the utility's time","default_branch":null,"files":null,"tree":[],"storefront":"/r/tedpearson","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tedpearson/electric-usage-downloader/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}