springfall2008 / batpred

Home battery prediction and charging automation for Home Assistant, supporting many inverter types
https://springfall2008.github.io/batpred/
95 stars 33 forks source link

iBoost Alternative Gas Price Source #951

Closed dandwhelan closed 2 months ago

dandwhelan commented 2 months ago

Is your feature request related to a problem? Please describe. I used iBoost in a backwards, non-traditional iBoost way. I want to manually enter a fake gas price with an input.number.namehere field. Predbat doesn't seem to allow me to use inputs and only accepts the sensor "sensor.(octopusenergy|)gas[0-9a-z]+[0-9a-z]+_current_rate)'"

I'd like to use ...

metric_octopus_gas: 'input_number.gasprice'

Describe alternatives you've considered Manual HA Automations

Additional context Can you please also allow iBoost today accept multiple sources to populate the KWs used? Abit like how you can add more in 'car_charging_energy'

Thanks

dandwhelan commented 2 months ago

So I use the use iboost when cheaper than gas. Another way you could do this is implement the car don't charge over x price into iboost.

springfall2008 commented 2 months ago

There is a version now on main where you can set the gas rate manually like you do electric e.g.

rates_gas:
  rate: 5.0
dandwhelan commented 2 months ago

Nice one. Thanks

On Sat, 20 Apr 2024 at 11:53, Trefor Southwell @.***> wrote:

There is a version now on main where you can set the gas rate manually like you do electric e.g.

rates_gas: rate: 5.0

— Reply to this email directly, view it on GitHub https://github.com/springfall2008/batpred/issues/951#issuecomment-2067637045, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS34JH3SKNEXTN5L6JHOTK3Y6JCLDAVCNFSM6AAAAABGGBXEQGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRXGYZTOMBUGU . You are receiving this because you authored the thread.Message ID: @.***>