Skip to content

Commit

Permalink
Version 2024.12.1 (#172)
Browse files Browse the repository at this point in the history
* Version 2024.11.0.dev_a:
integrate several kinds of heatpumps

* Version 2024.11.0:
Fixed a db-error when getting Tibber-data with the default sqlite-db

* Version 2024.11.1.dev_a:
 Scheduling of heatpump can be set via a ha-entity
- Scheduling of heatpump can be achieved in three ways:
  - on/off
  - heat curve adjustment
  - calculated power
- When setting a state of an entity failed then an error message is written in the log
  (name of the entity, new failed value)
 ## [V2024.11.1]
- Fixed an error when getting Tibber-data when using a Tibber pulse:
only data before today are stored

* Develop (#168)

* Version 2024.11.0.dev_a:
integrate several kinds of heatpumps

* Version 2024.11.0.dev_a:
test pull request

* Version 2024.11.0.dev:
test pull request

* Version 2024.11.0.dev_a:
 Scheduling of heatpump can be set via a ha-entity
- Scheduling of heatpump can be achieved in three ways:
  - on/off
  - heat curve adjustment
  - calculated power
- When setting a state of an entity failed then an error message is written in the log
  (name of the entity, new failed value)

* Version 2024.11.0.dev: (#139)

* Version 2024.11.0.dev:
test pull request

* Version 2024.11.0.dev_a:
 Scheduling of heatpump can be set via a ha-entity
- Scheduling of heatpump can be achieved in three ways:
  - on/off
  - heat curve adjustment
  - calculated power
- When setting a state of an entity failed then an error message is written in the log
  (name of the entity, new failed value)

* Version 2024.11.0.dev: (#139) (#145)

* Version 2024.11.0.dev:
test pull request

* Version 2024.11.0.dev_a:
 Scheduling of heatpump can be set via a ha-entity
- Scheduling of heatpump can be achieved in three ways:
  - on/off
  - heat curve adjustment
  - calculated power
- When setting a state of an entity failed then an error message is written in the log
  (name of the entity, new failed value)

* Version 2024.11.1.dev_a:
 Scheduling of heatpump can be set via a ha-entity
- Scheduling of heatpump can be achieved in three ways:
  - on/off
  - heat curve adjustment
  - calculated power
- When setting a state of an entity failed then an error message is written in the log
  (name of the entity, new failed value)
 ## [V2024.11.1]
- Fixed an error when getting Tibber-data when using a Tibber pulse:
only data before today are stored

* Version 2024.11.1.dev_b:
- Scheduling of boiler can be set via a ha-entity
- when boiler is heated bij the heat pump for room-heating then there can only be "one" heating
function in an hour, therefore is a new setting introduced in the boiler-section: "boiler heated
by heatpump". This setting can be "True" or "False"
- the code is brought inline with PEP 8 (Style Guide for Python Code)

* Implementatie on/off warmtepomp (#147)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Develop (#148)

* Version 2024.11.0.dev: (#139)

* Version 2024.11.0.dev:
test pull request

* Version 2024.11.0.dev_a:
 Scheduling of heatpump can be set via a ha-entity
- Scheduling of heatpump can be achieved in three ways:
  - on/off
  - heat curve adjustment
  - calculated power
- When setting a state of an entity failed then an error message is written in the log
  (name of the entity, new failed value)

* Implementatie on/off warmtepomp (#147)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* Version 2024.11.1.dev_c:
- Scheduling of boiler can be set via a ha-entity
- when boiler is heated bij the heat pump for room-heating then there can only be "one" heating
function in an hour, therefore is a new setting introduced in the boiler-section: "boiler heated
by heatpump". This setting can be "True" or "False"
- the code is brought inline with PEP 8 (Style Guide for Python Code)

* Version 2024.11.1.dev_c:
- Fixed error in a api-call: `http://<ip-adres>:5000/api/report/cost/deze_maand`??
- fixed error api call "netto_cost"

* Version 2024.11.1.dev_d:
There was a general error in api-calls, fixed.

* Implementatie van hp_enabled en hp_heat_demand (#151)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

---------

Co-authored-by: Cees van Beek <16610333+corneel27@users.noreply.github.com>

* Implementatie van hp_enabled en hp_heat_demand (#151) (#152)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* Bugfix day_ahead.py & extra optie warmtepomp: min. draai uren (#155)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update day_ahead.py

Bug fixes warmtepomp
Toevoegen van optie om minimale run lengte van warmtepomp te garanderen

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

---------

Co-authored-by: Cees van Beek <16610333+corneel27@users.noreply.github.com>

* Version 2024.11.1.dev_e:
- "optimal lower level" is not used anymore: it was too difficult and too complex to understand and
didn't give enough good results
- The calculated cycle costs  are (per battery) logged (level info).

* Versie 2024.11.1.dev_e (#156)

* Implementatie van hp_enabled en hp_heat_demand (#151) (#152)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* Version 2024.11.1.dev_e:
- "optimal lower level" is not used anymore: it was too difficult and too complex to understand and
didn't give enough good results
- The calculated cycle costs  are (per battery) logged (level info).

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* Versie 2024.11.1.dev_e (#156) (#157)

* Implementatie van hp_enabled en hp_heat_demand (#151) (#152)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

---------



* Version 2024.11.1.dev_e:
- "optimal lower level" is not used anymore: it was too difficult and too complex to understand and
didn't give enough good results
- The calculated cycle costs  are (per battery) logged (level info).

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* bugfixje heatpump en toevoegen van optionele ha entity voor degree_days_factor  (#158)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update day_ahead.py

Bug fixes warmtepomp
Toevoegen van optie om minimale run lengte van warmtepomp te garanderen

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

Bugfix minimale run lengte warmtepomp

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

---------

Co-authored-by: Cees van Beek <16610333+corneel27@users.noreply.github.com>

* Versie 2024.11.1.dev_e1 (#159)

* Versie 2024.11.1.dev_e (#156)

* Implementatie van hp_enabled en hp_heat_demand (#151) (#152)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* Version 2024.11.1.dev_e:
- "optimal lower level" is not used anymore: it was too difficult and too complex to understand and
didn't give enough good results
- The calculated cycle costs  are (per battery) logged (level info).

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* bugfixje heatpump en toevoegen van optionele ha entity voor degree_days_factor  (#158)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update day_ahead.py

Bug fixes warmtepomp
Toevoegen van optie om minimale run lengte van warmtepomp te garanderen

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

Bugfix minimale run lengte warmtepomp

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

---------

Co-authored-by: Cees van Beek <16610333+corneel27@users.noreply.github.com>

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* Bugfix: api werkte niet met deze_maand, deze_week etc. als geen tibber data (#160)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update day_ahead.py

Bug fixes warmtepomp
Toevoegen van optie om minimale run lengte van warmtepomp te garanderen

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

Bugfix minimale run lengte warmtepomp

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update day_ahead.py

* Update da_report.py

Bugfix: api did not work for  deze_week, deze_maand etc.

* Update da_report.py

---------

Co-authored-by: Cees van Beek <16610333+corneel27@users.noreply.github.com>

* Develop (#161)

* Versie 2024.11.1.dev_e (#156)

* Implementatie van hp_enabled en hp_heat_demand (#151) (#152)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* Version 2024.11.1.dev_e:
- "optimal lower level" is not used anymore: it was too difficult and too complex to understand and
didn't give enough good results
- The calculated cycle costs  are (per battery) logged (level info).

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* bugfixje heatpump en toevoegen van optionele ha entity voor degree_days_factor  (#158)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update day_ahead.py

Bug fixes warmtepomp
Toevoegen van optie om minimale run lengte van warmtepomp te garanderen

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

Bugfix minimale run lengte warmtepomp

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

---------

Co-authored-by: Cees van Beek <16610333+corneel27@users.noreply.github.com>

* Bugfix: api werkte niet met deze_maand, deze_week etc. als geen tibber data (#160)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update day_ahead.py

Bug fixes warmtepomp
Toevoegen van optie om minimale run lengte van warmtepomp te garanderen

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

Bugfix minimale run lengte warmtepomp

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update day_ahead.py

* Update da_report.py

Bugfix: api did not work for  deze_week, deze_maand etc.

* Update da_report.py

---------

Co-authored-by: Cees van Beek <16610333+corneel27@users.noreply.github.com>

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* Version 2024.12.0.rc_3
Implementation of "on/off" and "power" adjustmentof heatpump

* develop_cees (#162)

* Develop (#161)

* Versie 2024.11.1.dev_e (#156)

* Implementatie van hp_enabled en hp_heat_demand (#151) (#152)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* Version 2024.11.1.dev_e:
- "optimal lower level" is not used anymore: it was too difficult and too complex to understand and
didn't give enough good results
- The calculated cycle costs  are (per battery) logged (level info).

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* bugfixje heatpump en toevoegen van optionele ha entity voor degree_days_factor  (#158)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update day_ahead.py

Bug fixes warmtepomp
Toevoegen van optie om minimale run lengte van warmtepomp te garanderen

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

Bugfix minimale run lengte warmtepomp

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

---------

Co-authored-by: Cees van Beek <16610333+corneel27@users.noreply.github.com>

* Bugfix: api werkte niet met deze_maand, deze_week etc. als geen tibber data (#160)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update day_ahead.py

Bug fixes warmtepomp
Toevoegen van optie om minimale run lengte van warmtepomp te garanderen

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

Bugfix minimale run lengte warmtepomp

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update day_ahead.py

* Update da_report.py

Bugfix: api did not work for  deze_week, deze_maand etc.

* Update da_report.py

---------

Co-authored-by: Cees van Beek <16610333+corneel27@users.noreply.github.com>

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* Version 2024.12.0.rc_3
Implementation of "on/off" and "power" adjustmentof heatpump

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* Update docs.md (#163)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update day_ahead.py

Bug fixes warmtepomp
Toevoegen van optie om minimale run lengte van warmtepomp te garanderen

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

Bugfix minimale run lengte warmtepomp

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update day_ahead.py

* Update da_report.py

Bugfix: api did not work for  deze_week, deze_maand etc.

* Update da_report.py

* Update DOCS.md

* Update DOCS.md

* Add files via upload

* Update DOCS.md

* Update DOCS.md

* Update DOCS.md

* Update DOCS.md

* Update DOCS.md

* Add files via upload

* Update DOCS.md

---------

Co-authored-by: Cees van Beek <16610333+corneel27@users.noreply.github.com>

* Definitieve versie 2024.12.0 (#165)

* format da_report

* maximizing heat_needed

* Aanvullingen DOCS.md (#164)

* develop_cees (#162)

* Develop (#161)

* Versie 2024.11.1.dev_e (#156)

* Implementatie van hp_enabled en hp_heat_demand (#151) (#152)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* Version 2024.11.1.dev_e:
- "optimal lower level" is not used anymore: it was too difficult and too complex to understand and
didn't give enough good results
- The calculated cycle costs  are (per battery) logged (level info).

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* bugfixje heatpump en toevoegen van optionele ha entity voor degree_days_factor  (#158)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update day_ahead.py

Bug fixes warmtepomp
Toevoegen van optie om minimale run lengte van warmtepomp te garanderen

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

Bugfix minimale run lengte warmtepomp

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

---------

Co-authored-by: Cees van Beek <16610333+corneel27@users.noreply.github.com>

* Bugfix: api werkte niet met deze_maand, deze_week etc. als geen tibber data (#160)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update day_ahead.py

Bug fixes warmtepomp
Toevoegen van optie om minimale run lengte van warmtepomp te garanderen

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

Bugfix minimale run lengte warmtepomp

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update day_ahead.py

* Update da_report.py

Bugfix: api did not work for  deze_week, deze_maand etc.

* Update da_report.py

---------

Co-authored-by: Cees van Beek <16610333+corneel27@users.noreply.github.com>

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* Version 2024.12.0.rc_3
Implementation of "on/off" and "power" adjustmentof heatpump

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* Update docs.md (#163)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update day_ahead.py

Bug fixes warmtepomp
Toevoegen van optie om minimale run lengte van warmtepomp te garanderen

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

Bugfix minimale run lengte warmtepomp

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update day_ahead.py

* Update da_report.py

Bugfix: api did not work for  deze_week, deze_maand etc.

* Update da_report.py

* Update DOCS.md

* Update DOCS.md

* Add files via upload

* Update DOCS.md

* Update DOCS.md

* Update DOCS.md

* Update DOCS.md

* Update DOCS.md

* Add files via upload

* Update DOCS.md

---------

Co-authored-by: Cees van Beek <16610333+corneel27@users.noreply.github.com>

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* Definitieve versie 2024.12.0

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* Develop cees (#166)

* format da_report

* maximizing heat_needed

* Aanvullingen DOCS.md (#164)

* develop_cees (#162)

* Develop (#161)

* Versie 2024.11.1.dev_e (#156)

* Implementatie van hp_enabled en hp_heat_demand (#151) (#152)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* Version 2024.11.1.dev_e:
- "optimal lower level" is not used anymore: it was too difficult and too complex to understand and
didn't give enough good results
- The calculated cycle costs  are (per battery) logged (level info).

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* bugfixje heatpump en toevoegen van optionele ha entity voor degree_days_factor  (#158)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update day_ahead.py

Bug fixes warmtepomp
Toevoegen van optie om minimale run lengte van warmtepomp te garanderen

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

Bugfix minimale run lengte warmtepomp

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

---------

Co-authored-by: Cees van Beek <16610333+corneel27@users.noreply.github.com>

* Bugfix: api werkte niet met deze_maand, deze_week etc. als geen tibber data (#160)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update day_ahead.py

Bug fixes warmtepomp
Toevoegen van optie om minimale run lengte van warmtepomp te garanderen

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

Bugfix minimale run lengte warmtepomp

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update day_ahead.py

* Update da_report.py

Bugfix: api did not work for  deze_week, deze_maand etc.

* Update da_report.py

---------

Co-authored-by: Cees van Beek <16610333+corneel27@users.noreply.github.com>

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* Version 2024.12.0.rc_3
Implementation of "on/off" and "power" adjustmentof heatpump

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* Update docs.md (#163)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update day_ahead.py

Bug fixes warmtepomp
Toevoegen van optie om minimale run lengte van warmtepomp te garanderen

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

Bugfix minimale run lengte warmtepomp

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update day_ahead.py

* Update da_report.py

Bugfix: api did not work for  deze_week, deze_maand etc.

* Update da_report.py

* Update DOCS.md

* Update DOCS.md

* Add files via upload

* Update DOCS.md

* Update DOCS.md

* Update DOCS.md

* Update DOCS.md

* Update DOCS.md

* Add files via upload

* Update DOCS.md

---------

Co-authored-by: Cees van Beek <16610333+corneel27@users.noreply.github.com>

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* Definitieve versie 2024.12.0

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* Develop cees (#167)

* format da_report

* maximizing heat_needed

* Aanvullingen DOCS.md (#164)

* develop_cees (#162)

* Develop (#161)

* Versie 2024.11.1.dev_e (#156)

* Implementatie van hp_enabled en hp_heat_demand (#151) (#152)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* Version 2024.11.1.dev_e:
- "optimal lower level" is not used anymore: it was too difficult and too complex to understand and
didn't give enough good results
- The calculated cycle costs  are (per battery) logged (level info).

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* bugfixje heatpump en toevoegen van optionele ha entity voor degree_days_factor  (#158)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update day_ahead.py

Bug fixes warmtepomp
Toevoegen van optie om minimale run lengte van warmtepomp te garanderen

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

Bugfix minimale run lengte warmtepomp

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

---------

Co-authored-by: Cees van Beek <16610333+corneel27@users.noreply.github.com>

* Bugfix: api werkte niet met deze_maand, deze_week etc. als geen tibber data (#160)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update day_ahead.py

Bug fixes warmtepomp
Toevoegen van optie om minimale run lengte van warmtepomp te garanderen

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

Bugfix minimale run lengte warmtepomp

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update day_ahead.py

* Update da_report.py

Bugfix: api did not work for  deze_week, deze_maand etc.

* Update da_report.py

---------

Co-authored-by: Cees van Beek <16610333+corneel27@users.noreply.github.com>

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* Version 2024.12.0.rc_3
Implementation of "on/off" and "power" adjustmentof heatpump

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* Update docs.md (#163)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update day_ahead.py

Bug fixes warmtepomp
Toevoegen van optie om minimale run lengte van warmtepomp te garanderen

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

Bugfix minimale run lengte warmtepomp

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update day_ahead.py

* Update da_report.py

Bugfix: api did not work for  deze_week, deze_maand etc.

* Update da_report.py

* Update DOCS.md

* Update DOCS.md

* Add files via upload

* Update DOCS.md

* Update DOCS.md

* Update DOCS.md

* Update DOCS.md

* Update DOCS.md

* Add files via upload

* Update DOCS.md

---------

Co-authored-by: Cees van Beek <16610333+corneel27@users.noreply.github.com>

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* Definitieve versie 2024.12.0

* Definitieve versie 2024.12.0

* Set version number (2024.12.0) in changelog

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* Version 2024.12.1 (#171)

* Version 2024.11.0.dev_a:
integrate several kinds of heatpumps

* Version 2024.11.0.dev_a:
test pull request

* Version 2024.11.0.dev:
test pull request

* Version 2024.11.0.dev_a:
 Scheduling of heatpump can be set via a ha-entity
- Scheduling of heatpump can be achieved in three ways:
  - on/off
  - heat curve adjustment
  - calculated power
- When setting a state of an entity failed then an error message is written in the log
  (name of the entity, new failed value)

* Version 2024.11.0.dev: (#139)

* Version 2024.11.0.dev:
test pull request

* Version 2024.11.0.dev_a:
 Scheduling of heatpump can be set via a ha-entity
- Scheduling of heatpump can be achieved in three ways:
  - on/off
  - heat curve adjustment
  - calculated power
- When setting a state of an entity failed then an error message is written in the log
  (name of the entity, new failed value)

* Version 2024.11.0.dev: (#139) (#145)

* Version 2024.11.0.dev:
test pull request

* Version 2024.11.0.dev_a:
 Scheduling of heatpump can be set via a ha-entity
- Scheduling of heatpump can be achieved in three ways:
  - on/off
  - heat curve adjustment
  - calculated power
- When setting a state of an entity failed then an error message is written in the log
  (name of the entity, new failed value)

* Version 2024.11.1.dev_a:
 Scheduling of heatpump can be set via a ha-entity
- Scheduling of heatpump can be achieved in three ways:
  - on/off
  - heat curve adjustment
  - calculated power
- When setting a state of an entity failed then an error message is written in the log
  (name of the entity, new failed value)
 ## [V2024.11.1]
- Fixed an error when getting Tibber-data when using a Tibber pulse:
only data before today are stored

* Version 2024.11.1.dev_b:
- Scheduling of boiler can be set via a ha-entity
- when boiler is heated bij the heat pump for room-heating then there can only be "one" heating
function in an hour, therefore is a new setting introduced in the boiler-section: "boiler heated
by heatpump". This setting can be "True" or "False"
- the code is brought inline with PEP 8 (Style Guide for Python Code)

* Implementatie on/off warmtepomp (#147)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Develop (#148)

* Version 2024.11.0.dev: (#139)

* Version 2024.11.0.dev:
test pull request

* Version 2024.11.0.dev_a:
 Scheduling of heatpump can be set via a ha-entity
- Scheduling of heatpump can be achieved in three ways:
  - on/off
  - heat curve adjustment
  - calculated power
- When setting a state of an entity failed then an error message is written in the log
  (name of the entity, new failed value)

* Implementatie on/off warmtepomp (#147)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* Version 2024.11.1.dev_c:
- Scheduling of boiler can be set via a ha-entity
- when boiler is heated bij the heat pump for room-heating then there can only be "one" heating
function in an hour, therefore is a new setting introduced in the boiler-section: "boiler heated
by heatpump". This setting can be "True" or "False"
- the code is brought inline with PEP 8 (Style Guide for Python Code)

* Version 2024.11.1.dev_c:
- Fixed error in a api-call: `http://<ip-adres>:5000/api/report/cost/deze_maand`??
- fixed error api call "netto_cost"

* Version 2024.11.1.dev_d:
There was a general error in api-calls, fixed.

* Implementatie van hp_enabled en hp_heat_demand (#151)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

---------

Co-authored-by: Cees van Beek <16610333+corneel27@users.noreply.github.com>

* Implementatie van hp_enabled en hp_heat_demand (#151) (#152)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* Bugfix day_ahead.py & extra optie warmtepomp: min. draai uren (#155)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update day_ahead.py

Bug fixes warmtepomp
Toevoegen van optie om minimale run lengte van warmtepomp te garanderen

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

---------

Co-authored-by: Cees van Beek <16610333+corneel27@users.noreply.github.com>

* Version 2024.11.1.dev_e:
- "optimal lower level" is not used anymore: it was too difficult and too complex to understand and
didn't give enough good results
- The calculated cycle costs  are (per battery) logged (level info).

* Versie 2024.11.1.dev_e (#156)

* Implementatie van hp_enabled en hp_heat_demand (#151) (#152)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* Version 2024.11.1.dev_e:
- "optimal lower level" is not used anymore: it was too difficult and too complex to understand and
didn't give enough good results
- The calculated cycle costs  are (per battery) logged (level info).

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* Versie 2024.11.1.dev_e (#156) (#157)

* Implementatie van hp_enabled en hp_heat_demand (#151) (#152)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

---------



* Version 2024.11.1.dev_e:
- "optimal lower level" is not used anymore: it was too difficult and too complex to understand and
didn't give enough good results
- The calculated cycle costs  are (per battery) logged (level info).

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* bugfixje heatpump en toevoegen van optionele ha entity voor degree_days_factor  (#158)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update day_ahead.py

Bug fixes warmtepomp
Toevoegen van optie om minimale run lengte van warmtepomp te garanderen

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

Bugfix minimale run lengte warmtepomp

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

---------

Co-authored-by: Cees van Beek <16610333+corneel27@users.noreply.github.com>

* Versie 2024.11.1.dev_e1 (#159)

* Versie 2024.11.1.dev_e (#156)

* Implementatie van hp_enabled en hp_heat_demand (#151) (#152)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* Version 2024.11.1.dev_e:
- "optimal lower level" is not used anymore: it was too difficult and too complex to understand and
didn't give enough good results
- The calculated cycle costs  are (per battery) logged (level info).

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* bugfixje heatpump en toevoegen van optionele ha entity voor degree_days_factor  (#158)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update day_ahead.py

Bug fixes warmtepomp
Toevoegen van optie om minimale run lengte van warmtepomp te garanderen

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

Bugfix minimale run lengte warmtepomp

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

---------

Co-authored-by: Cees van Beek <16610333+corneel27@users.noreply.github.com>

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* Bugfix: api werkte niet met deze_maand, deze_week etc. als geen tibber data (#160)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update day_ahead.py

Bug fixes warmtepomp
Toevoegen van optie om minimale run lengte van warmtepomp te garanderen

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

Bugfix minimale run lengte warmtepomp

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update day_ahead.py

* Update da_report.py

Bugfix: api did not work for  deze_week, deze_maand etc.

* Update da_report.py

---------

Co-authored-by: Cees van Beek <16610333+corneel27@users.noreply.github.com>

* Develop (#161)

* Versie 2024.11.1.dev_e (#156)

* Implementatie van hp_enabled en hp_heat_demand (#151) (#152)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* Version 2024.11.1.dev_e:
- "optimal lower level" is not used anymore: it was too difficult and too complex to understand and
didn't give enough good results
- The calculated cycle costs  are (per battery) logged (level info).

---------

Co-authored-by: soeter01 <50205733+soeter01@users.noreply.github.com>

* bugfixje heatpump en toevoegen van optionele ha entity voor degree_days_factor  (#158)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update day_ahead.py

Bug fixes warmtepomp
Toevoegen van optie om minimale run lengte van warmtepomp te garanderen

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

Bugfix minimale run lengte warmtepomp

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

---------

Co-authored-by: Cees van Beek <16610333+corneel27@users.noreply.github.com>

* Bugfix: api werkte niet met deze_maand, deze_week etc. als geen tibber data (#160)

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update day_ahead.py

Bug fixes warmtepomp
Toevoegen van optie om minimale run lengte van warmtepomp te garanderen

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

Bugfix minimale run lengte warmtepomp

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update day_ahead.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update config.yaml

* Update da_report.py

* Update co…
  • Loading branch information
corneel27 and soeter01 authored Dec 24, 2024
1 parent c5be48c commit b8d041e
Show file tree
Hide file tree
Showing 4 changed files with 109 additions and 3 deletions.
106 changes: 106 additions & 0 deletions dao/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,111 @@
# Changelog 刀 DAO
# Day Ahead Optimizer
# [V2024.12.1]
Fixed error: cycle costs (last) battery were not taken into account

# [V2024.12.0]
# LET OP
De energiebelasting wijzigt per 1 januari 2025.<br>
Neem deze over van onderstaande lijst in je instellingen:<br>
```
"energy taxes delivery": {
"2022-01-01": 0.06729,
"2023-01-01": 0.12599,
"2024-01-01": 0.10880,
"2025-01-01": 0.10154
},
"energy taxes redelivery": {
"2022-01-01": 0.06729,
"2023-01-01": 0.12599,
"2024-01-01": 0.10880,
"2025-01-01": 0.10154
},
```
# Breaking change
There is an extra optional parameter when calling an api-report: **expected**.<br>
When you call the api without `expected` or `expected=0` (default value) then only **recorded** values
are reported and the expected part of the json-result will be empty.
When you call with the parameter `expected=1` then the expected values are reported in the expected
part of the json-result.<br>
For periods with the interval "hour", there will be no change.
But for periodes with the interval "day" or "month" this can lead to new results.
For instance when you call the api for period "deze_week", without the parameter "expected" you get this result:<br>
```{ "message":"Success", "recorded": [{"time":"2024-12-02 00:00","value":36.7450000558},{"time":"2024-12-03 00:00","value":19.1840000708},{"time":"2024-12-04 00:00","value":36.8009995644},{"time":"2024-12-05 00:00","value":19.7590002147},{"time":"2024-12-06 00:00","value":43.3299993972},{"time":"2024-12-07 00:00","value":24.9570001736},{"time":"2024-12-08 00:00","value":6.462}], "expected" : [] }```<br>
But when you call it with "expected=1" then you get:<br>
```{ "message":"Success", "recorded": [{"time":"2024-12-02 00:00","value":36.7450000558},{"time":"2024-12-03 00:00","value":19.1840000708},{"time":"2024-12-04 00:00","value":36.8009995644},{"time":"2024-12-05 00:00","value":19.7590002147},{"time":"2024-12-06 00:00","value":43.3299993972},{"time":"2024-12-07 00:00","value":24.9570001736}], "expected" : [{"time":"2024-12-08 00:00","value":14.282395}] }```<br>
The total consumption of "2024-12-08" is now mentioned in the expexted part, because a part of the consumption is expected.

# Other changes
- "optimal lower level" is not used anymore: it was too difficult and too complex to understand and
didn't give enough good results
- The calculated cycle costs are (per battery) logged (level info).
- There was a general error in api-calls, fixed.
- There is an error reported in a api-call: `http://<ip-adres>:5000/api/report/cost/deze_maand`. <br>This error is fixed?
- Fixed error api call "netto_cost"
- Scheduling of boiler can be postponed via a ha-entity
- when boiler is heated bij the heat pump for room-heating then there can only be "one" heating
function in an hour, therefore is a new setting introduced in the boiler-section: "boiler heated
by heatpump". This setting can be "True" or "False"
- the code is brought inline with PEP 8 (Style Guide for Python Code)
- Scheduling of heatpump can be set via a ha-entity
- Scheduling of heatpump can be achieved in three ways:
- on/off
- heat curve adjustment
- calculated power
- When setting a state of an entity failed then an error message is written in the log
(name of the entity, new failed value)

# [V2024.12.0]
# LET OP
De energiebelasting wijzigt per 1 januari 2025.<br>
Neem deze over van onderstaande lijst in je instellingen:<br>
```
"energy taxes delivery": {
"2022-01-01": 0.06729,
"2023-01-01": 0.12599,
"2024-01-01": 0.10880,
"2025-01-01": 0.10154
},
"energy taxes redelivery": {
"2022-01-01": 0.06729,
"2023-01-01": 0.12599,
"2024-01-01": 0.10880,
"2025-01-01": 0.10154
},
```
# Breaking change
There is an extra optional parameter when calling an api-report: **expected**.<br>
When you call the api without `expected` or `expected=0` (default value) then only **recorded** values
are reported and the expected part of the json-result will be empty.
When you call with the parameter `expected=1` then the expected values are reported in the expected
part of the json-result.<br>
For periods with the interval "hour", there will be no change.
But for periodes with the interval "day" or "month" this can lead to new results.
For instance when you call the api for period "deze_week", without the parameter "expected" you get this result:<br>
```{ "message":"Success", "recorded": [{"time":"2024-12-02 00:00","value":36.7450000558},{"time":"2024-12-03 00:00","value":19.1840000708},{"time":"2024-12-04 00:00","value":36.8009995644},{"time":"2024-12-05 00:00","value":19.7590002147},{"time":"2024-12-06 00:00","value":43.3299993972},{"time":"2024-12-07 00:00","value":24.9570001736},{"time":"2024-12-08 00:00","value":6.462}], "expected" : [] }```<br>
But when you call it with "expected=1" then you get:<br>
```{ "message":"Success", "recorded": [{"time":"2024-12-02 00:00","value":36.7450000558},{"time":"2024-12-03 00:00","value":19.1840000708},{"time":"2024-12-04 00:00","value":36.8009995644},{"time":"2024-12-05 00:00","value":19.7590002147},{"time":"2024-12-06 00:00","value":43.3299993972},{"time":"2024-12-07 00:00","value":24.9570001736}], "expected" : [{"time":"2024-12-08 00:00","value":14.282395}] }```<br>
The total consumption of "2024-12-08" is now mentioned in the expexted part, because a part of the consumption is expected.

# Other changes
- "optimal lower level" is not used anymore: it was too difficult and too complex to understand and
didn't give enough good results
- The calculated cycle costs are (per battery) logged (level info).
- There was a general error in api-calls, fixed.
- There is an error reported in a api-call: `http://<ip-adres>:5000/api/report/cost/deze_maand`. <br>This error is fixed?
- Fixed error api call "netto_cost"
- Scheduling of boiler can be postponed via a ha-entity
- when boiler is heated bij the heat pump for room-heating then there can only be "one" heating
function in an hour, therefore is a new setting introduced in the boiler-section: "boiler heated
by heatpump". This setting can be "True" or "False"
- the code is brought inline with PEP 8 (Style Guide for Python Code)
- Scheduling of heatpump can be set via a ha-entity
- Scheduling of heatpump can be achieved in three ways:
- on/off
- heat curve adjustment
- calculated power
- When setting a state of an entity failed then an error message is written in the log
(name of the entity, new failed value)

# [V2024.12.0]
# LET OP
Expand Down
1 change: 0 additions & 1 deletion dao/config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
name: 刀 Day Ahead Optimizer
version: 2024.12.0
slug: day_ahead_opt
description: Docker used by Home Assistant Community Add-ons for day ahead optimizations
url: https://github.com/corneel27/day-ahead/
Expand Down
2 changes: 1 addition & 1 deletion dao/prog/day_ahead.py
Original file line number Diff line number Diff line change
Expand Up @@ -1925,7 +1925,7 @@ def calc_optimum(
c_l[u] * pl[u] - c_t_w_tax[u] * pt[u] - c_t_no_tax[u] * pt_notax[u]
for u in range(U)
)
+ xsum(cycle_cost[b] for b in range(b))
+ xsum(cycle_cost[b] for b in range(B))
+ xsum(
(soc[b][0] - soc[b][U])
* one_soc[b]
Expand Down
3 changes: 2 additions & 1 deletion dao/prog/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ def generate_hourly_timestamps(start_gen: float, end_gen: float) -> list:
if count < 24:
logging.info("Er worden geen data opgehaald.")
return

query = (
"{ "
'"query": '
Expand Down Expand Up @@ -209,7 +210,7 @@ def generate_hourly_timestamps(start_gen: float, end_gen: float) -> list:
]
tibber_df = pd.DataFrame(columns=["time", "code", "value"])
for node in production_nodes:
timestamp = int(get_datetime_from_str(node["from"]).timestamp())
timestamp = int(get_datetime_from_str(node["from"]).timestamp()
if timestamp < today_ts:
time_stamp = str(timestamp)
if not (node["production"] is None):
Expand Down

0 comments on commit b8d041e

Please sign in to comment.