Changelog

New updates and improvements

Firmware versie 0.0.192

PV Curtailment Optimization

  • Grid export limit is now implemented directly in PV inverter setpoint calculations.

  • Improved curtailment handling for edge cases:

    • negative injection price, positive consumption price

    • negative injection price and negative consumption price

Battery Scheduling

  • Added a new “Charge at max power” action type to the battery schedule.

  • Introduced an explicit action to charge the battery at maximum available power.

  • compensate_pv_surplus is now actively scheduled instead of defaulting to idle behavior.

Control Logic Improvements

  • Added a dead zone to self-supply control to prevent unnecessary oscillations.

  • Improved trading logic to prevent unintended battery charging from the grid when trading is enabled.

Controller Debugger UI – Enhancements

Activity Logs

  • Important system events are now logged locally on the controller, improving diagnostics and troubleshooting.

Extended Controller Dashboard

The dashboard now includes additional system-level information:

  • System information

  • Memory usage

  • Storage status

  • Network details

  • Complete list of incidents

Configuration Tab

  • API authentication token is now displayed in a readable format for secure server communication.

Forecast Page Improvements

  • Added date filtering (from–until).

  • Improved graph layout and readability.

  • Updated styling of statistics summary blocks.

Controllers Overview

  • Added a new controller type: BatteryScheduleController.

Forecast API & Data Processing

Forecast API Update

  • Forecast API migrated from v1 to v2.

  • Power values are now returned in Watts (W) instead of Watt-hours (Wh).

Internal Data Handling

  • All forecast data is automatically converted from W to kW for processing and visualization, including:

    • Consumption

    • Total PV generation

    • PV generation per inverter

Debug Enhancements

  • Debug server now exposes historical forecast data up to 48 hours in the past.

  • Forecast visualizations in the debugger have been improved for clarity and usability.

New Features

  • Provisioning flow added for new EMS controllers.

  • Sites dashboard extended with search and filter functionality.

  • Support added for Schneider PAS600.

  • Gateway device information added to the device communication overview.

  • Option added to enable or disable advanced logging to reduce data usage.

  • Project settings now display controller information and include an EMS controller update button.

  • Project name, time zone, and project ID are now included in controller configuration.

Improvements & Fixes

ESS, PV & Data Accuracy

  • Corrected consumption and production calculations in the ESS graph.

  • PV dashboard data corrected.

  • Battery performance email values corrected.

  • Peak power information removed from battery performance emails.

UI & UX

  • Device override interface improved.

  • Tooltip corrected in the projects table when a controller is offline.

  • Changelog table updated.

  • Improved translations of algorithms.

Incidents & Monitoring

  • Added new incident type: “unknown” for unidentified keys.

  • Improved handling of unknown incident types.

  • Removed duplicate incident detection.

  • Chat notification added for fire alarm incidents.

  • Additional checks added to hide battery temperature or DC breaker statistics when not available.

User Permissions & Visibility

  • Both customers and installers now have access to the pro dashboards.

  • Manual override is hidden for non-connectable inverters.

  • Pro dashboard variables extended with project_id.

Stability & Reliability

  • Various internal optimizations and stability improvements across the system.


Firmware Version 0.0.191

This single update consolidates all functional, structural, and integration changes implemented across all intermediate versions.

Device, Adapter and Integration Support

A major expansion of supported hardware.

Newly Supported Devices

  • Huawei Smartlogger

  • SMA inverters (Sunny Tripower, Sunny Boy and related models)

  • Fronius inverters

  • ABB inverters

  • Goodwe inverters

  • Sungrow inverters

  • Carlo Gavazzi EM24 energy meter

  • Fluvius AMR digital meter

  • Virtual PV adapter

PCS, Battery and BMS Improvements

  • New adapters for:

    • Liquid-cooled BMS

    • EP Energy EPES233 PCS

    • SCU BRES BMS and PCS

    • EnjoyPower PCS

    • Poweroad PMS PCS

  • Corrected register mappings for all PCS types

  • Added DC-side max charge and discharge current readouts

  • Added battery production and consumption channels

  • Added calibration command and calibration state handling

  • Added derating coefficient support

  • Added unmanaged device mode for read-only operation

  • Improved device health evaluation using severity classification

Metering Enhancements

  • Added auxiliary energy meters for PV and PCS

  • Corrected inverted metering direction

  • Improved active-power accuracy

  • Added production capacity configuration

Trading, Forecasting and Imbalance Logic

Trevi

  • Full implementation of Trevi battery trading provider

  • Added Trevi imbalance signal support

  • Added persistent trading state management

  • Improved trading signal mapping and decision logic

  • Added calibration lockout to prevent usage during automatic calibration

  • Integrated Trevi metadata and measurements into process image logging

