Recent Releases of EHMASS

EHMASS - EMHASS version v0.17.1

Improvement

  • Added set_deferrable_max_startups parameter to enforce a hard physical limit on the maximum number of times a deferrable load can be turned on during an optimization horizon, preventing unwanted chattering
  • Added new Websocket section to documentation
  • Improving coverage: MLForecaster, web server and command line utils
  • Improved automatic testing: Add tests for converting nested parameters to config, deferrable load padding, export time range parsing, NaN handling, and resampling/filtering of time series data. Add an MPC cache behavior test to verify cache hits for non-structural plant changes and cache misses for structural plant changes
  • Deactivate binary variables for non-thermal loads with 0 operating timesteps to reduce MIP solve time

Fix

  • Ensure cached MPC optimizers are invalidated when structural plant configuration changes while still updating runtime-dependent parameters on cache hits
  • Prevent stale internal optimization configuration by refreshing cached optimizer plant and optimization configs with latest runtime values
  • Fixed logging initialization issue
  • Fixed an issue where the REST API sends 'Bearer empty' when the token is not configured in the add-on
  • Gracefully skip days with no history data during REST API retrieval
  • Fixed Solcast API Accept header and sub-30min resampling issues
  • Fix to REST API authentication fails when token is set to "empty" in addon mode issue

What's Changed

New Contributors

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.17.0...v0.17.1

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek 3 months ago

EHMASS - EMHASS version 0.17.0

Improvement

  • Added caching for the Optimization object to use warm start (@sokorn)
  • Add thermal inertia extension for thermal battery model (@sokorn)
  • Added parameter for relative MIP gap (@sokorn)
  • Enhance HA add-on file management to use addon_configs folder (@mime24)
  • Rename 'add-on' to 'app' (@AJediIAm)
  • Update skforecast requirement from <0.20.0,>=0.19.1 to >=0.19.1,<0.21.0 (@dependabot)

Fix

  • Reuse HTTP session across post_data calls (@sokorn)
  • Handle corrupted metadata.json file (@rmounce)
  • Pin cvxpy version to <1.8.0 (@rmounce)
  • Fix ruff format in retrieve_hass.py (@mime24)

⚠️ POSSIBLE BREAKING CHANGE: HA Add-on File Management

This release updates how EMHASS handles file management within Home Assistant, aligning with the new HA standard of using the dedicated /addon_configs folder for user-facing configuration files.

  • What changed: Configuration and data files have been migrated to the new addon_configs directory structure.
  • Why it might break your setup: If you are an advanced user who has written custom shell commands, external scripts, or backup automations that point strictly to the old hardcoded /share/emhass or /config directory paths, those paths will likely fail after this update.
  • Action Required: Please review any custom automations or scripts that read from or write to EMHASS files directly and update the paths to reflect the new /addon_configs/ location.

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.16.2...v0.17.0

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek 4 months ago

EHMASS - EMHASS version 0.16.2

Improvement

  • Added support for a thermal inertia parameter for the basic thermal model
  • Handle time-dependent battery weights (@rmounce)

Fix

  • Fix Docker signal handling with tini and pin uvicorn version (@rmounce)
  • Fix "typical" load forecast method fails with maximum_power_from_grid as vector (list)
  • Fix warning logging messages on sensor_replace_zero
  • Fix for correct handling of open-meteo temp_air variable

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.16.1...v0.16.2

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek 5 months ago

EHMASS - EMHASS version 0.16.1

Fix

  • Hot fix for InfluxDB not passed credentials
  • Fixed optimization window size mismatch issue
  • Fixed optim_status key not found error when falling back to LP problem

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.16.0...v0.16.1

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek 5 months ago

EHMASS - EMHASS version 0.16.0

🚀 Major Optimization Engine Overhaul

This release marks a significant milestone in the evolution of EMHASS. We have completely re-engineered the core optimization backend, moving from PuLP to CVXPY. This modern, vectorized architecture unlocks substantial performance improvements and paves the way for advanced energy management features.

Key Highlights

  • ⚡ CVXPY & Vectorization: The constraint generation logic has been rewritten using vectorization. This mathematical streamlining allows EMHASS to construct optimization problems significantly faster, reducing overhead especially for complex configurations or long prediction horizons. Benchmarks show optimization times are 4-5x faster, clocking in at approximately 0.1s per iteration for standard use cases compared to previous implementation.
  • 🏎️ HiGHS Solver Standard: We have adopted HiGHS as the new default solver. HiGHS is a state-of-the-art, open-source linear optimization solver that offers vastly superior performance and stability compared to the legacy CBC/GLPK solvers.
  • 📦 Simplified Dependencies: No more system-level dependencies! Because HiGHS is bundled as a Python wheel, the Docker image is lighter, and installation is more robust—you no longer need to install coinor-cbc or glpk via apt.
  • 🔧 Commercial Solver Support: Power users with licenses for Gurobi or CPLEX can now easily plug them in via environment variables (LP_SOLVER=GUROBI) without code modifications, thanks to the standardized interface of CVXPY.
  • 🏗️ Modular Architecture: The optimization class has been refactored into smaller, testable helper methods, improving code maintainability and making it easier for contributors to add new constraints (like the new internal gains logic for thermal batteries) without breaking existing features.

Improvement

  • Refactor optimization.py to use cvxpy
  • Added internal gains factor to heating demand calculation (@sokorn)
  • Add vector support for maximum power to or from grid (@mk2lehe)

⚠️ BREAKING CHANGE: Solver Configuration

