All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Fixed PALM error
- Enabled long term stats for sensors. Thanks @ajcollins
- Changed default setting for "old firmware" to True.
- Fixed "SuperTimezone" error occuring on Docker installations
- Fixed PALM ge.batcap error
- Fix Chargeslot start register offset error
- REST api fixed to correct (dis)charge timeslot error
- Corrected Config page to clarify the Inverter_AC_X setting applies to all inverters on "old" firmware
- Inverter frequency stats added
- PALM updated to v1.0.0, imporving Smart Target (Thanks @salewis38)
- Inverter_Max_Rate now called Inverter_Max_Bat_Rate
- Upped maxBatPower to 8000 to account for AIO
- fix for Eco mode setting (when moving from Eco (Paused)) Thanks Ed-M72
- MQTT fix for retained topics (Thanks BrianUK6)
- Improved monitoring of failed write commands and associated logging
- soc_kWh state_class changed to
- Inverter Scanning improved to determine inverter type pre-config (doesn't affect config yet...)
- Setting Charge Target to values below 4 or above 100 now force those max/min values
- Day/Night costs fixed
- Export rate now updates when ENV/Config is set
- New Controls available for beta firmware:
- Local Control Mode: Sets priority for Battery, Grid or Load
- PV Input Mode: Sets MPPT tracking to 1x2 or Independent
- Battery Pause Mode: Forces pause of Charge, Discharge or Both
- Gen2 inverters now have access to 10 charge and discharge slots
- Inverter_Max_Inv_Rate added as new "Inverter Details" entity
- New ENV/Config item Inverter_AC_X - Only turn this on if you have an AC inverter on "old" firmware and you get errors on startup
- MQTT changes to cope properly when run in docker (and not in Addon/HA)
- Fixed Temp Pause Charge and Temp Pause Discharge selct controls, which weren't reverting
- Fixed Influxdb string error
- Fixed Charge_time_remaining device_class error
- Fixed charge target bug (Thanks S0ckhamster)
- Invertor Mode calculation
- Fixed Inverer Time entity
- Work in progress compatability with the new GE AIO device (no battery data yet) - Beta testers needed
- New battery power mode switch (replicates the GE Portal "Eco" switch)
- Type error in MQTT publishing handled gracefully
- Grid Current scaling factor corrected (x10)
- Updated SmartTarget to PALM 0.10.0 (Thanks Steve Lewis)
- Charge and Discharge time remaining entities (mins till full charge/discharge at current power rate) and absolute time to hit Target SOC/Battery Reserve
- Gen 3 invertors now recognised
- MQTT Auto recognition. If using the Mosquitto addon in HA it will now auto connect, removing need for MQTT configuration before running
- Refactored Write.py to always use the Redis Queue, to remove contention on modbus comms and create more reliable control signals
- Configurable retries on write commands to allow for installations with less reliable comms (Thanks @Ed-M72)
- Modified givenergy-modbus library to allow single timeslot control, to allow better integration with select controls in HA
- Individual timeslot start/end control, to remove race condition for setting start and end together
- Fixed SmartTarget error for solcast calls with a single array
- REST /getCache endpoint fixed (incorrect json format)
- Minor updates to README.md documentation
- Refactored Force Export to use queuing for more reliable revert
- Updated SmartTarget to PALM 0.8.5 (Thanks Stephen Lewis)
- REST /getCache endpoint fixed (incorrect json format)
- Minor updates to README.md documentation
- Refactored Force Export to use queing for more reliable revert
- Updated SmartTarget to PALM 0.8.5 (Thanks Stephen Lewis)
- Reverting entity naming to include serial number for compatability
- Reboot Invertor function
- HA Invertor time device_class error removed
- Fixed Timed Export & Revert Export Settings (Thanks @Ed-M72)
- Timed Discharge and Force Export no longer set soc_reserve to 100 (which stopped discharge)
- HA discovery message error fixed for string variables (Thanks @metalblue)
- Restructure config variables for ease of use (thanks @S0ckhamster)
- Improved handling of Timed Demand mode handing (Thanks @Ed-M72)
- HADEVICEPREFIX config variables added for second and third invertors for HA Addon deployment
- Updated max mppt pv voltage to match datasheet (550v)
- Remove Data Smoothing from SOC to prevent getting stuck on values below 4%
- Set Rate data points to GBP/kWh
- Dual site IDs now working for Solcast/PALM (Thanks to s0ckhamster)
- HA Device Prefix per Invertor (use the "_X" suffix )
- Retain Rate Data across reboots/updates (if data is from today)
- PALM settings now handled via ENV (Thanks to s0ckhamster)
- Entity Friendly names no longer use Serial Number
- Updated max mppt pv voltage to match datasheet (550v)
- modified givenergy-modbus library to calulate inverter type from registers, not from serial number
- Fixed day/Night rate stability in dynamic mode
- Fixed error on garbage invertor output
- Fixed Force Charge/Export power rate setting from 100(%) to maxInvertorRate
- Per Invertor MQTT Topic now available
- Overlapping ForceCharge\Export now handled gracefully. You can extend a current Force action byt recalling it with a new duration and it will set a new Force end time
- Charge and Discharge rates now use absolute power values (2600W) not percentage (100%) to align with Cloud portal and to give correct operation
- Prevented the REST readData call (pubFromPickle) from triggering another read
- Worked on race conditions by using critical sections to replace file locks
- Fix select entities error when setting to a non-float value
- Changed logging levels so that Info now just shows which operations are called and everything else is Debug
- Force Charge, Force Export and Temp Pause controls now allow you to Cancel, reverting to preious settings immediately
- Updated Battery Reserve and Cut-off entities to correctly reflect invertor behaviour
- Updated Redis scheduling for control lockout
- Added "None" as a smoothing option
- Added invertor firmware to output
- Allow dynamic Day/Night energy slots as well as fixed time (Go vs Intelligent) New "select" entity created to allow external automations to change rate (DYNAMICTARIFF ENV can be set to true to ignore day/night ENV and change rates based on the value of the Select entity)
- Ability to accept dual array installations for Solcast Smart Target (new ENV)
Update to GivLUT to allow battery max power to go up to 4000w to account for Gen2 invertors
Major update including various stability fixes and new features
-
Force Export boost function (and restore)
-
Force Charge boost function (and restore)
-
Temporary charge and discharge pause (and restore)
-
Change timeslot start and end
-
All new control functions are avalable via:
- Select devices (Home assistant)
- MQTT Topic
- REST
-
Smart target charge using Solcast forecast and load energy stats. Thanks to Stephen Lewis
- Only avaiable in docker container or Home Assistant Addon
-
User defined port for web dashboard. Thanks to Dan Gallo
- Only avaiable in docker container or Home Assistant Addon
-
Data smoothing across energy and battery data (not power)
-
log to file by default
-
Cache data stored in user defined folder. Useful to delete in the event of problems
- CACHELOCATION="/config/GivTCP" - if using Home assistant addon, make sure this starts with /config
- DATASMOOTHER="High" - High, medium or low. Level of aggression on smoothing large jumps in data
- SMARTTARGET=True - If True, then the three below ENV must be set. This will update your Target SOC 20mins before it is due to start charging
- GEAPI="" - API key from your GE account
- SOLCASTAPI="" - Solcast API key
- SOLCASTSITEID="" - Solcast site ID
- DEBUG_FILE_LOCATION - has been removed
- Re-structred the lookup tables into single class
- Data structure for all data points using new class type
- Logging to file now uses a rotating file handler and will keep 7 days of logs
- Underlying givenergy-modbus errors supressed in logging
- Mode control now automatically updates (dis)charge schedule as appropriate
- Obey Print Raw ENV
- Midnight data sticking for Energy Today stats
- many more...