Yuso

  • Full Yuso optimization integration

  • Added Yuso imbalance signal support

  • Fixed maxSiteOfftakeActivePower reporting

  • Added logic to prevent charging from grid when operating in Yuso local mode

  • Updated standby behaviour and local-mode optimizations

Forecasting

  • Added complete forecast provider (API and static fallback mode)

  • Added retry logic for forecast updates

  • Fixed interval clearing issues

  • Improved W→kW conversion accuracy

  • Added fallback to self-supply when forecast data is insufficient

  • Improved alignment of forecast data with 15-minute intervals

Algorithms, Control and Optimization

Cost Optimization

  • Fully rewritten charging and discharging algorithm

  • Proportional power distribution based on energy headroom

  • Battery grouping logic based on pricing differences

  • Improved PV buffering and oversupply handling

  • Improved consumption reconstruction and calculation logic

  • Enhanced load scheduling with minimum runtime rules

Oscillation Prevention

  • Redesigned oscillation prevention controller

  • Per-device measurement latency handling

  • Controlled minTimeBetweenChanges

  • Decision history tracking with persistent storage

  • Integrated into main control cycle

  • Removed legacy deadzone controller

Grid Logic

  • Added grid limit exceeded incident

  • Added grid power feedback correction logic

  • Improved grid limit controller integration

  • Corrected grid export calculations

Self-Supply Logic

  • Migrated to algorithm-based architecture

  • Updated fallback behaviour using forecast data

  • Improved PV curtailment handling

Monitoring, Debugging and Process Image

Debugger Enhancements

  • Added full control decision viewer

  • Added forecast inspector

  • Added device channel viewer

  • Added project information (name, ID, URL)

  • Added local and public IP display

  • Added modbus REPL for device testing

  • Added connectivity test command

  • Added calibration status preview

  • Added raw configuration view

  • Improved stale data detection and tooltips

Logging and Process Image

  • Added logging of:

    • Battery power

    • Grid power

    • PV production

    • Process image snapshots

    • Trading provider states

    • Control decisions

    • Forecast data

  • Enabled structured cloning of controller calls

  • Added per-cycle logging of control cycles

Simulator and Development Tools

Simulator

  • Full energy flow simulator added

  • Timeline representation of consumption, PV and battery behaviour

  • Integration with forecast data

  • Simulation of cost with and without optimization

  • Multiple bug fixes related to data models, paths and build process

  • Major redesign of simulation data structures

Mockbus

  • Added editable registers

  • Simplified simulation behaviour

Developer Tooling

  • Added build pipeline for both bytecode and bundled builds

  • Added prerelease checking

  • Added Docker mount improvements

  • Added health monitor to terminate unhealthy processes

  • Added extended developer documentation

Configuration and User Interface

Configuration Improvements

  • Added import/export of JSON configuration

  • Added override file support

  • Improved parsing of optional arrays and nested config

  • Added flags such as canBeUsedForEnergyTrading

  • Updated battery settings (power limits, initial SoC)

  • Improved SoC calculation and distribution logic

  • Differentiated system configuration from process image

UI and Visualization

  • Updated graphs to step-type with improved clarity

  • Added horizontal reference lines

  • Updated PV disabled state visibility

  • Added scenario selection support

  • Improved 24-hour views

Refactoring and Structural Improvements

  • Reorganized algorithms and controllers into shared modules

  • Removed unused controllers and dead code

  • Simplified utility functions and naming

  • Unified control logic for battery power distribution

  • Cleaned formatting across major code sections

  • Consolidated duplicated logic

  • Improved fallback behaviour and error handling


Bug Fixes

Key issues resolved:

  • Negative PV production values

  • Incorrect unit conversions

  • Unhealthy device handling bugs

  • Forecast data mapping errors

  • PMS and BMS register mapping issues

  • Incorrect energy meter inversion

  • Forecast and simulation alignment issues

  • Influx logging inconsistencies

  • Build failures and bundling issues

  • Misreported power in Yuso integrations

  • Oscillation prevention deadlocks

  • Incorrect PV limit behaviour

  • Missing trading state persistence


Full Consolidated Changelog (0.118 → 0.166)

This single update consolidates all functional, structural, and integration changes implemented across all intermediate versions.

Device, Adapter and Integration Support

A major expansion of supported hardware.

Newly Supported Devices

  • Huawei Smartlogger

  • SMA inverters (Sunny Tripower, Sunny Boy and related models)

  • Fronius inverters

  • ABB inverters

  • Goodwe inverters

  • Sungrow inverters

  • Carlo Gavazzi EM24 energy meter

  • Fluvius AMR digital meter

  • Virtual PV adapter

PCS, Battery and BMS Improvements

  • New adapters for:

    • Liquid-cooled BMS

    • EP Energy EPES233 PCS

    • SCU BRES BMS and PCS

    • EnjoyPower PCS

    • Poweroad PMS PCS

  • Corrected register mappings for all PCS types

  • Added DC-side max charge and discharge current readouts

  • Added battery production and consumption channels

  • Added calibration command and calibration state handling

  • Added derating coefficient support

  • Added unmanaged device mode for read-only operation

  • Improved device health evaluation using severity classification

