Replies: 1 comment 3 replies
-
You may need a couple af automations (one to start the charge and one to stop the charge when battery is almost full or when price exceeds a threshold). The code in the wiki are just examples to help you get started. I just updated the examples in the wiki with this second time based trigger. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I’ve used the really helpful wiki to enable automation to charge my battery when the intelligent octopus import rate is low.
input_number: no_discharge_price_threshold: name: No discharge price threshold unit_of_measurement: € min: 0 max: 0.50 step: 0.001 charge_price_threshold : name: Charge price threshold unit_of_measurement: € min: 0 max: 0.5 step: 0.001 charge_duration : name: Charge duration unit_of_measurement: s min: 0 max: 18000 step: 3600 target_soc : name: Target SOC unit_of_measurement: '%' min: 50 max: 98 step: 2
However when the battery reaches 100% it immediately starts to discharge even though the rate it still low.
Is there a way I can change this automation to continue to keep the battery charging until the rate goes back up? (or keep the battery at 100% and the house load taken from grid until the rate goes back up).
In my test last night the battery started discharging about 4am even though the low rate on Octopus stays until 5.30 am.
Beta Was this translation helpful? Give feedback.
All reactions