We have modernized the optimization backend to use CVXPY. As a result, the solver configuration has been simplified and both lp_solver and lp_solver_path parameters have been removed.

  • Removed: lp_solver and lp_solver_path are no longer supported in the configuration.
  • New Default: The application now defaults to the HiGHS solver, which is bundled directly with EMHASS. No external binary paths or apt packages are required.
  • Commercial Solvers: If you wish to use Gurobi or CPLEX (requiring your own license), you must now specify this using the LP_SOLVER environment variable (e.g., LP_SOLVER=GUROBI), rather than the configuration file.

Action Required:

  1. Remove lp_solver and lp_solver_path from your configuration files (config.json or options.json) to avoid validation warnings.
  2. If you previously relied on a custom solver path, ensure you are satisfied with the new default HiGHS solver (recommended) or configure the environment variable for a commercial alternative.

What's Changed

New Contributors

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.15.6...v0.16.0

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek 5 months ago

EHMASS - EMHASS version 0.15.6

Improvement

  • New feature that allows users to disable SSL communication with Home Assistant

Fix

  • Fix issues with missing long_train_data.pkl file and load power sensor name updated by the user
  • Fix broken MLRegressor by removing unnecessary loading of a CSV file
  • Fix missing outdoor temperature data for thermal model

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.15.5...v0.15.6

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek 5 months ago

EHMASS - EMHASS version 0.15.5

Fix

  • Fix the thermal load parsing to use it on any type of optimization

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.15.4...v0.15.5

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek 5 months ago

EHMASS - EMHASS version 0.15.4

Refactor Home Assistant data retrieval, forecasting, optimization, and publishing flows for better structure, error handling, and configurability while enhancing docs, web UI, and CI integration.

Improvement

  • Support selecting PV module and inverter models by approximate power rating in addition to explicit database names
  • Introduce helper contexts and structured helpers for optimization setup, publishing, and forecast preparation
  • Add explicit SonarCloud analysis and Codecov integration in CI workflow
  • Added support to publish emhass package to conda repository
  • Improved documentation: Reorganize and expand documentation sections, including for using InfluxDB as a data source and for passing secret parameters, clarifying differences between Docker/Python deployments and the Home Assistant add-on, and moving this content into the passing_data guide. Change theme to PyData Sphinx Theme
  • Added extensive unit tests around Home Assistant data retrieval helpers, PV adjustment behavior, regressor preparation errors, weather forecast method branching, thermal loads publishing, and web server runtime parameter handling
  • Update existing optimization and CLI tests to use mocks for heavy optimization routines allowing faster tests

Fix

  • Ensure InfluxDB is prioritized over WebSocket and REST when configured as a data source to avoid redundant queries to Home Assistant
  • Fix runtime parameter parsing in the web server to properly handle malformed JSON payloads and default safely to empty parameters

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.15.3...v0.15.4

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek 5 months ago

EHMASS - EMHASS version 0.15.3

What's Changed

New Contributors

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.15.2...v0.15.3

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek 5 months ago

EHMASS - EMHASS version 0.15.2

Improvement

  • Update documentation and parameter definitions for adjusted PV regression models to include all available scikit-learn options (@sokorn)
  • Removed device class and unit of measurement for optim status (@mime24)

Fix

  • Fixing some docs math mode and rearrange sections
  • Refactor REST API data retrieval to reuse one aiohttp ClientSession, solve issue #648 (@gieljnssns)
  • Change regressor parameter to estimator in forecaster
  • Remove warning log for runtime parameters parsing

What's Changed

New Contributors

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.15.1...v0.15.2

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek 6 months ago

EHMASS - EMHASS version 0.15.1

Fix

  • Hot fix for thermal model semi-continuous mode and continual publish caped to 60s

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.15.0...v0.15.1

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek 6 months ago

EHMASS - EMHASS version 0.15.0

Improvement

  • Added support for async emhass code (@gieljnssns)
  • Added support for websocket data retrieval (@gieljnssns)
  • Add feature to cache pv regression model (@sokorn)
  • Added support for a more comprehensive list of scikit-learn models for both ML Forecaster and Regressor classes
  • Improved documentation re-arranged sections
  • Thermal model improvements:
    • Implemented a Min/Max temperature control, proposed by @werdnum
    • Implemented needed unit tests
    • Improved documentation

Fix

  • Fixed warning message because pickle files saved with old Numpy version
  • A buch of code refactor following SonarCloud Code Analysis
  • Solved runtime param optimization_time_step not recognized, issue #563
  • Attempt at solving data publish problem when containing both battery sensor definitions and a def_load_config, issue #587
  • Fix timezone comparison issue with InfluxDB (@sokorn)
  • Update skforecast requirement from <0.19.0,>=0.18.0 to >=0.18.0,<0.20.0
  • Implement inverter AC input limit constraint

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.14.1...v0.15.0

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek 6 months ago

EHMASS - EMHASS version 0.14.1

0.14.1 - 2025-11-29

Improvement

  • Improved InfluxDB version support documentation
  • Adjust ML forecast tune lags with optizimation_time_step (@sokorn)
  • Improved documentation for MLRegressor (@sokorn)
  • Update description for semi_cont load parameter (@purcell-lab)

Fix

  • Refactored proposed changes for HA independent configuration
  • Fixed behavior to run EMHASS independently from HA (@Jahper)
  • Proposed solution to Maximum battery charging rate issue #613
  • Proposed solution to solve issue with missing use of split_date_delta

What's Changed

New Contributors

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.14.0...v0.14.1

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek 7 months ago

