Update shelly.markdown for wss protocol (#30720)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Johannes Steinmann 2024-01-08 10:00:49 +00:00 committed by GitHub
parent 8bf2088268
commit 015cd2b98f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,6 +69,7 @@ The list below will help you diagnose and fix the problem:
Generation 2 and 3 devices use the `RPC` protocol to communicate with the integration. **Battery powered devices** need manual outbound WebSocket configuration, Navigate to the local IP address of your Shelly device, **Settings** >> **Connectivity** >> **Outbound WebSocket** and check the box **Enable Outbound WebSocket**, under server enter the following address:
`ws://` + `Home_Assistant_local_ip_address:Port` + `/api/shelly/ws` (for example: `ws://192.168.1.100:8123/api/shelly/ws`), click **Apply** to save the settings.
In case your installation is set up to use SSL encryption (HTTP**S** with certificate), an additional `s` needs to be added to the WebSocket protocol, too, so that it reads `wss://` (for example: `wss://192.168.1.100:8123/api/shelly/ws`).
<div class="note">
Integration is communicating directly with the device; cloud connection is not needed.