Releases: elden1337/hass-peaq
Critical bugfix to charger
Changes
- #146 Issue that could cause charger to not resume after an intermediate pause during a session (when peak is reached or non-hour invoked etc)
Has Peaqev helped you save money? If so, please consider buying me a coffee or becoming a Github-sponsor. Every bit helps and is much appreciated!
Bugfixes to charger-module
Changes
- Stability fixes to not allow interim amp-updates when charger is about to stop
- General stability and refactor
Tip
If you are using the scheduler, and awaiting the scheduler 2.0 (which will come, but it takes time), you may use an automation like this example to trigger your daily charge at the lowest hours possible (I should hope, report bugs if you find them). Since Peaqev doesn't know the SoC of a connected car, this is the way to let the system know how much you desire until a set time:
alias: Peaqev - Create weekday scheduler
description: "Set peaqev scheduler at 17 sun-thu, for departure at 0700 next day"
trigger:
- platform: time
at: "17:00:00"
condition:
- condition: template
value_template: "{{now().weekday() == 0 or now().weekday() < 4}}"
action:
- service: peaqev.scheduler_set
data:
charge_amount: 4
departure_time: "{{(as_timestamp(now()) +50400)|timestamp_custom('%y-%m-%d %H:%M')}}"
mode: single
Has Peaqev helped you save money? If so, please consider buying me a coffee or becoming a Github-sponsor. Every bit helps and is much appreciated!
Smart outdoor plug - chargertype
There's a new chargertype in town!
In order to help a broader crowd, I've started to implement support for smart plug/outlet as chargertype.
This type requires a connected plug which can report power-usage and has an on/off switch. Both are added in the config-flow if you choose that type as charger.
A few important things to note:
- Peaqev cannot control which outlet you use for this. Make sure to use a secure, outdoors compatible and reliable one, fit for more power than you intend to charge with
- Set your travel-charger to the lowest possible amps before connecting (peaqev obviously cannot update the amps for this chargertype, so in order to stay below peaks and charge when elprice is lowest, go as low as you can)
- You utilize all things here at your own risk. So once again, be sure to pick a secure outlet
This type is considered beta, some initial function tests have been carried out, but it might not even start for you. Please report issues in the issues-section as you find them, and we'll try to make this one possible together.
Changes
- #144 - Smartplug chargertype
- Misc fixes to hourselection to hopefully stabilize updates from Nordpool
Has Peaqev helped you save money? If so, please consider buying me a coffee or becoming a Github-sponsor. Every bit helps and is much appreciated!
Refactoring and bugfixes
Main point of this release is a large restructure where more things have been moved to the core-repo. This will increase the testability for the project and will hopefully bring a more stable release-cycle going forward.
I have also made an effort to create a better calculation of the hourselection, scheduler (still funky so use with caution or help me out) and top-up functions as well as tried to fix a few reported and non-reported bugs.
All in all it's a large release but without a lot of new stuff this time around.
Make sure to report errors as soon as possible.
Changes
- #138 (hope this works now, we'll see in a few days)
- #140
- #141
- elden1337/peaqev-core#53
Has Peaqev helped you save money? If so, please consider buying me a coffee or becoming a Github-sponsor. Every bit helps and is much appreciated!
New session sensors and misc bugfixes
I Want to hear from you
Peaqev community is growing, and I really want to hear your thoughts and ideas. Hit me up with issues, discussions or on twitter @elden1337
Changes
- New sensors
peaqev.session_energy
andpeaqev.session_cost
- Structural changes between the HA-repo and Core-repo
- General bug-fixes
Since this is a larger release (for backend) and time to test has been scarce, please report any issues as soon as possible.
Has Peaqev helped you save money? If so, please consider buying me a coffee or becoming a Github-sponsor. Every bit helps and is much appreciated!
Bugfix to scheduler
Bugfixes and new locales
Changes
- #135 Better disctinction between 1-phase and 3-phase charging detection
- elden1337/peaqev-core#47 Tests implemented for Scheduler and Session
- elden1337/peaqev-core#46 Scheduler auto-cancelation on certain events
- Improvements to negative consumptions (in particular when using solar panels)
- General stability improvements and logical re-structure to hourselection, top-up and scheduler
New Locales:
- elden1337/peaqev-core#43 Telge Energi (Sweden)
- elden1337/peaqev-core#42 Mälarenergi (Sweden)
- elden1337/peaqev-core#41 Mellom (Norway)
New Locales (Norway and Sweden)
Changes
Added Locales
- Falbygdens Energi, Sweden - elden1337/peaqev-core#36
- Elvia, Norway - elden1337/peaqev-core#37
- Lede, Norway - elden1337/peaqev-core#38
- BKK, Norway - elden1337/peaqev-core#39
Scheduler (desired charge)
Changes
Scheduler is now added as service-call.
If set, the scheduler will create a plan for charging at the very lowest hours available til the set departure-time.
Schedule is created through service-call:
service: peaqev.scheduler_set
data: {
charge_amount: 9
departure_time: '22-07-08 12:00'
}
the datetime inputs must be the format provided here. IE yy-mm-dd hh:mm
You may add a parameter for schedule_starttime
should you wish to pre-set a future schedule. If you do not provide this parameter, the starttime is at the time of the service-call. Your departure-time must of course be after the start-time.
charge_amount
is in kWh
override_settings
is a dormant setting which currently is always false. In future releases this bool-setting will allow you to override the min/max prices and also possibly the set peak.
To cancel a schedule before it is ended (it will auto-cancel on completion) you may call peaqev.scheduler_cancel
. No parameters needed there.
This feature can be used to help Peaqev get you the very cheapest charging-hours. It is currently the cheapest way of charging we can offer, but is still of course combined with the peak-avoidance algorithm.
The scheduler will also constantly re-evaluate itself, for instance if you override the hours meanwhile, or the projected charge is greater or smaller than the scheduler initally thought (it will calculate based on your peak and a new running 24h-average consumption). Therefore you may see that the non-hours shift during a schedule.
Future updates will include possibilities to add multiple and re-occurring schedules.
Service release
Changes
Bugfixes:
- #125
- General fixes to the override nonhours-servicecall, which now works without parameters (adds one hour per call)
Feature:
- #127 - Setting to let Peaqev be enabled after reboot. You will find this setting in the integration-options.
Maintenance:
- #119 Moved Chargertypes-logic to peaqev-core
- elden1337/peaqev-core#33