powersync-plugins/shelly
Jenkins nymea 189470fc0d Merge PR #547: Shelly: Fix switch settings (button mode and reverse) 2022-03-27 19:50:23 +02:00
..
translations update translations 2022-02-08 21:46:39 +01:00
README.md Update README.md 2022-02-06 22:47:42 +01:00
integrationpluginshelly.cpp Merge PR #547: Shelly: Fix switch settings (button mode and reverse) 2022-03-27 19:50:23 +02:00
integrationpluginshelly.h Shelly: Better support for newest firmware 2022-02-25 19:15:41 +01:00
integrationpluginshelly.json Merge PR #538: Shelly: Add support for Shelly EM 2022-03-27 19:50:14 +02:00
meta.json More meta.json updating 2022-01-28 12:44:55 +01:00
shelly.png added some more logos 2020-04-24 16:52:00 +02:00
shelly.pro Use pkgconfig to find nymea-mqtt 2021-04-19 17:17:00 +02:00

README.md

Shelly

The Shelly plugin adds support for Shelly devices (https://shelly.cloud).

The currently supported devices are:

  • Shelly 1
  • Shelly 1PM
  • Shelly 1L
  • Shelly 2
  • Shelly 2.5
  • Shelly Plug / PlugS
  • Shelly RGBW2
  • Shelly Dimmer / Dimmer 2
  • Shelly Button 1
  • Shelly EM
  • Shelly 3EM
  • Shelly H+T
  • Shelly i3
  • Shelly Motion
  • Shelly Vintage

Requirements

Shelly devices communicate with via MQTT. This means, in order to add Shelly devices to nymea, the nymea instance is required to have the MQTT broker enabled in the nymea settings and the Shelly device needs to be connected to the same WiFi as nymea is in. New Shelly devices will open a WiFi named with their name as SSID. For instance, a Shelly 1 would appear as "shelly1-XXXXXX". Connect to this WiFi and open the webpage that will pop up. From there, it can be configured it to connect to the same network where the nymea system is located. No other options need to be set as they can be configured using nymea later on.

Setting up devices

Once the Shelly is connected to the WiFi, a device discovery in nymea can be performed and will list the Shelly device. For some Shelly devices, the connected device can be configured during setup. If the Shelly is connected to e.g. a light bulb, choose "Light" here. Optionally, a username and password can be set. If the Shelly device is already configured to require authentication, the username and password here must match the ones set on the Shelly. NOTE: If the Shelly is not configured to require a login yet, but credentials are entered during setup, the Shelly device will be configured to require authentication from now on and this login will be required also for the web interface of the Shelly device.

Note for the Shelly Button 1

It is recommended to keep the Shelly Button 1 plugged into a power source during setup and configuration. Without a power source it will shut down right after a button press which might interrupt the setup. However, once set up, the Shelly Button 1 will work perfectly fine in the low power mode.

Plugin properties

When adding a Shelly device that is meant to be installed in walls and has connectors to switches, a new Gateway type device representing the Shelly device itself will be added. The gateway device allow basic monitoring (such as the connected state) and interaction (e.g. reboot the Shelly device). In addition to that, a power switch device will appear which will reflect presses on the Shelly's SW input. You can use generic things to connect them to those switches in order to represent your actual devices connected to the Shelly devices.