EHMASS - EMHASS version 0.14.0

What's Changed

New Contributors

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.13.5...v0.14.0

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek 7 months ago

EHMASS - EMHASS version 0.13.5

Improvement

  • Use SVG render mode for Plotly figures (@Crosenhain)
  • Constrain PV curtailment of hybrid inverter (@rmounce)

Fix

  • Fix operating_timesteps_of_each_deferrable_load validation formula (@scruysberghs)

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.13.4...v0.13.5

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek 9 months ago

EHMASS - EMHASS version 0.13.4

A new release of EMHASS with a bunch of fixes and new features...

Improvement

  • Added support for minimum power value for each deferrable load
  • Add configuration for hybrid inverter input power limit and efficiency (@rmounce)
  • Add runtime parameter to prevent PV forecast feedback loop during curtailment (@scruysberghs)
  • Update Docker documentation for volume mounting of config.json (@cabberley)
  • Apply ruff formatting for improved code consistency (@polyfloyd)
  • Set executable permissions for __main__ entrypoints and remove unused shebangs (@polyfloyd)
  • Correct minor typos in README documentation (@Ultimation)

Fix

  • Fixed naive load power forecast shifted timestamp issue #516
  • Fix Docker build for aarch64 architecture (@polyfloyd)

What's Changed

New Contributors

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.13.3...v0.13.4

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek 10 months ago

EHMASS - EMHASS version 0.13.3

Improvement

  • Enhance optimization solver capabilities by adding HiGHS solver, improving thread configuration, and updating solver support across the project (@Crosenhain)
  • Update spelling and extended some error messages to include more troubleshooting information (@kcoffau)

Fix

  • Fixed incorrect indentation in a for loop, leaving relevant constraints out of the optimisation (@purcell_lab)

What's Changed

New Contributors

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.13.2...v0.13.3

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek about 1 year ago

EHMASS - EMHASS version 0.13.2

Release number 100!!! 🎉

Improvement

  • Improved README and development documentation (@Crosenhain and @gieljnssns)
  • Improved forecasting and optimization classes logging (@purcell_lab)

Fix

  • Fixed ML Regressor for correct time zone treatment (@gieljnssns)
  • Fixed long standing problem to allow thermal and standard loads to be scheduled (@purcell_lab)
  • Fixing Missing files in python package issue (@pail23)
  • Fixed improper handling of home assistant API errors (@Gruek)
  • Remove an extraneous comma in the pd.to_datetime() method call in retrieve_hass.py (@GeoDerp)
  • Fixed the SettingWithCopyWarning Pandas problem and PV sensor handling when set_use_adjusted_pv is false (@paulhomes)

What's Changed

New Contributors

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.13.1...v0.13.2

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek about 1 year ago

EHMASS - EMHASS version 0.13.1

Improvement

  • Add timeout and thread configuration for different LP solvers (CBC, GLPK, COIN). Thanks to @GeoDerp
  • Clean up actions and add sourcery scan action. Thanks to @GeoDerp
  • Cache Open-Meteo JSON reponse locally to reduce the number of API calls and add resilience. Thanks to @paulhomes

Fix

  • Update default weight battery value in config_defaults.json. Thanks to @purcell-lab
  • Fix forecast output assignment and avoid SettingWithCopyWarning. Thanks to @radim2tej
  • Fix for get_mix_forecast ValueError: cannot convert float NaN to integer. Thanks to @paulhomes
  • Fix for hard-coded actual/forecast PV sensor names. Thanks to @paulhomes
  • Update pyproject.toml to solve issue #495: Missing files in python package after 0.12.5. Thanks to @GeoDerp

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.13.0...v0.13.1

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek about 1 year ago

EHMASS - v0.13.0

A new method to adjust PV forecast!

Checkout the upgraded documentation here: https://emhass.readthedocs.io/en/latest/forecasts.html#adjusting-pv-forecasts-using-machine-learning

Improvement

  • Added a new feature to automatically adjust PV forecast using historical actual/forecast data
  • Added Support for multiple days forecasting with CSV data. Thanks to @nielskool for this contribution!
  • Refactored a new method retrieve_home_assistant_data in command_line
  • Unified default training data for ML algorithms using data/long_train_data.pkl
  • Added a presentation stack using marp

Fix

  • Fixed Value has dtype incompatible with int64 error, issue #465
  • Fixed Runtime "delta_forecast_daily" not recognized, issue #479
  • Attempt to fix Missing files in python package after 0.12.5, issue #495
  • Fixed workflow for macos tests

What's Changed

New Contributors

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.12.8...v0.13.0

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek about 1 year ago

EHMASS - EMHASS version 0.12.8

This release comes with a special improvement for weather forecast, we are replacing the scrapper method with a new method using the Open-Meteo API: https://open-meteo.com/
This API provides high resolution forecasts at 15min intervals for any location in the world.
A big improvement to obtain accurate PV production forecasts.

Improvement

  • Added a new method for weather forecast: open-meteo. This offers a very nice API to obtain weather forecasts. We are dropping the old scrapper method, if you were using the scapper method you just need to change the Weather forecast method to open-meteo
  • Added support to device_class definition when posting sensors to HA. Thanks to @paulhomes for this contribution
  • Improved github workflow Python testing
  • Updated documentation

Fix

  • Fixed TZ shift issue when using the typical load power forecaster

What's Changed

New Contributors

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.12.7...v0.12.8

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 1 year ago

EHMASS - EMHASS version 0.12.7

Improvement

  • A first batch of improvements (code reliability) proposed by SonarQube

