replaced sonoff with device

blakadder 2019-04-10 19:34:56 +02:00
parent dfc39f6247
commit abcfd97cf1
1 changed files with 8 additions and 10 deletions

@ -1,14 +1,12 @@
Using the [`Sleep`](Commands#sleep) command you can instruct Tasmota to sleep for the set milliseconds in its main cycle. While sleeping your device will consume less power.
As of 6.3.0.15 [Dynamic Sleep](Dynamic%20Sleep) is enabled by default with a value of 50. To continue using Normal Sleep you may disable it by using the command:
[Dynamic Sleep](Dynamic-Sleep) is enabled by default with a value of 50. To continue using Normal Sleep you may disable it by using the command:
[`SetOption60 1`](Commands#setoption60)
[Click here to see the Wiki for Dynamic Sleep](Dynamic%20Sleep)
Setting `Sleep` to lowest value `1` reduces power consumption already about ~30% in idle mode (relay off) and button presses are still noticed without any delay. Setting this around 50 ms reduces power consumption from ~1.1 W to ~0.6 W on an idling (relay off) device and button presses are still noticed correctly. With this setting you have to concentrate very hard to click the button so fast that it is not recognized by the device.
Setting `Sleep` to lowest value `1` reduces power consumption already about ~30% in idle mode (relay off) and button presses are still noticed without any delay. Setting this around 50 ms reduces power consumption from ~1.1 W to ~0.6 W on an idling (relay off) sonoff and button presses are still noticed correctly. With this setting you have to concentrate very hard to click the button so fast that it is not recognized by the device.
If your Sonoff needs to do something continuously, this will be affected. E.g., Sonoff LED will flicker and Sonoff POW will not be able to correctly total the energy consumption. Spot readings of power, voltage, etc. will however remain correct.
If your device needs to do something continuously, this will be affected. E.g., device LED will flicker and Sonoff POW will not be able to correctly total the energy consumption. Spot readings of power, voltage, etc. will however remain correct.
> From the release notes:
> Expect overall button/key/switch misses and wrong values on Sonoff Pow
@ -19,11 +17,11 @@ Also, if using [KNX IP Protocol](KNX-Features), `Sleep` needs to be 0 in order t
- Starting with Tasmota 6.1.1.12 `Sleep` ≠ `0` has no impact on real time related commands like [`Uptime`](Commands#uptime), [`Delay`](Commands#delay), [`PulseTime`](Commands#pulsetime), [`TelePeriod`](Commands#teleperiod) and [`Blinktime`](Commands#blinktime).
- As the WiFi Modem on an ESP8266 is the major consumer - using Sleep with WiFi AP mode enabled is more or less without effect.
## Sonoff power consumption and measurement
## Device power consumption and measurement
Most low-price plug-in home energy meters like Sonoff devices are very imprecise for power consumption < 10 W and become more and more imprecise for power consumption (< 1.5 W). Furthermore, the results of such meters are very strongly dependant on the load type (capacitive/inductive) and are absolutely imprecise for non-ohmic load types having switch-mode power supplies like Sonoff devices.
Most low-price plug-in home energy meters like Sonoff devices are very imprecise for power consumption < 10 W and become more and more imprecise for power consumption (< 1.5 W). Furthermore, the results of such meters are very strongly dependant on the load type (capacitive/inductive) and are absolutely imprecise for non-ohmic load types having switch-mode power supplies.
In addition, using `Sleep` - which periodically cycles the power of the Sonoff between 20% and 100% - on such meters makes their readings more or less useless.
In addition, using `Sleep` - which periodically cycles the power of the device between 20% and 100% - on such meters makes their readings more or less useless.
## Example of power consumption
@ -31,7 +29,7 @@ In addition, using `Sleep` - which periodically cycles the power of the Sonoff b
The following measurement was done directly on 230 V/AC line using a [Sonoff Dual R2](http://sonoff.itead.cc/en/products/sonoff/sonoff-dual) and two different [Sonoff S20](http://sonoff.itead.cc/en/products/residential/s20-socket) connected on different MID calibrated meter (Eastron SMD630 MID/saia-burgess ALE3).
#### Sonoff power consumption using Sleep
#### Device power consumption using Sleep
Device | Sleep 0 | Sleep 1 | Sleep 50 | Sleep 200
------------ | ------------ | ------------ | ------------- | ------------
Sonoff Dual R2 | 1.24 W | 0.84 W | 0.76 W | 0.68 W
@ -51,7 +49,7 @@ The first impression is that a higher sleep value reduces the consumption, but o
To find out why Sleep reduces the power consumption and how its value should be set, the current of the 3.3V DC ESP8266 of an ESP-12 module was measured using an oscilloscope and (for easy reading the oscilloscope diagram) a 1 Ω shunt which results in a 1:1 interpretation between voltage and current.
This measurement simplified the measure of a time based power consumption; no integration must be done. On the other side note that the quantity measurement does not respect the effectiveness of the complete Sonoff circuit.
This measurement simplified the measure of a time based power consumption; no integration must be done. On the other side note that the quantity measurement does not respect the effectiveness of the complete device circuit.
#### Sleep 0
Using `Sleep 0` there are no `delay()` calls in Tasmota main loop and therefore the power consumption is continuous at current ~80 mA: