Repository navigation
[EDGE+UI] ControllerIOHeatingElement added optional Water Temperature control, UI changes for HeatingElement - #4082
vision1727 wants to merge 13 commits into
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #4082 +/- ##
=============================================
+ Coverage 57.15% 57.18% +0.03%
- Complexity 22095 22142 +47
=============================================
Files 4176 4176
Lines 190779 191050 +271
Branches 16290 16364 +74
=============================================
+ Hits 109027 109230 +203
- Misses 77306 77352 +46
- Partials 4446 4468 +22 🚀 New features to boost your workflow:
|
|
@alexbelkedev: Could you please check if this is compatible with our developments? |
@sfeilmeier I've checked it with our developments. It looks compatible to me. |
|
updatet to java25 and rechecked |
…ich the heatingelemt tries to reach the temperature
|
added a safety feature which limits the time for legionella heating time |
Add the UI for the optional water temperature control of Controller IO Heating Element: - Settings: toggle for the temperature sensor, sensor selection, level on sensor failure, low/high/max temperature and the Legionella protection (temperature, interval, hold time, max. heating time); fields are hidden without a sensor - Live: show actual and target water temperature plus warnings for unavailable sensor and failed Legionella protection in the flat widget, the home view and the settings - History: show actual and target water temperature in the line chart - Add translations (cz, de, en, es, fr, ja, lt, nl, sv)
…atingElementwithTemp # Conflicts: # io.openems.edge.controller.io.heatingelement/src/io/openems/edge/controller/io/heatingelement/ControllerIoHeatingElement.java # io.openems.edge.controller.io.heatingelement/src/io/openems/edge/controller/io/heatingelement/ControllerIoHeatingElementImpl.java # io.openems.edge.controller.io.heatingelement/src/io/openems/edge/controller/io/heatingelement/Utils.java # io.openems.edge.controller.io.heatingelement/test/io/openems/edge/controller/io/heatingelement/MyConfig.java
|
@sfeilmeier and @alexbelkedev please review. updatet the pr to latest development branch, including the 6 stage heating. what's new: - latest base
|
…atingElementwithTemp # Conflicts: # ui/src/app/edge/live/Controller/Io/HeatingElement/flat/flat.ts # ui/src/app/edge/live/Controller/Io/HeatingElement/history/chart/chart.ts # ui/src/app/edge/live/Controller/Io/HeatingElement/shared/shared.ts # ui/src/assets/i18n/cz.json # ui/src/assets/i18n/de.json # ui/src/assets/i18n/en.json # ui/src/assets/i18n/es.json # ui/src/assets/i18n/fr.json # ui/src/assets/i18n/ja.json # ui/src/assets/i18n/lt.json # ui/src/assets/i18n/nl.json # ui/src/assets/i18n/sv.json
…tore it after restart
…atingElementwithTemp # Conflicts: # io.openems.edge.controller.io.heatingelement/src/io/openems/edge/controller/io/heatingelement/ControllerIoHeatingElementImpl.java # ui/src/assets/i18n/cz.json # ui/src/assets/i18n/de.json # ui/src/assets/i18n/en.json # ui/src/assets/i18n/es.json # ui/src/assets/i18n/fr.json # ui/src/assets/i18n/ja.json # ui/src/assets/i18n/lt.json # ui/src/assets/i18n/nl.json # ui/src/assets/i18n/sv.json
|
Hi, I updated the branch to the latest develop, conflicts are solved and checks are green. I also added that the Legionella time is now saved and restored after a restart. Could someone take a look when there is time? I am also looking for help to check the translations (cz, es, fr, ja, lt, nl, sv). Thanks! |
…e it was in wrong position
…atingElementwithTemp



Summary
Added an optional water temperature control to "Controller.IO.HeatingElement", because during the time with excess power and when pellet heating is turned off, my wife also wants to have warm water :-)
It can be enabled in the config and requires a 'Thermometer'.
If Thermometer is disabled, behavior is unchanged.
Changes
hasWaterThermometer(defaultfalse) andwaterThermometer_id. The Thermometer is an optional reference using@GenerateTargetsFromReferences, likemeter.lowWaterTemperature: below this temperature the heating element heats with Level 3, even without excess power.highWaterTemperature: above this temperature the heating element is switched off, even with excess power.maxWaterTemperature: safety limit, always switched off above.sensorErrorLevel: Level (0-3) that is applied if the Thermometer is not available. Level 0 switches the heating element off.legionellenWaterTemperatureforminLegionellenTimehours withinlegionellenIntervaldays, the heating element heats until it was held long enough.legionellenMaxHeatingTimehours, the heating is aborted and the ChannelLegionellenProtectionFailedis set. It is retried after one day.WaterActual,WaterTarget(both in °C),WaterThermometerNotAvailable,LegionellenProtectionFailed.bnd.bnd: addedio.openems.edge.thermometer.api.readme.adoc: documented the temperature control.Notes
max,highand the sensor error level are applied immediately and do not wait forminimumSwitchingTime. Heating because oflowor the Legionella protection has priority over Work-Mode and schedule, but respectsminimumSwitchingTime.Tests
ControllerHeatingElementImplTest11: behavior without Thermometer, temperature limits, sensor error for all Levels, Legionella protection (hold time, temperature band, abort and retry) and Manual On.MyConfigextended with the new properties (defaults keep the existing tests unchanged).