Ontario Canada will be able to pull their data from Green Button

You can use this tutorial to learn how to use Google Cloud Run to deploy the function I provided.

it is kinda funny that it seems easier to use a private api instead of the green button service

Milton has the Green Button portal but it is not integrated yet. I was able to login into it previously but been getting errors today.

Following …

I’ve successfully implemented initial data dump via green button using github repo:

Other things I’ve done:
Installed integration ‘Folder Watcher’ and ‘Pyscript Python scripting’
What’s this for:
When i drop a new GreenButton.XML file in a predefined folder, the file watcher will trigger an event ‘completed’ and a python script will automatically call a service to take the new electricity data and move the new file to /Done folder.

Why:
i tried to scrape/download the data directly via python script - to get new data daily automatically from GreenButton Hydro Ottawa, but its throwing constant 403 forbidden.
i suspect bot detection but i wish i could find ways to automatically download a new file daily into specified folder.

Final thoughts on this:
If i can get live data that would be awesome.
if i can get the greenbutton data auto downloaded, thats 2nd best thing (Green button data is always atleast 12 hrs delayed.)

As always am still looking for some new opportunities to improve…

Also checkout this Ottawa Parking project i’ve done recently… :star2:

I actually got this working with GitHub - argilo/gr-elster: A GNU Radio block that decodes packets transmitted by Elster R2S smart meters · GitHub that was linked earlier in this thread using a little receiver I got off of amazon. It emits power data every 6 hours, but it was able to decode it. The meter ID was written right on the meter, the “LAN ID”.

I was also able to get the neptune water meter hooked up trivially, and it emits data every minute or so! Hooked that up to also apply the tiered usage rates from the city, and it is working quite well:

Unfortunately the same receiver can’t listen to both at the same time, oh well. I ordered a second antenna so that I can listen to both simultaneously, probably overkill as you could do a time sharing system to listen for power data, but it transmits so infrequently i don’t want to miss it.

I actually just had an AI hook all of this up btw, i didn’t touch anything. But for anyone willing to invest in the hardware, pulling the radio works great for these two.

Enbridge on the other hand - looks like they literally still send a guy out to go read it lol. Guess I can just do the same, or try the green button workaround.

For what it is worth green button exports for power are probably fine, the granularity even from the live radio data is only every 6 hours so it isn’t much better.

Finally ready to release my HydroOttawa downloader app for home assistant

[see post for the new integration] (Hydro Ottawa Green button xml downloader)

[direct to repo] (GitHub - scubaandre/HydroOttawa_xml_scraper: A HomeAssistant app (add-on) that drives Browserless to download Hydro Ottawa Green button data from hydroottawa.savagedata.com · GitHub)

People here may be interested in Utility energy data integration via Green Button Connect.

I've published a working guide for this — covers Enbridge Gas (Green Button XML) and Milton Hydro (hourly Excel) with Python scripts to import directly into InfluxDB and Grafana: Unlocking Green Button Data for Home Assistant Includes TOU rate calculations and the Milton Hydro portal bug workaround as of July 2026

Came across this project, pulls data in with about hourly accuracy.