Metering Enhancements

  • Added auxiliary energy meters for PV and PCS

  • Corrected inverted metering direction

  • Improved active-power accuracy

  • Added production capacity configuration

Trading, Forecasting and Imbalance Logic

Trevi

  • Full implementation of Trevi battery trading provider

  • Added Trevi imbalance signal support

  • Added persistent trading state management

  • Improved trading signal mapping and decision logic

  • Added calibration lockout to prevent usage during automatic calibration

  • Integrated Trevi metadata and measurements into process image logging

Yuso

  • Full Yuso optimization integration

  • Added Yuso imbalance signal support

  • Fixed maxSiteOfftakeActivePower reporting

  • Added logic to prevent charging from grid when operating in Yuso local mode

  • Updated standby behaviour and local-mode optimizations

Forecasting

  • Added complete forecast provider (API and static fallback mode)

  • Added retry logic for forecast updates

  • Fixed interval clearing issues

  • Improved W→kW conversion accuracy

  • Added fallback to self-supply when forecast data is insufficient

  • Improved alignment of forecast data with 15-minute intervals

Algorithms, Control and Optimization

Cost Optimization

  • Fully rewritten charging and discharging algorithm

  • Proportional power distribution based on energy headroom

  • Battery grouping logic based on pricing differences

  • Improved PV buffering and oversupply handling

  • Improved consumption reconstruction and calculation logic

  • Enhanced load scheduling with minimum runtime rules

Oscillation Prevention

  • Redesigned oscillation prevention controller

  • Per-device measurement latency handling

  • Controlled minTimeBetweenChanges

  • Decision history tracking with persistent storage

  • Integrated into main control cycle

  • Removed legacy deadzone controller

Grid Logic

  • Added grid limit exceeded incident

  • Added grid power feedback correction logic

  • Improved grid limit controller integration

  • Corrected grid export calculations

Self-Supply Logic

  • Migrated to algorithm-based architecture

  • Updated fallback behaviour using forecast data

  • Improved PV curtailment handling

Monitoring, Debugging and Process Image

Debugger Enhancements

  • Added full control decision viewer

  • Added forecast inspector

  • Added device channel viewer

  • Added project information (name, ID, URL)

  • Added local and public IP display

  • Added modbus REPL for device testing

  • Added connectivity test command

  • Added calibration status preview

  • Added raw configuration view

  • Improved stale data detection and tooltips

Logging and Process Image

  • Added logging of:

    • Battery power

    • Grid power

    • PV production

    • Process image snapshots

    • Trading provider states

    • Control decisions

    • Forecast data

  • Enabled structured cloning of controller calls

  • Added per-cycle logging of control cycles

Simulator and Development Tools

Simulator

  • Full energy flow simulator added

  • Timeline representation of consumption, PV and battery behaviour

  • Integration with forecast data

  • Simulation of cost with and without optimization

  • Multiple bug fixes related to data models, paths and build process

  • Major redesign of simulation data structures

Mockbus

  • Added editable registers

  • Simplified simulation behaviour

Developer Tooling

  • Added build pipeline for both bytecode and bundled builds

  • Added prerelease checking

  • Added Docker mount improvements

  • Added health monitor to terminate unhealthy processes

  • Added extended developer documentation

Configuration and User Interface

Configuration Improvements

  • Added import/export of JSON configuration

  • Added override file support

  • Improved parsing of optional arrays and nested config

  • Added flags such as canBeUsedForEnergyTrading

  • Updated battery settings (power limits, initial SoC)

  • Improved SoC calculation and distribution logic

  • Differentiated system configuration from process image

UI and Visualization

  • Updated graphs to step-type with improved clarity

  • Added horizontal reference lines

  • Updated PV disabled state visibility

  • Added scenario selection support

  • Improved 24-hour views

Refactoring and Structural Improvements

  • Reorganized algorithms and controllers into shared modules

  • Removed unused controllers and dead code

  • Simplified utility functions and naming

  • Unified control logic for battery power distribution

  • Cleaned formatting across major code sections

  • Consolidated duplicated logic

  • Improved fallback behaviour and error handling

Bug Fixes

Key issues resolved:

  • Negative PV production values

  • Incorrect unit conversions

  • Unhealthy device handling bugs

  • Forecast data mapping errors

  • PMS and BMS register mapping issues

  • Incorrect energy meter inversion

  • Forecast and simulation alignment issues

  • Influx logging inconsistencies

  • Build failures and bundling issues

  • Misreported power in Yuso integrations

  • Oscillation prevention deadlocks

  • Incorrect PV limit behaviour

  • Missing trading state persistence

Last updated