Comments (13)
@maxistviews - I thought about hard-coding it, the problem is that the on-peak and mid-peak periods switch during winter time. I didn't research if it's always the same time of the year or not, but it will definitely make things tricky, especially when odd events happen, like when in 2020 Ontario applied a 24-hour fixed rate.
I do however have an idea on how to get the current peak leveraging the site of one of the hydro companies. We should have this working again this weekend.
from ontario_energy_board.
Life is good...Thx for resolving the issue. Much appreciated
from ontario_energy_board.
That's fantastic, thank you! :)
from ontario_energy_board.
droff:
Your comment regarding the utility meter caught my eye. Based on my experience with this component it simply reports on the $ kWh rate charged during the appropriate timed tiers…the utility meter still plays a role and perhaps the integration component in calculating the daily and monthly $ consumption values.
I guess you can have an automation trigger on the state of this component..if you capture the old and new values you can calculate your consumption based on the kWh change over the period…perhaps I am missing something in how this component was intended to be used…can you share your insight on how you intend to use this…
from ontario_energy_board.
Unfortunately, it appears that that the OEB site no longer includes a page indicating the current peak. That didn't last long :/
The rates are still being pulled successfully, as it's part of their Open Data initiative. As for getting the current rate, we will need a new method to get that. I might take a shot at it during the weekend.
from ontario_energy_board.
droff:
Your comment regarding the utility meter caught my eye. Based on my experience with this component it simply reports on the $ kWh rate charged during the appropriate timed tiers…the utility meter still plays a role and perhaps the integration component in calculating the daily and monthly $ consumption values.
I guess you can have an automation trigger on the state of this component..if you capture the old and new values you can calculate your consumption based on the kWh change over the period…perhaps I am missing something in how this component was intended to be used…can you share your insight on how you intend to use this…
@kwkid - the way I'm using this component is with the Home Assistant's Energy monitoring functionality, where you can assign this sensor with any energy monitoring attribute you add there. It works great and no need for any automation or tariff settings madness as before.
from ontario_energy_board.
As for getting the current rate, we will need a new method to get that.
Looks like Alectra posts the current peak and rate on their site: https://alectrautilities.com/time-use-pricing
from ontario_energy_board.
The problem with that is that they're updating the value of that element via JS on the client-side. The HTML will always have mid-peak
hard-coded.
from ontario_energy_board.
@jrfernandes
Might be best to hard-code the peaks in ourselves at this rate and maybe scrape the holiday chart linked below to know when its 100% offpeak. Or hard code in those holidays as well?
https://www.oeb.ca/consumer-information-and-protection/electricity-rates/time-use-holiday-schedule
from ontario_energy_board.
Great to hear it! Definitely looking forward to it :)
I think as a safety measure fallback, I will hard code a sensor myself and then use it only if this integration fails again ;) The OEB website makes it pretty clear that summer and winter time periods have consistent peaks, so I'll use that for my sensor.
Id be surprised if we'd get the 24 hour period again as that was just to do with the lockdown measures. But holidays that fall on weekends would need to be something to add to a hard coded sensor.
from ontario_energy_board.
I remember reading that when holidays that fall on weekends the following Monday will be off-peak. Should be confirmed.
Though, I do like the idea of having a fallback in case integration can't reach the EOB or other website. I might include something for that as well.
from ontario_energy_board.
Hi, I'm not able to get any data for Toronto Hydro (residential). My sensor says "unavailable":
sensor.toronto_hydro_electric_system_limited_residential_rate
from ontario_energy_board.
This issue should now be solved and the sensor is working once again.
@maxistviews - I took your advise and just added logic to figure out the current peak without scrapping the web.
from ontario_energy_board.
Related Issues (20)
- "Error setting up entry..." after latest update. HOT 2
- No longer working HOT 3
- OEB breaks workday; holidays version conflicts HOT 1
- Unable to import component: No module named 'hijri_converter' HOT 1
- Error adding this integration HOT 6
- Add support for ULO rates HOT 14
- Failing with HA 2023.8 HOT 4
- Rates missing HOT 1
- Cannot install on HA 2023.10.5 HOT 3
- "Green Button" HOT 1
- DIfferent OEB rate class HOT 3
- Request: Hourly Ontario Energy Price
- Offer both ULO and TOU rates as separate entities? HOT 4
- ULO - Hydro Ottawa Limited (RESIDENTIAL) [Electricity] Rate sensor (under Ontario Energy Board v0.4.0) is not working anymore HOT 5
- Gas Supplier Rates not showing under 0.4.0 HOT 2
- Enbridge Gas Rate Selection Leads to update failure HOT 2
- Errors after upgrading to HASS 2024.4.4 HOT 2
- Time of Use / Tiered
- Failed setup with 0.4.1 HOT 2
- Detected blocking call to import_module inside the event loop
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ontario_energy_board.