Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions source/_integrations/shelly.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,20 @@ Not all devices support all input events. You can check on [Shelly API Reference

</div>

## Services

### Service `shelly.ota_update`

Triggers an over-the-air update for selected Shelly device(s). At least one of `area_id` or `device_id` has to be provided. This could be easily done via the target selector on UI. If both `url`and `beta` parameter are set, still ota update from specified `url` is triggered, because it is more specific.

| Service data attribute | Required | Type | Default | Description |
| ---------------------- | -------- | ---- | ------- | ----------- |
| `area_id` | no | `list` || Area or list of areas to trigger OTA update (_only Shelly devices will be touched_) |
| `device_id` | no | `list` || Device or list of devices to trigger OTA update |
| `url` | no | `bool` || Run firmware update from specified URL |
| `beta` | no | `bool` | `false` | Run firmware update from beta URL (*if available*) |
| `force` | no | `bool` | `false` | Allows downgrade from beta-version to latest release-version and reinstall of current release-version |

## Known issues and limitations

- Only supports firmware 1.8 and later
Expand Down