Fix

  • Added missing files to Dockerfile
  • Changes to the Dockerfile to make /app/data folder persistent. Thanks to @scruysberghs
  • Fixing errors with missing sensor power_load_no_var_loads. Thanks to @scruysberghs
  • Improved documentation and fixed automated testing for code quality. Thanks to @GeoDerp

What's Changed

New Contributors

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.12.6...v0.12.7

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 1 year ago

EHMASS - EMHASS version 0.12.6

Some needed fixes and improvements

0.12.6 - 2025-02-09

Improvement

  • Improved warning message in case of wrong URL setting
  • Improved testing on typical load forecast method with different time steps

Fix

  • Solved missing file problem: data_load_cost_forecast.csv
  • Fixed warning issue on findall method

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.12.5...v0.12.6

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 1 year ago

EHMASS - EMHASS version 0.12.5

Improvement

  • Implemented new package manager uv resulting in faster builds. Thanks to @GeoDerp
  • Implemented SonarQube automatic code review. Thanks to @GeoDerp
  • Better management of SOC min/max to solve issue: MPC optim status infeasible when SOC lower than min SOC

Fix

  • Reverted back skforecast to latest version
  • Fixed issue with list index out of range. Thanks to @meks007 for identifying and reporting this

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.12.4...v0.12.5

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 1 year ago

EHMASS - EMHASS version v0.12.4

This is a patched version

Patch fix

  • Fixed bugs on gunicorn logger and missing CBC modules

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.12.3...v0.12.4

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 1 year ago

EHMASS - EMHASS version 0.12.3

A new release with some interesting improvements and needed fixes.

Improvement

  • PVLib DBs append custom EMHASS modules and inverters. Thanks to @GeoDerp
  • Added a def_total_timestep parameter (runtime only for now) that can be used instead of def_total_hours for passing timestep number instead of hour number. Thanks to @GeoDerp
  • Updated list of currencies in utils.py. Thanks to @BDVGitHub
  • Multiple roof_id support. Thanks to @radim2tej

Fix

  • Fix inconsistencies with Modules and Inverters from PVLib (thanks to help from @RafAustralia)
  • Fix issue with NAN sensors causing crash errors if incorrect (error handling) @purcell-lab
  • Fix Database path on optimization file (Thanks to @paulhomes for finding this issue)
  • Fixed weight_battery_charge sign problem. Thanks to @radim2tej
  • Fixed bug with out of index in list when retrieving config params from HA

What's Changed

New Contributors

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.12.2...v0.12.3

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 1 year ago

EHMASS - EMHASS version 0.12.2

Patch fix

  • Fixed Problem with calling weather-forecast-cache

Improvement

  • Updated readthedocs.yml, got rid of duplicated requirements.txt

What's Changed

New Contributors

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.12.1...v0.12.2

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 1 year ago

EHMASS - EMHASS version 0.12.1

Patch fix

  • Fixed error with retrieve config from HA

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.12.0...v0.12.1

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 1 year ago

EHMASS - EMHASS version 0.12.0

0.12.0 - 2024-12-29

BREAKING CHANGE

  • The solar PV system is now optional. If you have a PV system then use the switch on the webui or set the set_use_pv parameter to True.

Improvement

  • A new load power forecast method based on statistic and typical household load power consumption. This and the optional PV, will make it easier for new users to on-board EMHASS because this new default behavior does not require any data retrieval from Home Assistant or any other external source.
  • Updated documentation.

What's Changed

New Contributors

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.11.4...v0.12.0

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 1 year ago

EHMASS - EMHASS version 0.11.4

Fix

  • Fix bug when treating runtime params, fix optimization_time_step timedelta

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.11.3...v0.11.4

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 1 year ago

EHMASS - EMHASS version 0.11.3

Improvement

  • Runtime parameters now support all config parameters
  • Adopted the Ruff code fomatting
  • Added a Github Actions for Google OSV security code scan
  • Updated the param_definitions.json
  • Bump skforecast from 0.13.0 to 0.14.0. This needed upgrading a bunch of deprecated options. Notably skforcast now uses the time series cross-validation object (cv) from sklearn

Fix

  • Updated the default battery optimization weights
  • Fix publish_data defaulting to opt_res_latest, tweak warning logs
  • Added MLForecaster options to load_forecast_method for param_definitions.json

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.11.2...v0.11.3

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 1 year ago

EHMASS - EMHASS version 0.11.2

Improvement

  • Added support to retrieve HA configuration. This will be used in the future to automatically retrieve some parameters as the currency

Fix

  • utils fix runtime parameter merge bugs
  • configuration_script.js fix placeholder value bug

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.11.1...v0.11.2

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 1 year ago

EHMASS - EMHASS version 0.11.1

Fix

  • Fix parameter saving and duplicate battery bugs
  • utils.py add more specific logging information for config
  • Fix issue where thermal runtime parameters were not being propagated into optim_conf

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.11.0...v0.11.1

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 1 year ago

EHMASS - EMHASS version 0.11.0

This version marks huge improvement works by @GeoDerp aiming to simplfy the intial and normal setup of EMHASS. The workflow for setting the EMHASS configuration regardless of the installation method has now been centralized on the single config.json file. The webserver has now a configuration tab that can be used to to modify and save the config.json file.

The complete discussion of the changes on this thread:
https://github.com/davidusb-geek/emhass/pull/334

Automatic version bot improvements

  • Bump h5py from 3.11.0 to 3.12.1
  • Bump markupsafe from 2.1.5 to 3.0.2

