Closed tmorris0221 closed 1 month ago
Hi @tmorris0221, the easiest way to run this would be to download one of the binaries that matches your system from the releases page, make it executable (chmod +x filename
) and run it via ./filename
.
Hope this helps, let me know if you have more questions.
Thanks for the help.. I downloaded the linux arm release. When I attempt to execute, I get the following error back...
➜ electric-usage-downloader ./electric-usage-downloader-linux-arm --config config.yaml --debug Start date: 2024-09-14 00:00:00 -0400 EDT End date: 2024-09-23 23:59:00 -0400 EDT Authenticating with SmartHub API...
DEBUG: Response from auth endpoint: {"status":"SUCCESS","authorizationToken":"..."
Fetching data from SmartHub API...
DEBUG: Response from poll endpoint: <!DOCTYPE HTML>
panic: All attempts fail:
goroutine 1 [running]: main.main() /home/runner/work/electric-usage-downloader/electric-usage-downloader/main.go:9 +0x38
I don't see anything very interesting in that output. Seems like as you said, they just don't support downloading or if they do it's not at that url.
I've been chatting with my provider and it doesn't appear they support exporting the data to any thing other than a print chart, which is lame. Thanks for your responses and the help thus far. If they ever update their site, maybe I'll revisit this.
Booooo. Sorry to hear that. I'll close this issue for now then, best of luck.
I was able to follow the instructions on how to setup the config.yaml file but not sure where to go after that. I have setup an Influxdb on my HA. Any assistance with next steps? I see all the contents under internal/app but unsure what to do with those.