
You can use these events in your automations.Īlso, some devices do not add an entity for the button/switch.
If the BUTTON TYPE of the switch connected to the device is set to momentary or detached switch, integration fires events under the type shelly.click when the switch is used. If Channel Name is set to the default value, the integration will use the Device ID and default channel name to generate the entities’ name, e.g.If Channel Name is set in the device, the integration will use it to generate the entities’ name, e.g.The integration uses the following strategy to name its entities: Channel name for multi-channel devices can be set in Settings > CHANNEL NAME after selecting the channel, by clicking on the channel name.Channel name for single-channel devices can be set in Settings > CHANNEL NAME.Device name can be set in Settings > DEVICE NAME.In case device name and channel names are not set, the entity name will be generated by the Device Type, Device ID and Channel Number.
If only the device name is set, and the device has multiple channels, the channel number will be appended to the entity name (e.g., Channel 2). If channel names are set, they will be used in the entity names. If Device Name or Channel Name is set in the device, the integration will use them to generate the entities’ name. The integration uses the following strategy to name its entities if the device has more than one relay: The integration uses Device Name to name its entities if the device has only one relay or no relays at all. Integration is communicating directly with the device cloud connection is not needed. After changing the CoIoT peer, the Shelly device needs to be manually restarted. This is mandatory for Shelly Motion with firmware 1.1.0 or newer. To enable this, enter the local IP address of the Home Assistant server and port 5683 into the CoIoT peer field and push SAVE button. We recommend using unicast for communication. Navigate to the local IP address of your Shelly device, Internet & Security > ADVANCED - DEVELOPER SETTINGS and check the box Enable CoIoT. For Shelly firmware 1.10.0 or newer, CoIoT must be enabled in the device settings. Shelly devices use the CoIoT protocol to communicate with integration. Shelly device configuration (generation 1) There are some differences in how devices should be configured and in the naming of entities and devices between generations. Both generations are supported by this integration. Follow the instruction on screen to complete the set up. From the list, search and select “Shelly”. From the configuration menu select: Integrations. Browse to your Home Assistant instance. If there wasn’t any discovered automatically, don’t worry! You can set up a