Fix

  • Revert to myst-parser==3.0.1 to solve documentation compilation failures

What's Changed

New Contributors

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.10.6...v0.11.0

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 1 year ago

EHMASS - EMHASS version 0.10.6

Fix

  • Fixed bug on predicted room temeprature publish, wrong key on DataFrame

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.10.5...v0.10.6

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek almost 2 years ago

EHMASS - EMHASS version 0.10.5

Improvement

  • Added support for pubishing thermal load data, namely the predicted room temperature

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.10.4...v0.10.5

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek almost 2 years ago

EHMASS - EMHASS version 0.10.4

In this release a new thermal modeling for deferrable loads.
Thanks to @werdnum for this contribution!

Improvement

  • Added a new thermal modeling, see the new section in the documentation for help to implement this of model for thermal deferrable loads
  • Improved documentation

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.10.3...v0.10.4

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek almost 2 years ago

EHMASS - EMHASS version 0.10.3

Some minor improvements on this release:

Improvement

  • Added improved support for def_start_penalty option
  • Improved documentation

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek almost 2 years ago

EHMASS - EMHASS version 0.10.2

In this release:

Improvement

  • Weather forecast caching and Solcast method fix by @GeoDerp
  • Added a new configuration parameter to control wether we compute PV curtailment or not
  • Added hybrid inverter to data publish
  • It is now possible to pass these battery parameters at runtime: SOCmin, SOCmax, Pd_max and Pc_max

Fix

  • Fixed problem with negative PV forecast values in optimization.py, by @GeoDerp

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.10.1...v0.10.2

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek almost 2 years ago

EHMASS - EMHASS version 0.10.1

0.10.1 - 2024-06-03

Fix

  • Fixed PV curtailment maximum possible value constraint
  • Added PV curtailement to variable to publish to HA

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.10.0...v0.10.1

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek about 2 years ago

EHMASS - EMHASS version 0.10.0

Improvement

  • Added support for hybrid inverters
  • Implemented a new continual_publish service that avoid the need of setting a special automation for data publish. Thanks to @GeoDerp
  • Implement a deferrable load start penalty functionality. Thanks to @werdnum
    • This feature also implement a def_current_state that can be passed at runtime to let the optimization consider that a deferrable load is currently scheduled or under operation when launching the optimization task

Fix

  • Fixed forecast methods to treat delta_forecast higher than 1 day
  • Fixed solar.forecast wrong interpolation of nan values

What's Changed

New Contributors

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.9.1...v0.10.0

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek about 2 years ago

EHMASS - EMHASS version 0.9.1

Fix

  • Fix patch for issue with paths to modules and inverters database
  • Fixed code formatting, or at least trying to keep a unique format

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.9.0...v0.9.1

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek about 2 years ago

EHMASS - EMHASS version 0.9.0

Improvement

  • On this new version we now have a new method to train a regression model using Scikit-Learn methods. This is the contribution of @gieljnssns. Check the dedicated section in the documentation to this new feature: https://emhass.readthedocs.io/en/latest/mlregressor.html
  • Again another bunch of nice improvements by @GeoDerp:
    • Added Dictionary var containing EMHASS paths
    • MLForcaster error suppression
    • Add freq as runtime parameter
    • Improved documentation added README buttons
  • Bumping dependencies:
    • Bump h5py from 3.10.0 to 3.11.0
    • Bump myst-parser from 2.0.0 to 3.0.1
    • Bump skforecast from 0.11.0 to 0.12.0

What's Changed

New Contributors

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.8.6...v0.9.0

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek about 2 years ago

EHMASS - EMHASS version 0.8.6

Fix

  • Fixed bug from forecast out method related to issue 240
  • Fix patch for some issues with package file paths

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.8.5...v0.8.6

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek about 2 years ago

EHMASS - EMHASS version 0.8.5

Improvement

  • Simplified fetch urls to relatives
  • Improved code for passed forecast data error handling in utils.py
  • Added new tests for forecast longer than 24h by changing parameter delta_forecast
  • Added new files for updated PV modules and inverters database for use with PVLib
  • Added a new webapp to help configuring modules and inverters: https://emhass-pvlib-database.streamlit.app/
  • Added a new P_to_grid_max variable, different from the current P_from_grid_max option

Fix

  • style.css auto format and adjusted table styling
  • Changed pandas datetime rounding to nonexistent='shift_forward' to help survive DST change
  • Dropped support for Python 3.9

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.8.4...v0.8.5

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek about 2 years ago

EHMASS - EMHASS version 0.8.4

Improvement

  • Improved documentation
  • Improved logging errors on missing day info

Fix

  • Missing round treatment for DST survival in utils.py
  • Webui large icons fix

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.8.3...v0.8.4

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 2 years ago

EHMASS - EMHASS version 0.8.3

Fix

  • Fixed web_server options_json bug in standalone fix

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.8.2...v0.8.3

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 2 years ago

EHMASS - EMHASS version 0.8.2

Improvement

  • Proposed a new solution to survive DST using special option of Pandas round method
  • Added option to web_server to init data_path as an options param
  • Styling docs and html files on webui
  • Advanced and basic pages improvements on webui

Fix

  • Fixed support for ARM achitectures

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.8.1...v0.8.2

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 2 years ago

EHMASS - EMHASS version 0.8.1

Improvement

  • Improved documentation

Fix

  • Persistent data storage fix
  • Docker Standalone Publish Workspace Fix

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.8.0...v0.8.1

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 2 years ago

EHMASS - EMHASS version 0.8.0

