-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
Allow Agile Octopus Tracking for non-user #294
Comments
Hello. This is already possible, see https://github.com/BottlecapDave/HomeAssistant-OctopusEnergy/blob/develop/_docs/sensors/electricity.md#tariff-overrides and https://github.com/BottlecapDave/HomeAssistant-OctopusEnergy/blob/develop/_docs/sensors/gas.md#tariff-overrides. If you're wanting to mimic you whole setup (e.g. target rate sensors) then be sure to follow #221. |
So I can enable this override without affecting the other sensors which have my 'true' data? |
Correct if you enable them they'll create additional sensors for your previous consumption which represents the override. You then do something like the following to compare your current tariff with your comparison tariff chart_type: line
period: hour
type: statistics-graph
entities:
- >-
sensor.octopus_energy_electricity_xxx_xxx_previous_accumulative_cost
- >-
sensor.octopus_energy_electricity_xxx_xxx_previous_accumulative_cost_override
stat_types:
- state |
Thanks. I might be being dumb but I'm finding the documentation lacking. So I've got my tarriff IDs and codes but what do I do? 'Enable' the control and then run something to set that control text? |
As per the doc (https://github.com/BottlecapDave/HomeAssistant-OctopusEnergy/blob/develop/_docs/sensors/electricity.md#tariff-overrides) you have two sensors, which both need to be enabled. You have the You then have the |
Got it thanks! Presumably this just shows the days cost consumption (previous day) and doesn't allow for a sensor which shows hourly rates? |
Correct. It's used to determine if your current behaviour would be more or less benefical on another tariff. You get the rate that was applied to each consumption (and cost) broken down in the attributes like the non override sensors. |
Thanks. Useful :) Would be nice to have a 'current tarriff' for override too |
I had it setup with |
Correct. The cost override will populate at the same time as the normal cost. If you set it ATM after midnight then it'll be looking for data for the previous day which won't be available. In terms of the sensor reverting, this should only occur if it fails to persist to HA and you restart HA or the integration. I've been using this integration for months and haven't seen this occur myself which would make it hard to fix it there's an issue with repo steps. |
In terms of current tariff override I'll bare this is in mind if I introduce a current cost sensor |
Many thanks for your help. All working now :) Not sure what heppened with the reset but yeah, all good. Thanks! |
Describe the feature
Essentially I'm considering getting agile octopus but would like to track the costs for a while into home assistant so I can calculate whether this would be worth-while for me. It would be quite nice if we could opt to have the agile octopus stats as sensors even though thats not what our account is using. This would be in addition to the existing account sensors.
The text was updated successfully, but these errors were encountered: