]> git.basschouten.com Git - openhab-addons.git/commit
[pidcontroller] Implement previous state recovery on startup (#13003)
authorLenno Nagel <lenno@nagel.ee>
Sat, 2 Jul 2022 09:28:18 +0000 (12:28 +0300)
committerGitHub <noreply@github.com>
Sat, 2 Jul 2022 09:28:18 +0000 (11:28 +0200)
commit2c919c6a3812535d4552dc01df54d30c75521851
treeb259f00750c3633357a72793938a661f168b1963
parentb886650baee557ad74e31ccc743b06c4d9282826
[pidcontroller] Implement previous state recovery on startup (#13003)

* [pidcontroller] Implement previous state recovery on startup

This feature allows the PID controller parameters to be updated and
OpenHAB to be restarted without losing the current controller state.

This is especially important for systems with a long response time.
For example it might take up to a day for an underfloor heating
controller to stabilise after losing state and having to build up
the integrator value from zero.

Signed-off-by: Lenno Nagel <lenno@nagel.ee>
* Change logger.info -> logger.debug

Signed-off-by: Lenno Nagel <lenno@nagel.ee>
* Change debug Item -> inspector Item in README

Signed-off-by: Lenno Nagel <lenno@nagel.ee>
* Add documentation regarding state persistence

Signed-off-by: Lenno Nagel <lenno@nagel.ee>
* Update bundles/org.openhab.automation.pidcontroller/README.md

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
* Update bundles/org.openhab.automation.pidcontroller/README.md

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
bundles/org.openhab.automation.pidcontroller/README.md
bundles/org.openhab.automation.pidcontroller/src/main/java/org/openhab/automation/pidcontroller/internal/handler/PIDController.java
bundles/org.openhab.automation.pidcontroller/src/main/java/org/openhab/automation/pidcontroller/internal/handler/PIDControllerTriggerHandler.java