Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Other costs #10

Closed
Digital-Ark opened this issue Sep 6, 2022 · 5 comments
Closed

Other costs #10

Digital-Ark opened this issue Sep 6, 2022 · 5 comments

Comments

@Digital-Ark
Copy link

Digital-Ark commented Sep 6, 2022

Hi, I have recently figured out the Toronto Hydro billing formula to the dollar.

This currently scrapes:

<RRROffP>
<RRRMidP>
<RRROnP>

If we could also scrape:

<SC>
<LF>
<Net>
<Conn>
<WMSR>
<RRRP>
<SSS>
<GST>
<Rebate> 

I can write out or send you a spreadsheet that matches against your hydro bill to the dollar every month.

@Digital-Ark
Copy link
Author

I exported my spreadsheet to Google Sheets so that anyone can view the billing formula.

Hoping this spurs some interest in pulling the rest of the XML data from the OEB site. It contains everything needed to replicate your Toronto Hydro Bill (and very likely all other power utilities in Ontario).

https://docs.google.com/spreadsheets/d/14pV23ip7UQH6B72HYhsWEpsCbo_X1aII/edit?usp=sharing&ouid=105585911527314767707&rtpof=true&sd=true

@jrfernandes
Copy link
Owner

This is interesting. Thank you.

If I understand correctly, you're suggesting exposing the values of those other attributes via the added sensor so that you could leverage them to calculate your monthly bill. Is that correct?

@Digital-Ark
Copy link
Author

Yes, together all the XML tags contained in the “Current Residential Rates” Open Data has all the information for residential customers on either the ToU or Tier rate plans to calculate their bill.

If you could pull the remaining attributes, Home Assistant users for all of the listed utilities could calculate their power costs for any period.

jrfernandes added a commit that referenced this issue Jan 18, 2023
Add extra attributes to the sensor
@jrfernandes
Copy link
Owner

These attributes are now live with the release v0.3.2

@Digital-Ark
Copy link
Author

This. Is. Amazing!

Thank you so much! You even credited me and linked the spreadsheet, above and beyond.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants