Updated Shelly 2.5 (markdown)

Michael Ingraham 2019-10-21 14:25:32 -04:00
parent 76625a8c09
commit c9894d9546
1 changed files with 4 additions and 4 deletions

@ -51,12 +51,12 @@ Tasmota 6.5.0.8 and higher supports Shelly 2.5
`{"NAME":"Shelly 2.5","GPIO":[56,255,17,255,21,83,0,0,6,82,5,22,156],"FLAG":2,"BASE":18}`
Energy metering is done by a ADE7953 chip connected via I2C and IRQ on GPIO16. As the Temperature sensor uses the Analog input, the firmware needs to be compiled with `#define USE_ADC_VCC`.
Energy metering is done by a ADE7953 chip connected via I2C and IRQ on GPIO16.
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.
Run `Backlog SetOption1 1; SetOption11 1; SetOption32 1` to enable all three states. `Button1` is the button on the back of the device next to the pin header. `Button2` and `Button3` are assigned to the SW1 and SW2 external inputs.
## 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).
@ -77,8 +77,8 @@ Pause a few seconds between executing the commands as the communication between
As the Shelly 2.5 contains energy monitoring you can use rules to power off the shutter when too much current is drawn at the end point. This rule will power off both directions when the current becomes greater than 500mA.
```
rule1 on energy#current>0.500 do backlog power1 0; power2 0 endon
rule 1
rule 5
rule1 1
rule1 5
```
## Ghost switching