Updated Shelly 1 and 2 (markdown)

Crazor 2019-04-19 16:55:41 +02:00
parent 24c4ae6410
commit 1cb4a57403
1 changed files with 3 additions and 0 deletions

@ -75,6 +75,9 @@ Tasmota 6.5.0.8 and up supports Shelly 2.5 using the following template:<br>
As the Temperature sensor uses the Analog input the firmware needs to be compiled with ``//#define USE_ADC_VCC``.
If you connect momentary switches and want press/double press/hold functionality, use the following template:
``{"NAME":"Shelly 2.5 (buttons)","GPIO":[56,255,17,255,21,127,0,0,6,128,5,22,156],"FLAG":2,"BASE":18}``. Run ``backlog SetOption1 1; SetOption11 1; SetOption32 1`` to enable all three states. Button1 is the button on the back of the device, Button2 and Button3 are the externally connected buttons.
## Flash mode
To be able to flash the Tasmota firmware you need to get into flash mode. Therefore connect a wire from GPIO0 to ground. For further information have a look at [bringing-the-module-in-flash-mode](https://github.com/arendst/Sonoff-Tasmota/wiki/Hardware-Preparation#bringing-the-module-in-flash-mode).