Updated Sonoff Pow and Pow R2 (markdown)

stefanbode 2018-11-15 09:00:24 +01:00
parent 07ba04ea53
commit 3e9e122e96
1 changed files with 16 additions and 13 deletions

@ -55,29 +55,32 @@ The preffered way is using the periodic telemetry data. Setting ```teleperiod 30
**Note:** If the setting `PowerDelta` (new since version 5.12.0e) is not 0 (default 80%), telemetry will be send on power change too.
```
tele/pow1/SENSOR = {"Time":"2018-02-15T17:37:10","ENERGY":{"Total":7.166,"Yesterday":0.376,"Today":0.113,"Period":1,"Power":38,"Factor":0.96,"Voltage":214,"Current":0.185}}
tele/pow1/SENSOR = {"Time":"2018-02-15T17:37:10","ENERGY":{"TotalStartTime":"2018-11-14T18:39:40","Total":6.294,"Yesterday":5.340,"Today":0.954,"Period":217,"Power":2635,"ApparentPower":2650,"ReactivePower":282,"Factor":0.99,"Voltage":227,"Current":11.661}}
```
### Pull result using status message 8
To request information you can use command ```status 8```.
```
stat/pow1/STATUS8 = {"StatusPWR":{"Total":5.331, "Yesterday":0.152, "Today":0.068, "Power":5.8, "Factor":0.26, "Voltage":219.0, "Current":0.101}}
stat/pow1/STATUS8 = {"StatusSNS":{"Time":"2018-11-15T08:54:18","ENERGY":{"TotalStartTime":"2018-11-14T18:39:40","Total":6.404,"Yesterday":5.340,"Today":1.064,"Power":2629,"ApparentPower":2645,"ReactivePower":288,"Factor":0.99,"Voltage":226,"Current":11.677}}}
```
### Meaning
The presented information has the following meaning:
```
Message | Unit | Description
----------|------|-----------------------------------------------------
Total | kWh | Total Energy usage including Today
Yesterday | kWh | Total Energy usage between 00:00 and 24:00 yesterday
Today | kWh | Total Energy usage today from 00:00 until now
Period | Wh | Energy usage between previous message and now
Power | W | Current power load
Factor | | The ratio of the real power flowing to the load to
| | the apparent power in the circuit
Voltage | V | Current line voltage
Current | A | Current line current
Message | Unit | Description
---------------|------|-----------------------------------------------------
TotalStartTime | Date | DateTime of calculation for Total
Total | kWh | Total Energy usage including Today
Yesterday | kWh | Total Energy usage between 00:00 and 24:00 yesterday
Today | kWh | Total Energy usage today from 00:00 until now
Period | Wh | Energy usage between previous message and now
Power | W | Current effective power load
ApparentPower | W | Power load on the cable = sqrt(Power^2 + ReactivePower^2)
ReactivePower | W | Reactive load
Factor | | The ratio of the real power flowing to the load to
| | the apparent power in the circuit
Voltage | V | Current line voltage
Current | A | Current line current
```
## Debugging