-
Notifications
You must be signed in to change notification settings - Fork 2
Shelly 1
Shelly 1 is a smart Wi-Fi-operated switch. By default, it runs the Shelly proprietary firmware.
The following models are available:
-
Shelly 1:
- one input
- one output
-
Shelly 1PM:
- one input
- one output
- power & energy metering
Provisioning configuration names:
- flash mode: DIO
- flash frequency: 40MHz
Number | Function | Remarks |
---|---|---|
0 | status LED | active low |
4 | push button | active low |
5 | BL0937 CF | only PM model |
15 | relay | active high |
Id | Type | Description | Range/Unit | Remarks |
---|---|---|---|---|
push_button |
boolean | on/off button, setup button | ||
relay |
boolean | relay | ||
active_power |
number | active power | W | only PM model, needs calibration |
energy |
number | energy | Wh | only PM model, needs calibration |
button_held |
button_held | button held status | ||
power_calib |
number | power & energy calibration factor | only PM model |
- a USB-to-serial adapter
- a laptop running Windows, Linux or macOS
-
⚠️ Do not power the device from mains! Do not connect it to AC at all during this procedure! -
Read the flashing instructions and be prepared to follow the flashing procedure.
-
Identify the RX, TX, GND, VCC and GPIO0 connectors:
-
Ensure the USB-to-serial adapter is not plugged into your laptop.
-
Connect the following USB-to-serial adapter wires to their corresponding connectors on the board: RX, TX, GND and VCC .
-
Ensure device will boot into bootloader mode by connecting the second GND wire of your USB-to-serial adapter to the GPIO0 header.
-
Plug the USB-to-serial adapter into your laptop, effectively powering the ESP chip on the board.
-
Follow the flashing procedure to flash the espQToggle firmware on the ESP chip.
-
Disconnect all wires.
You can now power your device by connecting it to mains. Follow the initial setup instructions to connect the device to Wi-Fi and add it to your qToggle system.