]> git.basschouten.com Git - openhab-addons.git/commit
[shelly] Fix thing re-init after power cycle for firmware update (#17163)
authorMarkus Michels <markus7017@gmail.com>
Fri, 2 Aug 2024 21:14:38 +0000 (23:14 +0200)
committerGitHub <noreply@github.com>
Fri, 2 Aug 2024 21:14:38 +0000 (23:14 +0200)
commit8c29b5973e5fa1159f11b325eb3cd6723d690176
treea72c129dfee44e91198e7f9f97f8fab8c60461d9
parent87eb3a5feb4051789c36e4a1b6dbe69ffa3e1459
[shelly] Fix thing re-init after power cycle for firmware update (#17163)

* Fixes thing re-init during/after firmware update. API will not be closed
on ota_success message.
* Don't disconnect from device during firmware update, this ensures to get
further events throughout the upgrade process
* suspress COMMUNICATION_ERROR on expected restart after fw upgrade

Signed-off-by: Markus Michels <markus7017@gmail.com>
bundles/org.openhab.binding.shelly/README.md
bundles/org.openhab.binding.shelly/src/main/java/org/openhab/binding/shelly/internal/api2/Shelly2ApiJsonDTO.java
bundles/org.openhab.binding.shelly/src/main/java/org/openhab/binding/shelly/internal/api2/Shelly2ApiRpc.java
bundles/org.openhab.binding.shelly/src/main/java/org/openhab/binding/shelly/internal/handler/ShellyBaseHandler.java
bundles/org.openhab.binding.shelly/src/main/java/org/openhab/binding/shelly/internal/handler/ShellyManagerInterface.java
bundles/org.openhab.binding.shelly/src/main/java/org/openhab/binding/shelly/internal/handler/ShellyThingInterface.java
bundles/org.openhab.binding.shelly/src/main/java/org/openhab/binding/shelly/internal/manager/ShellyManagerActionPage.java
bundles/org.openhab.binding.shelly/src/main/java/org/openhab/binding/shelly/internal/manager/ShellyManagerOtaPage.java
bundles/org.openhab.binding.shelly/src/main/java/org/openhab/binding/shelly/internal/manager/ShellyManagerOverviewPage.java
bundles/org.openhab.binding.shelly/src/main/resources/OH-INF/i18n/shelly.properties