springfall2008 / batpred

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

iBoost on while discharging #831

Closed dandwhelan closed 5 months ago

dandwhelan commented 6 months ago

Describe the bug iBoost is set to be enabled while discharge is planned.

Expected behavior Turn off iBoost while Discharge is active

Predbat version

7.16.3

Environment details

Screenshots

image

Log file

springfall2008 commented 6 months ago

Fix added to 'main' for the next release

gcoan commented 6 months ago

iBoost using a manual switch

@dandwhelan out of interest how are you controlling your iboost from the predbat binary sensor? I've heard that there isn't a home assistant integration?

Thanks

dandwhelan commented 6 months ago

Fix added to 'main' for the next release

Sorry seems to be the same. Screenshot_20240308_232601_Home Assistant

dandwhelan commented 6 months ago

iBoost using a manual switch

@dandwhelan out of interest how are you controlling your iboost from the predbat binary sensor? I've heard that there isn't a home assistant integration?

Thanks

Trevor mentioned using iboost active state to control the on and off via an automation. Tonight will be my first night seeing if it works

alias: PredBat PVD iBoost description: "PredBat has triggered a iboost for gas that's cheaper than electric " trigger:

springfall2008 commented 6 months ago

Fix added to 'main' for the next release

Sorry seems to be the same.

Screenshot_20240308_232601_Home Assistant

It's a cumulative total for the day so I don't see it increasing during discharge ?

gcoan commented 6 months ago

Trevor mentioned using iboost active state to control the on and off via an automation. Tonight will be my first night seeing if it works

Thanks for sharing your automation, it looks great although personally I have never used device_id nor numeric entity_id's, I just use the HA entity name in my automations. I believe device_id ties the automation to the unique device in HA so if you ever swap the device you need to change the automation - probably a low risk issue, but for me just using text entity id's is more readable.

Anyway I was interested in how you physically are controlling the iboost, whether its a smart switch or a HA control for the iboost itself. On the givenergy community forum someone said that there wasn't any way to remotely control an iboost, and looking on google I could only find an ESPhome based solution. So was interested to understand how people were actually physically turning the iboost on and off (finger bot?) so I could expand the documentation

dandwhelan commented 6 months ago

I'm not sure why HA yaml mode turns my entries into the backend numbers. When I created it with the gui wizard it does use the entity name.

It's a very long story of finding an alternative to iboost. It once used a complex method of pulses within 3.6 seconds of when a electricity meter 'ticks' over. Now my solar export price is 15p and gas is cheaper I don't tend to use it. So, don't have an iboost but Ive turned by a off and in switch that only pumps out 3kwh. I use the predbat iboost functionality to use electric when it's cheaper than gas. That's it. Nothing else. I could have used an automation to control this but predbat gives me the confidence knowing it's not draining the battery when turned on.

Trevor, I must have misunderstood the plan, I didn't know the plan gives a total of kwh used in the day. I thought the plan would tell me when it's going to start the iboost switch at times of the day electric prices are below 7.5.

On Sat, 9 Mar 2024, 09:04 Geoffrey Coan, @.***> wrote:

Trevor mentioned using iboost active state to control the on and off via an automation. Tonight will be my first night seeing if it works

Thanks for sharing your automation, it looks great although personally I have never used device_id nor numeric entity_id's, I just use the HA entity name in my automations. I believe device_id ties the automation to the unique device in HA so if you ever swap the device you need to change the automation - probably a low risk issue, but for me just using text entity id's is more readable.

Anyway I was interested in how you physically are controlling the iboost, whether its a smart switch or a HA control for the iboost itself. On the givenergy community forum someone said that there wasn't any way to remotely control an iboost, and looking on google I could only find an ESPhome based solution. So was interested to understand how people were actually physically turning the iboost on and off (finger bot?) so I could expand the documentation

— Reply to this email directly, view it on GitHub https://github.com/springfall2008/batpred/issues/831#issuecomment-1986800653, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS34JH3DOSNYAOSCTCVEYFTYXLGBBAVCNFSM6AAAAABENCXOROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBWHAYDANRVGM . You are receiving this because you were mentioned.Message ID: @.***>

springfall2008 commented 5 months ago

Trevor, I must have misunderstood the plan, I didn't know the plan gives a total of kwh used in the day.

Yes its an incrementing total, the up arrow shows when the iBoost is active.

gcoan commented 5 months ago

I've expanded and updated the documentation, making it clearer that it can be used to control any solar diverter, not just an iBoost