From 11012215b5ae29937a9ce10ea3ffd0594f69c3cb Mon Sep 17 00:00:00 2001 From: Michael <35783820+mib1185@users.noreply.github.com> Date: Mon, 29 Nov 2021 10:09:18 +0100 Subject: [PATCH] Add OTA update button to Shelly (#20194) Co-authored-by: Shay Levy --- source/_integrations/shelly.markdown | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/source/_integrations/shelly.markdown b/source/_integrations/shelly.markdown index 790d52df6bf..fb48d201edf 100644 --- a/source/_integrations/shelly.markdown +++ b/source/_integrations/shelly.markdown @@ -20,6 +20,7 @@ ha_config_flow: true ha_zeroconf: true ha_platforms: - binary_sensor + - button - cover - light - sensor @@ -58,7 +59,7 @@ The integration uses the following strategy to name its entities if the device h Examples: | Device Name | Channel Name | Entity Name | -| ----------- | -------------- | --------------------------------| +| ----------- | -------------- | ------------------------------- | | `Not set` | `Not Set` | shellyswitch25-ABC123 Channel 1 | | `Not set` | Kids Room Bulb | Kids Room Bulb | | Kitchen | `Not Set` | Kitchen Channel 1 | @@ -152,7 +153,7 @@ You can also create automations using YAML, for example: ### Possible values for `click_type` | Shelly input event | Click Type | -| ------------------ | --------------| +| ------------------ | ------------- | | `S` | `single` | | `SS` | `double` | | `SSS` | `triple` | @@ -199,6 +200,21 @@ The firmware limits the transition time to 5 seconds. +## Device services + +The integration offers device services which can be triggered by a configuration button. + +### OTA update + +Trigger device OTA firmware update. + +#### Buttons + +- OTA Update + - triggers the OTA update process for latest stable version +- OTA Update Beta (_disabled by default_) + - triggers the OTA update process for latest beta version + ## CoAP port (generation 1) In some cases, it may be needed to customize the CoAP port (default: `5683`) your Home Assistant instance is listening to. @@ -223,3 +239,4 @@ Please check from the device Web UI that the configured server is reachable. - Generation 1 "Shelly 4Pro" and "Shelly Sense" are not supported (devices based on old CoAP v1 protocol) - Device authentication for generation 2 devices is not supported - Before set up, battery-powered devices must be woken up by pressing the button on the device. +- OTA update service does not support battery-powered devices