Improvement

  • Thanks to the great work from @GeoDerp we now have a unified/centralized Dockerfile that allows for testing different installation configuration methods in one place. This greatly helps testing, notably emulating the add-on environment. This will improve overall testing for both teh core code and the add-on. Again many thanks!
  • There were also a lot of nice improveements from @GeoDerp to the webui, namely: styling, dynamic table, optimization feedback after button press, logging, a new clear button, etc.
  • From now on we will unify the semantic versioning for both the main core code and the add-on.

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.7.8...v0.8.0

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 2 years ago

EHMASS - EMHASS version 0.7.8

Improvement

Added some nice logging functionalities and responsiveness on the webui.
Thanks to @GeoDerp for this great work!

  • new actionLogs.txt is generated in datapath storing sessions app.logger info
  • on successful html button press, fetch is called to get html containing latest table data
  • on html button press, If app.logger ERROR is present, send action log back and present on page.

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.7.7...v0.7.8

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 2 years ago

EHMASS - EMHASS version 0.7.7

Improvement

  • Bumped the webui. Index/style added runtime parameter dictionary inputs. Thanks to @GeoDerp
  • Added two additional testing environment options. Thanks to @GeoDerp

Fix

  • Bump markupsafe from 2.1.4 to 2.1.5

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.7.6...v0.7.7

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 2 years ago

EHMASS - EMHASS version 0.7.6

Fix

  • Fixed number of startups constraint for deferrable load at the begining of the optimization period
  • Fixed list of bools from options.json
  • Fixed some testing and debugging scripts

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.7.5...v0.7.6

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 2 years ago

EHMASS - EMHASS version 0.7.5

Fix

  • Fixing again "perform_backtest": "false" has no effect

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.7.4...v0.7.5

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 2 years ago

EHMASS - EMHASS version 0.7.4

Fix

  • Fixed broken build params method. Reverting back to alternate PR from @GeoDerp

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.7.3...v0.7.4

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 2 years ago

EHMASS - EMHASS version 0.7.3

Fix

  • Fixed bug when booleans, solving "perform_backtest": "false" has no effect
  • Refactored util.py method to handle optional parameters
  • Updated web server, solving runtime issues
  • Solved issue passing solcast and solar.forecast runtime params
  • Updated documentation requirements

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.7.2...v0.7.3

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 2 years ago

EHMASS - EMHASS version 0.7.2

Patched new version wer server issues of missing list types

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.7.1...v0.7.2

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 2 years ago

EHMASS - EMHASS version 0.7.1

Fix

  • Patched new version wer server issues accessing correct paths

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.7.0...v0.7.1

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 2 years ago

EHMASS - EMHASS version 0.7.0

Improvement

  • Added a new feature to provide operating time windows for deferrable loads. Thanks to @michaelpiron
  • Added lots of new options to be configured by the user. Thanks to @GeoDerp
  • Updated stylesheet with mobile & dark theme by @GeoDerp
  • Improved launch.json to fully test EMHASS on different configurations. Thanks to @GeoDerp
  • Added new script to debug and develop new time series clustering feature
  • Improved documentation. Thanks to @g1za

Fix

  • Updated github workflow actions/checkout to v4 and actions/setup-python to v5
  • Changed default values for weight_battery_discharge and weight_battery_charge to zero
  • Renamed classes to conform to PEP8
  • Bump markupsafe from 2.1.3 to 2.1.4

What's Changed

New Contributors

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.6.2...v0.7.0

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 2 years ago

EHMASS - EMHASS version 0.6.2

Improvement

  • Added option to pass additional weight for battery usage
  • Improved coverage

Fix

  • Updated optimization constraints to solve conflict for set_def_constant and treat_def_as_semi_cont cases

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.6.1...v0.6.2

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 2 years ago

EHMASS - EMHASS version 0.6.1

Fix

  • Patching EMHASS for Python 3.11. New explicit dependecy h5py==3.10.0
  • Updated Dockerfile to easily test add-on build

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 2 years ago

EHMASS - EMHASS version 0.6.0

New release 0.6.0!!!

Improvement

  • Now Python 3.11 is fully supported, thanks to @pail23
  • We now publish the optimization status on sensor.optim_status
  • Bumped setuptools, skforecast, numpy, scipy, pandas
  • A good bunch of documentation improvements thanks to @g1za
  • Improved code coverage (a little bit ;-)

Fix

  • Some fixes managing time zones, thanks to @pail23
  • Bug fix on grid cost function equation, thanks to @michaelpiron
  • Applying a first set of fixes proposed by @smurfix:
    • Don't ignore HTTP errors
    • Handle missing variable correctly
    • Slight error message improvement
    • Just use the default solver
    • Get locations from environment in non-app mode
    • Tolerate running directly from source

What's Changed

New Contributors

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.5.1...v0.6.0

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 2 years ago

EHMASS - EMHASS version 0.5.1

Improvement

  • Improved documentation, thanks to @g1za
  • Bumped skforecast to 0.10.1
  • Added a new initial script for exploration of time series clustering. This will one day replace the need to configure the house load sensor with substracted deferrable load consumption

Fix

  • Updated automated tesing, dropped support for Python 3.8

What's Changed

New Contributors

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.5.0...v0.5.1

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 2 years ago

EHMASS - EMHASS version 0.5.0

Improvement

  • Finally added support for ingress thanks to the work from @siku2
  • Added a devcontainer and pave the way for ingress access

Fix

  • Added some code to fix some numerical syntax issues in tables

What's Changed

New Contributors

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.4.15...v0.5.0

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek almost 3 years ago

