-
Notifications
You must be signed in to change notification settings - Fork 26
Feature Request - agile predictions #88
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
Comments
FYI, the OE Greenness Forecast only gives a forecast for 23:00 to 06:00 each day. |
The Agile Predict site, here, has a nice API, and it's easy to get that into HA: This seems to stretch for a week - and is not official, but seems to be a good guide to what the prices could be. |
You could try this ... https://github.com/elyobelyob/octopus-energy-greenness-forecast-card ... I didn't want to mention it myself, but it's what I use ... |
type: custom:apexcharts-card
experimental:
color_threshold: true
header:
show: true
title: Greenness Forecast
graph_span: 7d
span:
start: hour
apex_config:
chart:
height: 135
stroke:
width: 4
xaxis:
labels:
format: ddd
series:
- entity: sensor.octopus_energy_a_xxxxxxxx_greenness_forecast_current_index
name: Forecast
show:
in_header: false
legend_value: false
color_threshold:
- value: 0
color: red
- value: 40
color: orange
- value: 80
color: green
data_generator: |
return entity.attributes.forecast.slice(0, 7).map((entry) => {
return [new Date(entry.start), entry.greenness_score];
});type: '' Not sure where I got this from so can't give credit unfortunately. |
Thanks so much for the help. I like Apex charts, and use it to show price predictions from Agile Predict. However, I really like the octopus-energy-rates-card view - e.g. the colour-coded table with prices. I'd love it if there was the ability to add data for several days ahead --- e.g. just extending the chart beyond 11pm tomorrow. I have the data for this - it comes from the Agile Predict API - but I think to add this there just needs to be another option in octopus-energy-rates-card; e.g. you could have an "agileEntity" property which would work in a similar way to "futureEntity" but just further into the future. |
Would you consider adding the ability to include Octopus Agile predictions? It would be especially useful to have predicted rates for a day or two in the future.
This data is already easy to get into Home Assistant, so I think it would just be a case of adding another config item to set the sensor.
The text was updated successfully, but these errors were encountered: