- 51
- 24 687
Trefor Southwell
United Kingdom
เข้าร่วมเมื่อ 20 ต.ค. 2021
Home battery prediction and automatic charging for Home Assistant, also known by some as Batpred or Batman!
Supporting GivEnergy and Solis brand inverters (Sofar in Beta testing)
Supporting GivEnergy and Solis brand inverters (Sofar in Beta testing)
Predbat Internals 2 - Prediction Code (Python)
In this video I cover the Python internals of Predbat around the Prediction itself (Inverter/battery model).
มุมมอง: 64
วีดีโอ
Predbat Internals 1 - Structure overview (Python developer)
มุมมอง 12014 วันที่ผ่านมา
In this video I cover the basic structure of the Predbat Python code. In the following series I will go into detail on each of the components.
Predbat Web Interface
มุมมอง 3792 หลายเดือนก่อน
This video shows the new web interface that has been added to the Predbat Home Battery Prediction software.
Predbat Energy Diversion Modelling feature (aka iBoost)
มุมมอง 3953 หลายเดือนก่อน
In this video I explain about the various options to model energy diversion inside Predbat including Solar diversion, boosting which charging your battery and boosting based on energy rates.
Installing Predbat, Solcast, Dashboard and Plans - New Add On method
มุมมอง 1.5K5 หลายเดือนก่อน
In this video I walk through a new installation of Predbat Add On including configuring apps.yaml. I then install Solcast and create some charts.
Predbat - How to install with the new via Add on
มุมมอง 5985 หลายเดือนก่อน
In this video I show how to install Predbat with its new Home Assistant Add On. This avoids having to use AppDaemon and so is much simpler to use.
Home Assistant - Integrations vs Add-on's and Predbat add-on
มุมมอง 6955 หลายเดือนก่อน
In this video I explain the differences between Home Assistant Integrations and Addon's. I got on to talk about the new Predbat install as an add-on without AppDaemon.
Issues with Solcast hobbist accounts and Home Assistant
มุมมอง 7855 หลายเดือนก่อน
In this video I talk about the recent issues with Solcast and Home Assistant and also how Predbat can now talk directly to Solcast.
Predbat new feature - Calculate your cost savings!
มุมมอง 5255 หลายเดือนก่อน
In this video I talk about the new feature in Predbat which can calculate how much you have saved by having battery/solar and how much you save by using Predbat.
Predbat - New feature, optimising your solar/battery system for Carbon Footprint
มุมมอง 3936 หลายเดือนก่อน
Today I talk about an exciting new feature which allows you to optimise your battery plan for carbon footprint (UK only so far). You can weight your plans towards lower carbon times for import and higher carbon times for export while still controlling costs. I also talk about some other plan optimisation features.
Predbat New Features, GE Inverter Pause, Manual Freeze Charge/Discharge
มุมมอง 4316 หลายเดือนก่อน
In this video I explain the new GivEnergy Inverter pause control in Predbat and talk about support for Manual Freeze Charge and Freeze Discharge controls that have been added.
HomeAssistant - Givenergy Cloud Integration (updated)
มุมมอง 3967 หลายเดือนก่อน
GivEnergy Cloud integration for Home Assistant allows Givenergy inverters to be monitored and controlled via the cloud.
Introduction to PredAI - A Home Assistant Add-on for Neural Prophet
มุมมอง 7107 หลายเดือนก่อน
PredAI is a Home Assistant Add-on for Neural Prophet which is a time series predictor based on PyTorch. PredAI can be used to make future predictions about Home Assistant Sensors
predbat - what's new 7th April 24
มุมมอง 2307 หลายเดือนก่อน
I share a few highlights of what is new over the last month.
Givenergy Cloud integration (old)
มุมมอง 1778 หลายเดือนก่อน
In this video I show how the Givenergy cloud integration works
Predbat - GivTCP Auto Restart Feature
มุมมอง 1949 หลายเดือนก่อน
Predbat - GivTCP Auto Restart Feature
Predbat - Python development environment with VSCode and Github copilot AI coding
มุมมอง 739 หลายเดือนก่อน
Predbat - Python development environment with VSCode and Github copilot AI coding
Predbat - Charging Curves and Low power charging mode
มุมมอง 3279 หลายเดือนก่อน
Predbat - Charging Curves and Low power charging mode
Predbat - managing saving sessions and power ups
มุมมอง 3229 หลายเดือนก่อน
Predbat - managing saving sessions and power ups
Predbat feature: Manual plan overrides for force charge/discharge/idle
มุมมอง 1889 หลายเดือนก่อน
Predbat feature: Manual plan overrides for force charge/discharge/idle
Predbat settings save restore feature
มุมมอง 10910 หลายเดือนก่อน
Predbat settings save restore feature
Predbat installation - Predbat, Solcast, Dashboard, Charts and Plans (old)
มุมมอง 1.7K10 หลายเดือนก่อน
Predbat installation - Predbat, Solcast, Dashboard, Charts and Plans (old)
Installing MQTT and GivTCP on Home Assistant
มุมมอง 1.1K10 หลายเดือนก่อน
Installing MQTT and GivTCP on Home Assistant
Setting Up HomeAssistant Basics, File Editor, SSH, HACS, Octopus, eWelink
มุมมอง 2.6K10 หลายเดือนก่อน
Setting Up HomeAssistant Basics, File Editor, SSH, HACS, Octopus, eWelink
Predbat - how to tune your system for better performance
มุมมอง 71610 หลายเดือนก่อน
Predbat - how to tune your system for better performance
Predbat - Controlling my car charging based on Predbat slot
มุมมอง 32210 หลายเดือนก่อน
Predbat - Controlling my car charging based on Predbat slot
Predbat - Creating a dashboard (auto generated and dynamic entity)
มุมมอง 26910 หลายเดือนก่อน
Predbat - Creating a dashboard (auto generated and dynamic entity)
Can I use Predbat to plan/predict my potential savings? I am wanting to get Solar & Battery installed but I want to get a good idea on the ROI before I get serious about it. It would be great if I could simulate it?
It's possible but not currently a supported use model. You might want to try this simple model for those who don't have a system: github.com/springfall2008/Solar-Energy-Model
This maybe a better solution: github.com/hif2k1/battery_sim
Do I need GivTCP for a victron that is already talking with HA and has all the sensors and entities OK?
Givtcp is only for GivEnergy, you would need the Victron home assistant integration
You should add some tags to your videos to make them easier to find on youtube. For starters you could ask ChatGPT to get quick tags: Battery Automation Inverter Types Solar Inverters Battery Management Systems Renewable Energy Energy Storage Lithium-ion Batteries Off-grid Systems Grid-tied Inverters Hybrid Inverters Smart Energy Solutions Power Management Home Energy Storage Clean Energy Technology Sustainable Power Solutions
How did you get it to find nest devices?? Have have some cameras id like to get in there as the firealarm thingy.
Nest setup is quite complex but you can google the method
Thanks for posting the video. I have a question for you. I have a bluetti home battery AC500 and smart plug and I am planning to install solar panels soon. In the meantime, I'd like to optimize charging the battery from the grid at the lowest available rates (octopus agile), either during the cheap overnight tariffs or possibly during low-cost daytime slots. My electricity rates drop significantly when it's windy, sometimes even going negative, meaning I get paid to use electricity. The rates are updated every half-hour, and I can access next day's pricing in advance. However, if my battery already holds enough charge to last through the next day and the prices are high, I don't want it to charge unnecessarily. I'd like to automate the charging process to ensure it's as economical as possible. I hope this makes sense.
Predbat already understands the import rates, you just need to configure your inverter
@@springfall2008 I can get all the metrics from the inverter just not sure how that would be added into the config files in predbat.
Finally, a solution to my getting started confusion.
Found all the mistakes you made very instructful, gave a good grounding in navigating around Home Assistant. Thank you
Super tuto. Merci
Super useful video, my predbat doesn't seem to be spitting out the example charging curve into the logs, any reason why that would be?
Probably not enough data
i whould been appriciatede if you showede it a bit better, its a bit confusing to follow along on this one??
Really helpful, thanks Trefor! Working a treat ready for a free energy session tomorrow at 1pm.
Thanks so much for sharing this. Is a raspberry pi the best device to install all of this?
I'm planning my migration from the appdaemon version to the addon, is it as simple as copying the apps.yaml from one instance to another, or should I be factoring in more time to clear out the existing application and entities before cutting over?
Really helpful. Thank you.
Great Video Trefor, Have you had any of the beta fast response firmwares for the gen 1 yet? If so, has your charging curve altered because of it? I've seen a large increase in my discharge rate up to approximately 2.7kwh.
Yes, the I found the charge curve slowed don't, I didn't notice the discharge change mine is reporting 2.4kw
@@springfall2008 Interesting, I wonder if it's anything to do with the Battery version? I have a 9.5kwh battery. I also notice that I now never get to 100% charge on the overnight IOG charge. I normally get to about 97%, as predicted by Predbat. I presume it's less efficient wasting time at the slower charge rate.
how to add charging slots - when not on IOG. I am on Agile import - so could you advise how should I add the slots for Predbat Slot ON
Use Predbat smart charging enabled, set your ready by time and desired charge level and predbat slot will toggle accordingly. You then link this to an automation in HA to control your car charging.
Can predbat run the battery in a way that is simultaneously charging from solar and discharging to the grid??
You can't both charge and discharge the battery at once, but when the battery is discharging the solar will also be exported up to your inverter limit.
Hi Trefor. I have installed the solcast template in predbat and the solcast integration but I'm not seeing any solar forecasts in the Solar Forecast chart, only actual solar. I notice in your video that you have a section with PV Today and PV Tomorrow. I don't see these on my control panel. Is it because I'm still running in Monitor mode? Thanks.
Monitor mode would not impact this. You might want to check if the apps.yaml settings is matching your solcast install correctly.
Nice, your video helped to find File Editor ...
Hi, via Gary I came to your channel. I just installed the Appdaemon-Predbat combined install, and then I got lost because there is no addon_configs folder, nor an apps.yaml file. Was I supposed to create that (blank) before installing, or should it have come with home assistant?
I think you probably need to turn of enforce root in your editor setting and then go up one folder
Hello, For me the mqtt configuration discovery isn't showing. I don't get any device as in your video from 7.49 minute. Could you give a direction how to resolve this? As I am not getting now any device and sensors
There’s two halves to Mqtt an integration and an add on, did you install both ?
@@springfall2008 I have the Add-on Mosquitto broker and I have the Integration MQTT. On the Add-on do I need to install an additional one?
I am having the same issue - have made sure I have performed both installs properly
I have found the issue with my configuration - Under GivTCP Config Inverter 1 - Is it on old firmware. Default is On. turn it off. At least that made devices appear!
@@springfall2008 Hi I want to inform you that the problem is resolved!
I cant figure out how to setup the config. Its not automatically created so I added it myself but after a restart the entity is not showing.
In theory it should be there but empty (all commented out)
Hi Trefor, Please whats the status of support for other Inverters, specifically Solis hybrid's? Thx Andy
Please see: springfall2008.github.io/batpred/other-inverters/
Thanks, I saw this page, but the page says, the support is in various states of testing and may fail, I’m asking for a more precise status? Thanks
Thanks Trefor, useful run-through of what the predbat add on is. Is there still a plan to make predbat into a HA integration, or are you going to stick with it being an add on? Also I think you alluded in the release notes that in time predbat within appdaemon will be retired? I run another appdaemon app Octoblock to calculate the cheapest agile slots for the dishwasher etc so personally I'd keep with appdaemon as otherwise I'll be running an extra add on docker image. For others that only run predbat it wouldn't make much difference
I think the idea was to drop appdaemon eventually as its a lot of hassle to support and seems not to be easy to get bugs fixed in it.
is there an easy way to take the pv_today data and plot it as forecast data on the default energy dashboard in HA?
There's a chart template in this file near the end: github.com/springfall2008/batpred/blob/main/templates/example_chart.yml
Thanks Trefor, integrating solcast into predbat should make it easier for new users. As an alternative to solcast, I had a quick look at the open source open-metro integration and the forecast.solar integration. At the moment both of these only support a single set of panel orientations and as I have panels on both sides of my roof I need a forecast for both arrays which solcast supports (although it does consume 2 API calls to retrieve the two data sets) so I think I'll need to stick with solcast.
I have 6 arrays in forecast solar ... works just fine. Solcast just the one, averaged for azimuth and tilt
I don't find forecast.solar very accurate I'm afraid
Ive put this install off. Each step I get a different error . currently I don't have a predbat_dashboard.yaml Im also getting some errors in the add on log that I do not understand./ hmm
Is suggest popping into the Facebook group for support
This is really helpful and now makes much more sense! Well done Trefor.
I've set this up on my own system through your video guides and the documentation. Absolutely mind-blowing work. Dropped you a small token of appreciation via PP as I have nothing to contribute technically :)
Could I use the history data of the energy dashboard for this? Im trying to estimate a yearly kwh consumption for gas and electricity
Probably not as you need half hourly data rather than daily
I have installed but I dont see any predbat_dashboard.yaml file in the home assistant directory
It's recently moved to the addons_config directory for Predbat
@@springfall2008 I can only see hello.dash
How can you install a previous release?
Just select the version you want from the update drop down menu
The ability to manually select freeze charge and freeze discharge is useful, thanks Trefor, but at the moment Predbat is doing a great job without me needing to change anything! One minor thing, if you have the new ‘fast response’ firmware for the Gen 1 inverters (D0.191-A0.193) and turn off the ‘is it old firmware’ toggle in GivTCP then you get all the new capabilities that the Gen 2, 3’s & AIO’s have - battery pause mode, pause start time and pause end time - as well as local control mode and PV input mode. This Gen 1 firmware is available on request from GivEnergy support but your inverter needs to be manufactured after week 10 2022
Hi Trefor, Predbat dashboard isn't under HA in File editor anymore, do you know where it is?
Now moved to the addons configuration directory for Predbat
Is there a way to integrate import Agile Tariffs in PredBat?
Yes Agile is supported
is it possible that you could help me out with appdaemon issues ??
If you raise a ticket on github on on the Facebook group you can get support for this
Thanks
Followed video unfotunately cannot annot see predbat.dashboard.yaml witihin the homeassistant folder
Maybe check the addon directory also, the path it’s written to is in the logfile
Ive set this up but wondered if any had thought of using it with anything else, such as Solar PV Forecasts? I'm finding that my Solcast forecast I use with Predbat is normally quite close to actual except when its cloudy, and I wondered if the weather forecast, previous and future, could be combined with PV history and Solcast History to better adjust the Solcat Forecast somehow?
Keep in mind pv10 Scenario is also used
The advantage of this approach is I suppose lighter weight footprint on Home Assistant (don’t need the GivTCP and Mosquitto add-on’s) but with the disadvantage of it being a cloud connection so reliant on inverter to GivEnergy cloud and back down again, and only 5 minute data update frequency which is all that the inverters push to the GivEnergy cloud
Great work Trefor, an impressive amount of development going into Predbat 👏
Can you share your yaml for the collapsible card please? I get that it’s got to be my inverter number. Could quite read it in the video.
There’s two parts to it, the collapsable card and the dynamic card that retrieves a set of entities with a particular matching string. An example of using it is in the predbat documentation under ‘Displaying Output data’
Here’s an extract with two levels of collapsable cards: cards: - type: custom:collapsable-cards title: 🔀 Control defaultOpen: false cards: - type: custom:collapsable-cards title: 🔀 Switches defaultOpen: true cards: - type: custom:auto-entities card: type: entities filter: include: - entity_id: switch.predbat* exclude: [] unique: true sort: method: friendly_name numeric: false - type: custom:collapsable-cards title: 🔢 Input Variables defaultOpen: true cards: - type: custom:auto-entities card: type: entities filter: include: - entity_id: input_number.predbat* exclude: [] unique: true sort: method: friendly_name numeric: false
It's actually in github under templates also
Great to see NeuralProphet starting to be used! How did you get around the issue with PyTorch not running on Alpine - does it run in a separate container?
I made an add on with Ubuntu instead
This is really useful- thanks for taking the time to do it. Just summoning up courage for the hardware build necessary to run this on my Solis inverter!
Great videos! I'm looking into installing this for my setup. I am wondering the following though; I am from the Netherlands, so we don't have Octopus here. We do have Dynamic, hourly tariffs however. Is there a way to use this integration with constant fluctuating tariffs? Cause as far as I read now, it only either works by manually adding the tariffs (which isn't an option with those changing hourly) or with Octopus. Hope you can clarify before I dive into this integration, only to find out it's not suitable for my situation. Thanks!
If you have the tariff data somewhere then you can connect it to Predbat, e.g. Nordpool integration used in some places does work.
@@springfall2008 I tried adding them (sorry, I'm pretty new to all this) but it keeps telling me that it should be in the format of Octopus tarifs. Where can I add them exactly?
@@NoFe87 What this "them?". Nordpool HA integration can be used e.g. metric_octopus_import: 'sensor.nordpool_kwh_oslo_eur_3_10_025'
@@springfall2008 Not sure what I did wrong before, but it works now. Thanks a lot for your replies!
Is there a way of applying an override to a specific day each week without manually editing the config each week? This is to support British gas peaksave sundays where electricity is half price every sunday between 11:00 and 16:00.
I'm not sure day of the week is an option in the override but it could be added, please feel free to file a feature ticket in Github.
Thanks for these videos and all the work you have done on Predbat. It is really appreciated. I am still only using it in Monitor made ATM, but about to dip my toe in the water! I do have a question about best rates to import and export at. Unless I have missed them the rate for best import (shown as 30p in your video) is not changeable anywhere as for me that is way too high and 95% of my slots show as being best for importing. WOuld it be possible for a variable to be introduced that we can change. Apologies if ti is there, but I haven't been able to find it. I would like to set it to around 20p ATM and with the price reductions coming potentially lower - this would apply to the export rates as well. TIA
The import rate by default is dynamically determined (rate threshold set to 0) so you don't need to adjust it, but you can also set it to percentage e.g. 0.8 would be 20% lower than the average day rate
*Promo sm* 😋
Thanks - Got me up and running !
hello. i really like your setup and predbat as whole. are you able to share fronted hass setup? thank you
What are you interested in, the hardware or the way HA is configured ?
@@springfall2008 I love your dashboards on home assistant. Are you able to share the setup as text file or yaml . I'm techy but can't script or program so this would be great help. Thanks
hello. I am using predbat and it is great tool. are you able to share fronted home assistant setup somewhere? thanks in advance.