EHMASS - EMHASS version 0.4.15

Improvement

  • Bumped pvlib to 0.10.1
  • Updated documentation for forecasts methods.

Fix

  • Fixed error message on utils.py

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.4.14...v0.4.15

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek almost 3 years ago

EHMASS - EMHASS version 0.4.14

Improvement

  • Bumped skforecast to latest 0.9.1.
  • The standalone dockerfile was updated by @majorfrog to include the CBC solver.

Fix

  • Fix rounding for price & cost forecasts by @purcell-lab

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.4.13...v0.4.14

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek almost 3 years ago

EHMASS - EMHASS version 0.4.13

Some interesting improvements and some needed fixes:

Improvement

  • Added support for data reconstruction when missing values on last window for ML forecaster prediction.
  • Added treatment of SOCtarget passed at runtime for day-ahead optimization.
  • Added publish_prefix key to pass a common prefix to all published data.

Fix

  • Patched sensor rounding problem.
  • Bump myst-parser from 1.0.0 to 2.0.0
  • Fixed missing attributes is the sensors when using the custom IDs.

What's Changed

New Contributors

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.4.12...v0.4.13

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek almost 3 years ago

EHMASS - EMHASS version 0.4.12

Improvement

  • Added forecasts for unit_prod_price and unit_load_cost.
  • Improved documentation.

Fix

  • Bump skforecast from 0.8.0 to 0.8.1

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.4.11...v0.4.12

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek about 3 years ago

EHMASS - EMHASS version 0.4.11

Improvement

  • Adding new constraints to limit the dynamics (kW/sec) of deferrable loads and battery power. The LP formulation works correctly and a work should be done on integrating the user input parameters to control this functionality.
  • Added new constraint to avoid battery discharging to the grid.
  • Added possibility to set the logging level.

Fix

  • Bumped version of skforecast from 0.6.0 to 0.8.1. Doing this mainly implies changing how the exogenous data is passed to fit and predict methods.
  • Fixed wrong path for csv files when using load cost and prod price forecasts.

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.4.10...v0.4.11

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek about 3 years ago

EHMASS - EMHASS version 0.4.10

Fix

  • Fixed wrong name of new cost sensor.
  • Fixed units of measurements of costs to €/kWh.
  • Added color sequence to plot figures, now avery line should be plotted with a different color.

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.4.9...v0.4.10

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek about 3 years ago

EHMASS - EMHASS version 0.4.9

Fix

  • Updated default value for total number of days for ML model training.
  • Added publish of unit_load_cost and unit_prod_price sensors.
  • Improved docs intro.
  • Bump myst-parser from 0.18.1 to 1.0.0

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.4.8...v0.4.9

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek about 3 years ago

EHMASS - EMHASS version 0.4.8

Fix

  • Fixed to correct index length for ML forecaster prediction series.

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.4.7...v0.4.8

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek about 3 years ago

EHMASS - EMHASS version 0.4.7

Fix

  • Fixed wrong column name for var_load when using predict with ML forecaster.

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0...v0.4.7

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek about 3 years ago

EHMASS - EMHASS version 0.4.6

Fix

  • Fixed wrong path for saved ML forecaster model.

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.4.5...v0.4.6

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek about 3 years ago

EHMASS - EMHASS version 0.4.5

Fix

  • Fixed default behavior for passed data.
  • Added a new graph for tune results.

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.4.4...v0.4.5

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 3 years ago

EHMASS - EMHASS version 0.4.4

Fix

  • Added missing possibility to set the method for load forecast to 'mlforecaster'.
  • Fixed logging formatting.

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.4.3...v0.4.4

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 3 years ago

EHMASS - EMHASS version 0.4.3

Some bug fixing

Fix

  • Fixed logging.
  • Fixed missing module on docker standalone mode.

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.4.2...v0.4.3

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 3 years ago

EHMASS - EMHASS version 0.4.2

Some bug fixes.
Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.4.1...v0.4.2

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 3 years ago

EHMASS - EMHASS version 0.4.1

Some nice improvements adapted to the new version v0.4.x:

Improvement

  • Improved the documentation and the in-code docstrings.
  • Added the possibility to save the optimized model after a tuning routine.
  • Added the possibility to publish predict results to a Home Assistant sensor.
  • Added the possibility to provide custom entity_id, unit_of_measurement and friendly_name for each published data.

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.4.0...v0.4.1

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 3 years ago

EHMASS - EMHASS version 0.4.0

The new Machine Learning forecast module is here!
This will provide a better forecast model for the load power consumption forecast.

Improvement

  • A brand new load forecast module and more... The new forecast module can actually be used to forecast any Home Assistant variable. The API provides fit, predict and tune methods. By the default it provides a more efficient way to forecast the power load consumption. It is based on the skforecast module that uses scikit-learn regression models considering auto-regression lags as features. The hyperparameter optimization is proposed using bayesian optimization from the optuna module.
  • A new documentation section covering the new forecast module.

Fix

  • Fixed Solar.Forecast issues with lists of parameters.
  • Fixed latex equations rendering on documentation, dropped Mathjax.
  • Refactored images in documentation, now using only SVG for plotly figures.
  • Bumped requirements to latest non-conflicting versions.

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.3.36...v0.4.0

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 3 years ago

EHMASS - EMHASS version 0.3.36

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.3.35...v0.3.36

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 3 years ago

EHMASS - EMHASS version 0.3.35

Fix

  • Fixed access to injection_dict for the first time that emhass is used.

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.3.34...v0.3.35

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 3 years ago

EHMASS - EMHASS version 0.3.34

Fix

  • Fixed bugs with paths again, now using the official pathlib everywhere.

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.3.32...v0.3.34

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 3 years ago

EHMASS - EMHASS version 0.3.32

Fix

  • Fixed bugs on handling data folder name.
  • Improved warning messages when passing list of values with items detected as non digits.

What's Changed

New Contributors

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.3.29...v0.3.32

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 3 years ago

EHMASS - EMHASS version 0.3.29

Improvement: Implemented data storage to survive add-on restarts.

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.3.28...v0.3.29

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 3 years ago

EHMASS - EMHASS version v0.3.25

Fixed dependencies, uniform working versions of Numpy, Pandas

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.3.24...v0.3.25

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 3 years ago

EHMASS - EMHASS version 0.3.24

Fixed dependencies, rolled back to older fixed Numpy and Pandas versions.

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.3.23...v0.3.24

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 3 years ago

EHMASS - EMHASS version 0.3.23

A quick fix release.

Fix

  • Fixed missing integration of additional set_nocharge_from_grid in the web server.
  • Improved the documentation.

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.3.22...v0.3.23

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 3 years ago

EHMASS - EMHASS version 0.3.22

This version comes with some improvements and fixes. Most notably the possibility to add a constraint to forbidden charging the battery from the grid.

Improvement

  • Improved unittest for mock get requests
  • Improved coverage

Fix

  • Code works even if no battery data is configured
  • Added more explicit logging error message in the case of no data retrieved from Home Assistant

What's Changed

New Contributors

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.3.21...v0.3.22

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 3 years ago

EHMASS - EMHASS version 0.3.21

Fix

  • Fixed docstrings
  • Added github worflows for coverage and automatic package compiling
  • Fixing interpolation for Forecast.Solar data

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.3.20...v0.3.21

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 3 years ago

EHMASS - EMHASS version 0.3.20

A new release with bunch of improvements, most notably added direct support for the Solar.Forecast method to forecast PV power.

Also:

  • Added more detailed examples to the forecast module documentation.
  • Improved handling of datatime indexes in DataFrames on forecast module.
  • Added warning messages if passed list values contains non numeric items.
  • Added missing unittests for forecast module with request.get dependencies using MagicMock.

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.3.19...v0.3.20

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 3 years ago

EHMASS - EMHASS version 0.3.19

Fix

  • Updated default values for a working LP solver.
  • Removed option to provide a custom web ui url.
  • Added extra runtime parameters to use solcast PV forecast.

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.3.18...v0.3.19

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek over 3 years ago

EHMASS - EMHASS version 0.3.18

Improvement

  • Improving documentation, added more information on forecast page.
  • Added support for SolCast PV production forecasts.
  • Added possibility to pass some optimization parameters at runtime.
  • Added some unittest for passing data as list testing.

Fix

  • Fixed small bug on webserver using pandas sum function for non numeric data. This was throwing the following message: Dropping of nuisance columns in DataFrame reductions (with 'numeric_only=None') is deprecated.

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.3.17...v0.3.18

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek almost 4 years ago

EHMASS - EMHASS version 0.3.17

Some bug fixes.

Fix

  • Fixed wrong variables names for mixed forecasts.
  • Fixed handling of load sensor name in command line setup function.

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.3.16...v0.3.17

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek about 4 years ago

EHMASS - EMHASS version 0.3.16

Some worthy improvements in this new version.

Improvement

  • Improving documentation, added "what is this" section and added some info-graphics.
  • Added new forecasts methods chapter in documentation.
  • Added publish of sensors for p_grid_forecast & total value of cost function.
  • Implemented now/current value forecast correction when using MPC.

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.3.15...v0.3.16

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek about 4 years ago

EHMASS - EMHASS version 0.3.15

Fix

  • Fixed small bug with wrong DF variable name in web server.

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.3.14...v0.3.15

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek about 4 years ago

EHMASS - v0.3.14

Improvement

  • Added one more table to the weu showing the cost totals.

Fix

  • Fixed wrong type error when serializing numpy ints. Converted ints to Python type.

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.3.13...v0.3.14

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek about 4 years ago

EHMASS - EMHASS version 0.3.13

Fix

  • Fix wrong default value implementation for solver params.

Improvement

  • Added support to provide solver name and path as parameters in the configuration file.

What's Changed

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.3.11...v0.3.13

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek about 4 years ago

EHMASS - EMHASS version 0.3.11

In this new version some improvements were added to the code.

Improvement

  • Added data as attributes for forecasts (PV and load), deferrable loads and battery: power+SOC.
  • Improved the graph in the webserver, now using subplots.
  • Rearranged vertical space in index.html template.

Fix

  • Added threads option on waitress to possibly improve queue problem.

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.3.10...v0.3.11

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek about 4 years ago

EHMASS - EMHASS version 0.3.9

Several bug fixes and improvements.

Improvement

  • Improved publish data logging
  • Round published data
  • Attributes to forecasts published data
  • Improved centering html on small devices
  • Improved handling of closest index when publishing data

Fix

  • Fixed problem with csv filenames, was using only filename specific to dayahead optimization.
  • Fixed data list handling for load cost and prod price forecasts.
  • Fixed publish data dictionary to contain only data from correct entity_id.
  • May have solved double log lines.

Full Changelog: https://github.com/davidusb-geek/emhass/compare/v0.3.8...v0.3.9

Energy Systems - Building Energy Monitoring - Python
Published by davidusb-geek about 4 years ago