arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
22.22k stars 4.81k forks source link

Shelly 2.5 Phase 2 `Power Factor` not adjusting correctly #17741

Closed AleXSR700 closed 1 year ago

AleXSR700 commented 1 year ago

PROBLEM DESCRIPTION

A clear and concise description of what the problem is.

Hello,

I was calibrating all my Shelly devices (2.5 and 1PM) and found that on one of my Shelly 2.5 the power factor of phase 2 is not being corrected.

As a result, the power is shown correctly but the calculation is performed incorrectly. This primarily causes an issue with lower power device where the power factor then falsely drops to 0.0x.

I calibrated using an old school 100 W light bulb.

REQUESTED INFORMATION

Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!

- [ ] If using rules, provide the output of this command: `Backlog Rule1; Rule2; Rule3`:
```lua
  Rules output here:
- [ ] Set `weblog` to 4 and then, when you experience your issue, provide the output of the Console log:
```lua
  Console output here:

[17:02:01] cmnd/tasmota_228C3D/MqttLog 5 [17:02:02] stat/tasmota_228C3D/RESULT {"MqttLog":0} [17:02:08] cmnd/tasmota_228C3D/MqttLog 4 [17:02:08] stat/tasmota_228C3D/RESULT {"MqttLog":4} [17:02:08] stat/tasmota_228C3D/LOGGING 17:01:54.537 MQT: stat/tasmota_228C3D/RESULT = {"GPIOs2":{"6656":"TM1637 DIO","6688":"DLP Tx","6720":"DLP Rx","6752":"SSD1351 DC","6784":"XPT2046 CS","6816":"CSE7761 Tx","6848":"CSE7761 Rx","6880":"VL53LXX XSHUT","6912":"MAX7219 CLK","6944":"MAX7219 DIN","6976":"MAX7219 CS","7008":"TFmini+ TX","7040":"TFmini+ RX","7072":"ZC Pulse","7104":"Input","7136":"I2S DOUT","7168":"I2S BCLK","7200":"I2S WS","7232":"I2S DIN","7264":"I2S WS IN","7296":"I2S BCLK IN","7328":"Interrupt","7360":"MCP2515 CS","7392":"HRG15 Tx","7424":"HRG15 Rx","7456":"VINDRIKTNING","7488":"BL0939 Rx","7520":"BL0942 Rx","7552":"HM330X SET","7584":"Heartbeat","7616":"Heartbeat_i","7648":"74x595 SRCLK","7680":"74x595 RCLK","7712":"74x595 OE","7744":"74x595 SER","7776":"SolaxX1 RTS","7808":"Option E","7840":"SDM230 Tx","7872":"SDM230 Rx","7904":"ADC MQ","7936":"CM110x TX","7968":"CM110x RX","8000":"BL6523 Tx","8032":"BL6523 Rx","8064":"ADE7880 IRQ","8096":"Reset","8128":"MS01","8160":"SDIO CMD","8192":"SDIO CLK","8224":"SDIO D0","8256":"SDIO D1","8288":"SDIO D2","8320":"SDIO D3","8352":"Flowrate","8384":"BP5758D Clk","8416":"BP5758D Dat","8448":"SM2335 Clk","8480":"SM2335 Dat","8512":"MP3 Busy","8544":"TM1621 CS","8576":"TM1621 WR","8608":"TM1621 RD","8640":"TM1621 DAT","8672":"Relay_b","8704":"Relay_bi","8736":"I2S MCLK","8768":"ModBr Tx","8800":"ModBr Rx","8832":"ADE7953 RST","8864":"NrgMbs Tx","8896":"NrgMbs Rx","8928":"ADE7953 CS","8960":"Dali RX","8992":"Dali TX","9024":"BP1658CJ Clk","9056":"BP1658CJ Dat","9088":"Dingtian CLK","9120":"Dingtian SDI","9152":"Dingtian Q7","9184":"Dingtian PL","9216":"Dingtian RCK","9248":"LD2410 Tx","9280":"LD2410 Rx","9312":"ModBr Tx Ena","9344":"NrgMbs Tx Ena","9376":"ME007 Tri","9408":"ME007 Rx"}} [17:02:08] stat/tasmota_228C3D/LOGGING 17:01:54.557 MQT: stat/tasmota_228C3D/RESULT = {"SwitchDebounce":50} [17:02:08] stat/tasmota_228C3D/LOGGING 17:01:54.656 MQT: stat/tasmota_228C3D/RESULT = {"BlinkTime":10} [17:02:08] stat/tasmota_228C3D/LOGGING 17:01:54.708 MQT: stat/tasmota_228C3D/RESULT = {"MqttLog":0} [17:02:08] stat/tasmota_228C3D/LOGGING 17:01:54.758 MQT: stat/tasmota_228C3D/RESULT = {"PulseTime2":{"Set":0,"Remaining":0}} [17:02:08] stat/tasmota_228C3D/LOGGING 17:01:54.807 MQT: stat/tasmota_228C3D/RESULT = {"PulseTime4":{"Set":0,"Remaining":0}} [17:02:08] stat/tasmota_228C3D/LOGGING 17:01:54.859 MQT: stat/tasmota_228C3D/RESULT = {"PulseTime6":{"Set":0,"Remaining":0}} [17:02:08] stat/tasmota_228C3D/LOGGING 17:01:54.909 MQT: stat/tasmota_228C3D/RESULT = {"PulseTime8":{"Set":0,"Remaining":0}} [17:02:08] stat/tasmota_228C3D/LOGGING 17:01:54.960 MQT: stat/tasmota_228C3D/RESULT = {"NAME":"Shelly 2.5","GPIO":[320,0,32,0,224,193,0,0,640,192,608,225,3456,4736],"FLAG":0,"BASE":18} [17:02:08] stat/tasmota_228C3D/LOGGING 17:01:55.009 MQT: stat/tasmota_228C3D/RESULT = {"ButtonDebounce":50} [17:02:08] stat/tasmota_228C3D/LOGGING 17:01:55.060 MQT: stat/tasmota_228C3D/RESULT = {"BlinkCount":10} [17:02:08] stat/tasmota_228C3D/LOGGING 17:01:55.110 MQT: stat/tasmota_228C3D/RESULT = {"PulseTime3":{"Set":0,"Remaining":0}} [17:02:08] stat/tasmota_228C3D/LOGGING 17:01:55.161 MQT: stat/tasmota_228C3D/RESULT = {"PulseTime7":{"Set":0,"Remaining":0}} [17:02:08] stat/tasmota_228C3D/LOGGING 17:01:55.212 MQT: stat/tasmota_228C3D/RESULT = {"GPIO":"Not supported"} [17:02:08] stat/tasmota_228C3D/LOGGING 17:01:55.261 MQT: stat/tasmota_228C3D/RESULT = {"PulseTime1":{"Set":0,"Remaining":0}} [17:02:08] stat/tasmota_228C3D/LOGGING 17:01:55.311 MQT: stat/tasmota_228C3D/RESULT = {"PulseTime5":{"Set":0,"Remaining":0}} [17:02:08] stat/tasmota_228C3D/LOGGING 17:01:55.362 MQT: stat/tasmota_228C3D/RESULT = {"Interlock":"OFF","Groups":"1,2"} [17:02:08] stat/tasmota_228C3D/LOGGING 17:02:02.423 MQT: stat/tasmota_228C3D/RESULT = {"MqttLog":0} [17:02:08] stat/tasmota_228C3D/LOGGING 17:02:09.204 MQT: stat/tasmota_228C3D/RESULT = {"MqttLog":4} [17:02:09] stat/tasmota_228C3D/LOGGING 17:02:09.411 ADE: ACCMODE 0x2D1800, VRMS 6104611, 6104999, Period 4470, 4471, IRMS 1773, 1773, WATT 0, 0, VA 27, 27, VAR 0, 0 [17:02:10] stat/tasmota_228C3D/LOGGING 17:02:09.854 CFG: Saved to flash at F6, Count 86, Bytes 4096 [17:02:10] stat/tasmota_228C3D/LOGGING 17:02:10.010 WIF: Checking connection... [17:02:10] stat/tasmota_228C3D/LOGGING 17:02:10.411 ADE: ACCMODE 0x2D1800, VRMS 6101932, 6103829, Period 4470, 4470, IRMS 1773, 1773, WATT 0, 0, VA 28, 28, VAR 0, 0 [17:02:10] stat/tasmota_228C3D/LOGGING 17:02:11.411 ADE: ACCMODE 0x2D1800, VRMS 6099505, 6103070, Period 4470, 4470, IRMS 1773, 1773, WATT 0, 0, VA 27, 27, VAR 0, 0 [17:02:12] stat/tasmota_228C3D/LOGGING 17:02:12.411 ADE: ACCMODE 0x2D1800, VRMS 6103485, 6107061, Period 4470, 4470, IRMS 1773, 1773, WATT 0, 0, VA 28, 28, VAR 0, 0 [17:02:13] stat/tasmota_228C3D/LOGGING 17:02:13.411 ADE: ACCMODE 0x2D1800, VRMS 6100396, 6102236, Period 4470, 4470, IRMS 1773, 1773, WATT 0, 0, VA 27, 27, VAR 0, 0 [17:02:14] stat/tasmota_228C3D/LOGGING 17:02:14.411 ADE: ACCMODE 0x2D1800, VRMS 6100001, 6100502, Period 4471, 4471, IRMS 1773, 1773, WATT 0, 0, VA 28, 28, VAR 0, 0 [17:02:15] stat/tasmota_228C3D/LOGGING 17:02:15.412 ADE: ACCMODE 0x2D1800, VRMS 6102084, 6098747, Period 4471, 4471, IRMS 1773, 1773, WATT 0, 0, VA 27, 27, VAR 0, 0 [17:02:16] stat/tasmota_228C3D/LOGGING 17:02:16.412 ADE: ACCMODE 0x2D1800, VRMS 6101487, 6097697, Period 4470, 4470, IRMS 1773, 1773, WATT 0, 0, VA 28, 28, VAR 0, 0 [17:02:16] stat/tasmota_228C3D/LOGGING 17:02:17.411 ADE: ACCMODE 0x2D1800, VRMS 6101044, 6097500, Period 4471, 4471, IRMS 1773, 1773, WATT 0, 0, VA 27, 27, VAR 0, 0 [17:02:18] stat/tasmota_228C3D/LOGGING 17:02:18.412 ADE: ACCMODE 0x2D1800, VRMS 6101924, 6100130, Period 4470, 4470, IRMS 1773, 1773, WATT 0, 0, VA 28, 28, VAR 0, 0 [17:02:19] stat/tasmota_228C3D/LOGGING 17:02:19.412 ADE: ACCMODE 0x2D1800, VRMS 6097365, 6097952, Period 4470, 4470, IRMS 1773, 1773, WATT 0, 0, VA 27, 27, VAR 0, 0 [17:02:20] stat/tasmota_228C3D/LOGGING 17:02:20.411 ADE: ACCMODE 0x2D1800, VRMS 6097979, 6099902, Period 4470, 4470, IRMS 1773, 1773, WATT 0, 0, VA 28, 28, VAR 0, 0 [17:02:21] stat/tasmota_228C3D/LOGGING 17:02:21.410 ADE: ACCMODE 0x2D1800, VRMS 6096759, 6100421, Period 4470, 4470, IRMS 1773, 1773, WATT 0, 0, VA 27, 27, VAR 0, 0 [17:02:22] cmnd/tasmota_228C3D/power1 on [17:02:22] stat/tasmota_228C3D/RESULT {"POWER1":"ON"} [17:02:22] stat/tasmota_228C3D/POWER1 ON [17:02:22] stat/tasmota_228C3D/LOGGING 17:02:22.412 ADE: ACCMODE 0x2D1800, VRMS 6096553, 6100015, Period 4470, 4470, IRMS 1773, 1773, WATT 0, 0, VA 28, 28, VAR 0, 0 [17:02:23] stat/tasmota_228C3D/LOGGING 17:02:22.584 SRC: MQTT [17:02:23] stat/tasmota_228C3D/LOGGING 17:02:22.587 CMD: Grp 0, Cmd 'POWER', Idx 1, Len 2, Pld 1, Data 'on' [17:02:23] stat/tasmota_228C3D/LOGGING 17:02:22.592 MQT: stat/tasmota_228C3D/RESULT = {"POWER1":"ON"} [17:02:23] stat/tasmota_228C3D/LOGGING 17:02:22.596 MQT: stat/tasmota_228C3D/POWER1 = ON [17:02:23] stat/tasmota_228C3D/LOGGING 17:02:22.834 CFG: Saved to flash at F5, Count 87, Bytes 4096 [17:02:23] stat/tasmota_228C3D/LOGGING 17:02:23.412 ADE: ACCMODE 0x251800, VRMS 6095888, 6096050, Period 4470, 4470, IRMS 5091, 1773, WATT -33, 0, VA 78, 27, VAR 11, 0 [17:02:24] stat/tasmota_228C3D/LOGGING 17:02:24.411 ADE: ACCMODE 0x051800, VRMS 6099838, 6100203, Period 4470, 4470, IRMS 5058, 1773, WATT -42, 0, VA 77, 28, VAR 14, 0 [17:02:25] tele/tasmota_228C3D/MARGINS {"MARGINS":{"PowerDelta":[6,0]}} [17:02:25] tele/tasmota_228C3D/SENSOR {"Time":"2023-01-18T17:02:25","ENERGY":{"TotalStartTime":"2023-01-17T18:35:56","Total":[0.035,0.040],"Yesterday":[0.035,0.040],"Today":[0.000,0.000],"Power":[6.3,0.0],"ApparentPower":[11.6,0.0],"ReactivePower":[2.3,0.0],"Factor":[0.54,0.00],"Frequency":50,"Voltage":234,"Current":[0.048,0.000]}} [17:02:25] stat/tasmota_228C3D/LOGGING 17:02:25.411 ADE: ACCMODE 0x051800, VRMS 6103445, 6100489, Period 4470, 4470, IRMS 4912, 1773, WATT -43, 0, VA 79, 27, VAR 16, 0 [17:02:26] stat/tasmota_228C3D/LOGGING 17:02:25.421 MQT: tele/tasmota_228C3D/MARGINS = {"MARGINS":{"PowerDelta":[6,0]}} [17:02:26] stat/tasmota_228C3D/LOGGING 17:02:25.432 MQT: tele/tasmota_228C3D/SENSOR = {"Time":"2023-01-18T17:02:25","ENERGY":{"TotalStartTime":"2023-01-17T18:35:56","Total":[0.035,0.040],"Yesterday":[0.035,0.040],"Today":[0.000,0.000],"Power":[6.3,0.0],"ApparentPower":[11.6,0.0],"ReactivePower":[2.3,0.0],"Factor":[0.54,0.00],"Frequency":50,"Voltage":234,"Current":[0.048,0.000]}} [17:02:26] stat/tasmota_228C3D/LOGGING 17:02:26.412 ADE: ACCMODE 0x251800, VRMS 6097046, 6093365, Period 4470, 4470, IRMS 5068, 1773, WATT -43, 0, VA 78, 28, VAR 13, 0 [17:02:27] stat/tasmota_228C3D/LOGGING 17:02:27.411 ADE: ACCMODE 0x051800, VRMS 6100124, 6096392, Period 4470, 4470, IRMS 4909, 1773, WATT -43, 0, VA 77, 27, VAR 5, 0 [17:02:28] stat/tasmota_228C3D/LOGGING 17:02:28.411 ADE: ACCMODE 0x051800, VRMS 6101905, 6099904, Period 4470, 4470, IRMS 4990, 1773, WATT -43, 0, VA 78, 28, VAR 9, 0 [17:02:29] stat/tasmota_228C3D/LOGGING 17:02:29.411 ADE: ACCMODE 0x051800, VRMS 6098441, 6099678, Period 4470, 4469, IRMS 5129, 1773, WATT -42, 0, VA 77, 27, VAR 7, 0 [17:02:30] stat/tasmota_228C3D/LOGGING 17:02:30.044 WIF: Checking connection... [17:02:30] stat/tasmota_228C3D/LOGGING 17:02:30.413 ADE: ACCMODE 0x051800, VRMS 6098496, 6101804, Period 4469, 4469, IRMS 4954, 1773, WATT -43, 0, VA 78, 28, VAR 12, 0 [17:02:32] stat/tasmota_228C3D/LOGGING 17:02:31.411 ADE: ACCMODE 0x051800, VRMS 6098857, 6102737, Period 4470, 4470, IRMS 4975, 1773, WATT -42, 0, VA 77, 27, VAR 10, 0 [17:02:32] stat/tasmota_228C3D/LOGGING 17:02:32.411 ADE: ACCMODE 0x251800, VRMS 6098712, 6102058, Period 4470, 4470, IRMS 5070, 1773, WATT -41, 0, VA 76, 27, VAR 7, 0 [17:02:33] stat/tasmota_228C3D/LOGGING 17:02:33.411 ADE: ACCMODE 0x251800, VRMS 6098618, 6099786, Period 4470, 4470, IRMS 4977, 1773, WATT -42, 0, VA 77, 28, VAR 4, 0 [17:02:34] stat/tasmota_228C3D/LOGGING 17:02:34.412 ADE: ACCMODE 0x051800, VRMS 6101494, 6098595, Period 4470, 4470, IRMS 5081, 1773, WATT -42, 0, VA 77, 28, VAR 20, 0 [17:02:35] cmnd/tasmota_228C3D/power1 off [17:02:35] stat/tasmota_228C3D/RESULT {"POWER1":"OFF"} [17:02:35] stat/tasmota_228C3D/POWER1 OFF [17:02:35] stat/tasmota_228C3D/LOGGING 17:02:35.411 ADE: ACCMODE 0x251800, VRMS 6102798, 6099004, Period 4470, 4470, IRMS 5103, 1773, WATT -42, 0, VA 77, 27, VAR 8, 0 [17:02:35] stat/tasmota_228C3D/LOGGING 17:02:35.573 SRC: MQTT [17:02:35] stat/tasmota_228C3D/LOGGING 17:02:35.576 CMD: Grp 0, Cmd 'POWER', Idx 1, Len 3, Pld 0, Data 'off' [17:02:35] stat/tasmota_228C3D/LOGGING 17:02:35.581 MQT: stat/tasmota_228C3D/RESULT = {"POWER1":"OFF"} [17:02:35] stat/tasmota_228C3D/LOGGING 17:02:35.584 MQT: stat/tasmota_228C3D/POWER1 = OFF [17:02:35] stat/tasmota_228C3D/LOGGING 17:02:35.820 CFG: Saved to flash at F4, Count 88, Bytes 4096 [17:02:36] stat/tasmota_228C3D/LOGGING 17:02:36.411 ADE: ACCMODE 0x2D1800, VRMS 6102653, 6098813, Period 4470, 4470, IRMS 1832, 1773, WATT -10, 0, VA 41, 27, VAR 4, 0 [17:02:37] stat/tasmota_228C3D/LOGGING 17:02:37.411 ADE: ACCMODE 0x2D1800, VRMS 6102890, 6100009, Period 4470, 4470, IRMS 1828, 1773, WATT 0, 0, VA 28, 28, VAR 0, 0 [17:02:38] stat/tasmota_228C3D/LOGGING 17:02:38.412 ADE: ACCMODE 0x2D1800, VRMS 6100320, 6102494, Period 4470, 4470, IRMS 1814, 1773, WATT 0, 0, VA 29, 28, VAR 0, 0 [17:02:39] tele/tasmota_228C3D/MARGINS {"MARGINS":{"PowerDelta":[-6,0]}} [17:02:39] tele/tasmota_228C3D/SENSOR {"Time":"2023-01-18T17:02:39","ENERGY":{"TotalStartTime":"2023-01-17T18:35:56","Total":[0.035,0.040],"Yesterday":[0.035,0.040],"Today":[0.000,0.000],"Power":[0.0,0.0],"ApparentPower":[0.0,0.0],"ReactivePower":[0.0,0.0],"Factor":[0.00,0.00],"Frequency":0,"Voltage":0,"Current":[0.000,0.000]}} [17:02:39] stat/tasmota_228C3D/LOGGING 17:02:39.412 ADE: ACCMODE 0x2D1800, VRMS 6099791, 6103741, Period 4470, 4470, IRMS 1814, 1773, WATT 0, 0, VA 28, 27, VAR 0, 0 [17:02:40] stat/tasmota_228C3D/LOGGING 17:02:39.421 NRG: Energy reset by invalid data [17:02:40] stat/tasmota_228C3D/LOGGING 17:02:39.427 MQT: tele/tasmota_228C3D/MARGINS = {"MARGINS":{"PowerDelta":[-6,0]}} [17:02:40] stat/tasmota_228C3D/LOGGING 17:02:39.438 MQT: tele/tasmota_228C3D/SENSOR = {"Time":"2023-01-18T17:02:39","ENERGY":{"TotalStartTime":"2023-01-17T18:35:56","Total":[0.035,0.040],"Yesterday":[0.035,0.040],"Today":[0.000,0.000],"Power":[0.0,0.0],"ApparentPower":[0.0,0.0],"ReactivePower":[0.0,0.0],"Factor":[0.00,0.00],"Frequency":0,"Voltage":0,"Current":[0.000,0.000]}} [17:02:40] stat/tasmota_228C3D/LOGGING 17:02:40.413 ADE: ACCMODE 0x2D1800, VRMS 6099798, 6102017, Period 4470, 4470, IRMS 1814, 1773, WATT 0, 0, VA 28, 28, VAR 0, 0 [17:02:40] cmnd/tasmota_228C3D/power2 on [17:02:40] stat/tasmota_228C3D/RESULT {"POWER2":"ON"} [17:02:40] stat/tasmota_228C3D/POWER2 ON [17:02:40] stat/tasmota_228C3D/LOGGING 17:02:40.701 SRC: MQTT [17:02:41] stat/tasmota_228C3D/LOGGING 17:02:40.704 CMD: Grp 0, Cmd 'POWER', Idx 2, Len 2, Pld 1, Data 'on' [17:02:41] stat/tasmota_228C3D/LOGGING 17:02:40.710 MQT: stat/tasmota_228C3D/RESULT = {"POWER2":"ON"} [17:02:41] stat/tasmota_228C3D/LOGGING 17:02:40.714 MQT: stat/tasmota_228C3D/POWER2 = ON [17:02:41] stat/tasmota_228C3D/LOGGING 17:02:40.797 CFG: Saved to flash at FB, Count 89, Bytes 4096 [17:02:41] stat/tasmota_228C3D/LOGGING 17:02:41.411 ADE: ACCMODE 0x281800, VRMS 6100866, 6104629, Period 4470, 4470, IRMS 1801, 50147, WATT 0, 32, VA 28, 521, VAR 0, -468 [17:02:42] stat/tasmota_228C3D/LOGGING 17:02:42.411 ADE: ACCMODE 0x281800, VRMS 6099600, 6102035, Period 4471, 4471, IRMS 1801, 50227, WATT 0, 48, VA 28, 779, VAR 0, -763 [17:02:43] tele/tasmota_228C3D/MARGINS {"MARGINS":{"PowerDelta":[0,6]}} [17:02:43] tele/tasmota_228C3D/SENSOR {"Time":"2023-01-18T17:02:43","ENERGY":{"TotalStartTime":"2023-01-17T18:35:56","Total":[0.035,0.040],"Yesterday":[0.035,0.040],"Today":[0.000,0.000],"Power":[0.0,6.5],"ApparentPower":[0.0,102.9],"ReactivePower":[0.0,304.8],"Factor":[0.00,0.06],"Frequency":50,"Voltage":234,"Current":[0.000,0.027]}} [17:02:44] stat/tasmota_228C3D/LOGGING 17:02:43.411 ADE: ACCMODE 0x281800, VRMS 6101967, 6101569, Period 4471, 4471, IRMS 1792, 50117, WATT 0, 49, VA 28, 780, VAR 0, -762 [17:02:44] stat/tasmota_228C3D/LOGGING 17:02:43.421 MQT: tele/tasmota_228C3D/MARGINS = {"MARGINS":{"PowerDelta":[0,6]}} [17:02:44] stat/tasmota_228C3D/LOGGING 17:02:43.432 MQT: tele/tasmota_228C3D/SENSOR = {"Time":"2023-01-18T17:02:43","ENERGY":{"TotalStartTime":"2023-01-17T18:35:56","Total":[0.035,0.040],"Yesterday":[0.035,0.040],"Today":[0.000,0.000],"Power":[0.0,6.5],"ApparentPower":[0.0,102.9],"ReactivePower":[0.0,304.8],"Factor":[0.00,0.06],"Frequency":50,"Voltage":234,"Current":[0.000,0.027]}} [17:02:44] stat/tasmota_228C3D/LOGGING 17:02:44.423 ADE: ACCMODE 0x281800, VRMS 6105977, 6102184, Period 4470, 4470, IRMS 1792, 50343, WATT 0, 48, VA 28, 789, VAR 0, -772 [17:02:45] stat/tasmota_228C3D/LOGGING 17:02:45.411 ADE: ACCMODE 0x281800, VRMS 6102677, 6098897, Period 4470, 4470, IRMS 1792, 50237, WATT 0, 47, VA 28, 770, VAR 0, -753 [17:02:46] stat/tasmota_228C3D/LOGGING 17:02:46.411 ADE: ACCMODE 0x281800, VRMS 6100233, 6097100, Period 4470, 4471, IRMS 1792, 50183, WATT 0, 48, VA 27, 780, VAR 0, -762 [17:02:47] stat/tasmota_228C3D/LOGGING 17:02:47.411 ADE: ACCMODE 0x281800, VRMS 6100579, 6099406, Period 4470, 4471, IRMS 1792, 50301, WATT 0, 48, VA 28, 779, VAR 0, -762 [17:02:48] cmnd/tasmota_228C3D/power2 off [17:02:48] stat/tasmota_228C3D/RESULT {"POWER2":"OFF"} [17:02:48] stat/tasmota_228C3D/POWER2 OFF [17:02:48] stat/tasmota_228C3D/LOGGING 17:02:48.412 ADE: ACCMODE 0x281800, VRMS 6101019, 6102460, Period 4469, 4470, IRMS 1792, 50194, WATT 0, 47, VA 28, 780, VAR 0, -763 [17:02:49] stat/tasmota_228C3D/LOGGING 17:02:49.147 SRC: MQTT [17:02:49] stat/tasmota_228C3D/LOGGING 17:02:49.150 CMD: Grp 0, Cmd 'POWER', Idx 2, Len 3, Pld 0, Data 'off' [17:02:49] stat/tasmota_228C3D/LOGGING 17:02:49.156 MQT: stat/tasmota_228C3D/RESULT = {"POWER2":"OFF"} [17:02:49] stat/tasmota_228C3D/LOGGING 17:02:49.161 MQT: stat/tasmota_228C3D/POWER2 = OFF [17:02:49] stat/tasmota_228C3D/LOGGING 17:02:49.413 ADE: ACCMODE 0x2D1800, VRMS 6100166, 6104067, Period 4470, 4470, IRMS 1792, 1773, WATT 0, 39, VA 28, 652, VAR 0, -633 [17:02:49] stat/tasmota_228C3D/LOGGING 17:02:49.841 CFG: Saved to flash at FA, Count 90, Bytes 4096 [17:02:50] stat/tasmota_228C3D/LOGGING 17:02:50.050 WIF: Checking connection... [17:02:50] stat/tasmota_228C3D/LOGGING 17:02:50.411 ADE: ACCMODE 0x2D1800, VRMS 6098940, 6102931, Period 4469, 4469, IRMS 1792, 1773, WATT 0, 0, VA 28, 27, VAR 0, 0 [17:02:51] cmnd/tasmota_228C3D/MqttLog 0 [17:02:51] stat/tasmota_228C3D/RESULT {"MqttLog":0} [17:02:51] tele/tasmota_228C3D/MARGINS {"MARGINS":{"PowerDelta":[0,-6]}} [17:02:52] tele/tasmota_228C3D/SENSOR {"Time":"2023-01-18T17:02:52","ENERGY":{"TotalStartTime":"2023-01-17T18:35:56","Total":[0.035,0.040],"Yesterday":[0.035,0.040],"Today":[0.000,0.000],"Power":[0.0,0.0],"ApparentPower":[0.0,0.0],"ReactivePower":[0.0,0.0],"Factor":[0.00,0.00],"Frequency":0,"Voltage":0,"Current":[0.000,0.000]}}

TO REPRODUCE

Steps to reproduce the behavior:

EXPECTED BEHAVIOUR

A clear and concise description of what you expected to happen.

Power factor should become 1.0 after calibration (as does for phase 1 and other devices.

SCREENSHOTS

If applicable, add screenshots to help explain your problem.

ADDITIONAL CONTEXT

Add any other context about the problem here.

(Please, remember to close the issue when the problem has been addressed)

arendst commented 1 year ago

Pls provide requested info regarding status 0.

arendst commented 1 year ago

In addition provide output of command VoltageSet

Jason2866 commented 1 year ago

Closing since no feedback.

AleXSR700 commented 1 year ago

Status 0

00:17:44.134 MQT: tele/tasmota_228C3D/STATE = {"Time":"2023-02-15T00:17:44","Uptime":"28T05:01:40","UptimeSec":2437300,"Heap":23,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":13,"POWER1":"OFF","POWER2":"OFF","Wifi":{"AP":1,"SSId":"BaumlerlangenHA24","BSSId":"06:31:92:E7:DC:7E","Channel":1,"Mode":"11n","RSSI":84,"Signal":-58,"LinkCount":1,"Downtime":"0T00:00:03"}}
00:17:44.147 MQT: tele/tasmota_228C3D/SENSOR = {"Time":"2023-02-15T00:17:44","Switch1":"ON","Switch2":"ON","ANALOG":{"Temperature":37.7},"ENERGY":{"TotalStartTime":"2023-01-17T18:35:56","Total":[0.205,0.242],"Yesterday":[0.003,0.005],"Today":[0.000,0.000],"Period":[0.0,0.0],"Power":[0.0,0.0],"ApparentPower":[0.0,0.0],"ReactivePower":[0.0,0.0],"Factor":[0.00,0.00],"Frequency":0,"Voltage":0,"Current":[0.000,0.000]},"TempUnit":"C"}
01:17:44.159 MQT: tele/tasmota_228C3D/STATE = {"Time":"2023-02-15T01:17:44","Uptime":"28T06:01:40","UptimeSec":2440900,"Heap":23,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":13,"POWER1":"OFF","POWER2":"OFF","Wifi":{"AP":1,"SSId":"BaumlerlangenHA24","BSSId":"06:31:92:E7:DC:7E","Channel":1,"Mode":"11n","RSSI":82,"Signal":-59,"LinkCount":1,"Downtime":"0T00:00:03"}}
01:17:44.173 MQT: tele/tasmota_228C3D/SENSOR = {"Time":"2023-02-15T01:17:44","Switch1":"ON","Switch2":"ON","ANALOG":{"Temperature":37.7},"ENERGY":{"TotalStartTime":"2023-01-17T18:35:56","Total":[0.205,0.242],"Yesterday":[0.003,0.005],"Today":[0.000,0.000],"Period":[0.0,0.0],"Power":[0.0,0.0],"ApparentPower":[0.0,0.0],"ReactivePower":[0.0,0.0],"Factor":[0.00,0.00],"Frequency":0,"Voltage":0,"Current":[0.000,0.000]},"TempUnit":"C"}
02:17:44.149 MQT: tele/tasmota_228C3D/STATE = {"Time":"2023-02-15T02:17:44","Uptime":"28T07:01:40","UptimeSec":2444500,"Heap":23,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":13,"POWER1":"OFF","POWER2":"OFF","Wifi":{"AP":1,"SSId":"BaumlerlangenHA24","BSSId":"06:31:92:E7:DC:7E","Channel":1,"Mode":"11n","RSSI":84,"Signal":-58,"LinkCount":1,"Downtime":"0T00:00:03"}}
02:17:44.164 MQT: tele/tasmota_228C3D/SENSOR = {"Time":"2023-02-15T02:17:44","Switch1":"ON","Switch2":"ON","ANALOG":{"Temperature":37.0},"ENERGY":{"TotalStartTime":"2023-01-17T18:35:56","Total":[0.205,0.242],"Yesterday":[0.003,0.005],"Today":[0.000,0.000],"Period":[0.0,0.0],"Power":[0.0,0.0],"ApparentPower":[0.0,0.0],"ReactivePower":[0.0,0.0],"Factor":[0.00,0.00],"Frequency":0,"Voltage":0,"Current":[0.000,0.000]},"TempUnit":"C"}
03:17:44.148 MQT: tele/tasmota_228C3D/STATE = {"Time":"2023-02-15T03:17:44","Uptime":"28T08:01:40","UptimeSec":2448100,"Heap":23,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":13,"POWER1":"OFF","POWER2":"OFF","Wifi":{"AP":1,"SSId":"BaumlerlangenHA24","BSSId":"06:31:92:E7:DC:7E","Channel":1,"Mode":"11n","RSSI":84,"Signal":-58,"LinkCount":1,"Downtime":"0T00:00:03"}}
03:17:44.161 MQT: tele/tasmota_228C3D/SENSOR = {"Time":"2023-02-15T03:17:44","Switch1":"ON","Switch2":"ON","ANALOG":{"Temperature":37.1},"ENERGY":{"TotalStartTime":"2023-01-17T18:35:56","Total":[0.205,0.242],"Yesterday":[0.003,0.005],"Today":[0.000,0.000],"Period":[0.0,0.0],"Power":[0.0,0.0],"ApparentPower":[0.0,0.0],"ReactivePower":[0.0,0.0],"Factor":[0.00,0.00],"Frequency":0,"Voltage":0,"Current":[0.000,0.000]},"TempUnit":"C"}
04:17:45.139 MQT: tele/tasmota_228C3D/STATE = {"Time":"2023-02-15T04:17:45","Uptime":"28T09:01:41","UptimeSec":2451701,"Heap":23,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":13,"POWER1":"OFF","POWER2":"OFF","Wifi":{"AP":1,"SSId":"BaumlerlangenHA24","BSSId":"06:31:92:E7:DC:7E","Channel":1,"Mode":"11n","RSSI":82,"Signal":-59,"LinkCount":1,"Downtime":"0T00:00:03"}}
04:17:45.152 MQT: tele/tasmota_228C3D/SENSOR = {"Time":"2023-02-15T04:17:45","Switch1":"ON","Switch2":"ON","ANALOG":{"Temperature":37.1},"ENERGY":{"TotalStartTime":"2023-01-17T18:35:56","Total":[0.205,0.242],"Yesterday":[0.003,0.005],"Today":[0.000,0.000],"Period":[0.0,0.0],"Power":[0.0,0.0],"ApparentPower":[0.0,0.0],"ReactivePower":[0.0,0.0],"Factor":[0.00,0.00],"Frequency":0,"Voltage":0,"Current":[0.000,0.000]},"TempUnit":"C"}
04:44:08.738 CMD: status 0
04:44:08.746 MQT: stat/tasmota_228C3D/STATUS = {"Status":{"Module":0,"DeviceName":"LightSwitch_LR","FriendlyName":["LightSwitch_LR_Main","LightSwitch_LR_Ambient"],"Topic":"tasmota_228C3D","ButtonTopic":"0","Power":0,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0,"InfoRetain":0,"StateRetain":0,"StatusRetain":0}}
04:44:08.752 MQT: stat/tasmota_228C3D/STATUS1 = {"StatusPRM":{"Baudrate":115200,"SerialConfig":"8N1","GroupTopic":"tasmotas","OtaUrl":"http://ota.tasmota.com/tasmota/release/tasmota.bin.gz","RestartReason":"External System","Uptime":"28T09:28:04","StartupUTC":"2023-01-17T18:16:04","Sleep":50,"CfgHolder":4617,"BootCount":7,"BCResetTime":"2023-01-17T18:35:56","SaveCount":444,"SaveAddress":"F8000"}}
04:44:08.757 MQT: stat/tasmota_228C3D/STATUS2 = {"StatusFWR":{"Version":"12.3.1(tasmota)","BuildDateTime":"2022-12-16T10:28:17","Boot":31,"Core":"2_7_4_9","SDK":"2.2.2-dev(38a443e)","CpuFrequency":80,"Hardware":"ESP8266EX","CR":"446/699"}}
04:44:08.762 MQT: stat/tasmota_228C3D/STATUS3 = {"StatusLOG":{"SerialLog":0,"WebLog":2,"MqttLog":0,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["BaumlerlangenHA24",""],"TelePeriod":3600,"Resolution":"558980C0","SetOption":["4000800B","2805C80001000600003C5A0A192800780000","00000080","00006000","0000C000","00000000"]}}
04:44:08.774 MQT: stat/tasmota_228C3D/STATUS4 = {"StatusMEM":{"ProgramSize":629,"Free":372,"Heap":18,"ProgramFlashSize":1024,"FlashSize":2048,"FlashChipId":"15701C","FlashFrequency":40,"FlashMode":"DOUT","Features":["00000809","8F9AC787","04368001","000000CF","010013C0","C000F981","00004004","00001000","54000020","00000080"],"Drivers":"1,2,3,4,5,6,7,8,9,10,12,16,18,19,20,21,22,24,26,27,29,30,35,37,45,62","Sensors":"1,2,3,4,5,6"}}
04:44:08.781 MQT: stat/tasmota_228C3D/STATUS5 = {"StatusNET":{"Hostname":"tasmota-228C3D-3133","IPAddress":"192.168.0.203","Gateway":"192.168.0.1","Subnetmask":"255.255.255.0","DNSServer1":"192.168.0.1","DNSServer2":"0.0.0.0","Mac":"40:F5:20:22:8C:3D","Webserver":2,"HTTP_API":1,"WifiConfig":4,"WifiPower":17.0}}
04:44:08.787 MQT: stat/tasmota_228C3D/STATUS6 = {"StatusMQT":{"MqttHost":"192.168.0.2","MqttPort":1883,"MqttClientMask":"DVES_%06X","MqttClient":"DVES_228C3D","MqttUser":"mqtt","MqttCount":13,"MAX_PACKET_SIZE":1200,"KEEPALIVE":30,"SOCKET_TIMEOUT":4}}
04:44:08.793 MQT: stat/tasmota_228C3D/STATUS7 = {"StatusTIM":{"UTC":"2023-02-15T03:44:08","Local":"2023-02-15T04:44:08","StartDST":"2023-03-26T02:00:00","EndDST":"2023-10-29T03:00:00","Timezone":99,"Sunrise":"07:58","Sunset":"18:09"}}
04:44:08.797 MQT: stat/tasmota_228C3D/STATUS9 = {"StatusPTH":{"PowerDelta":[102,102,0],"PowerLow":0,"PowerHigh":0,"VoltageLow":0,"VoltageHigh":0,"CurrentLow":0,"CurrentHigh":0}}
04:44:08.809 MQT: stat/tasmota_228C3D/STATUS10 = {"StatusSNS":{"Time":"2023-02-15T04:44:08","Switch1":"ON","Switch2":"ON","ANALOG":{"Temperature":38.5},"ENERGY":{"TotalStartTime":"2023-01-17T18:35:56","Total":[0.205,0.242],"Yesterday":[0.003,0.005],"Today":[0.000,0.000],"Power":[0.0,0.0],"ApparentPower":[0.0,0.0],"ReactivePower":[0.0,0.0],"Factor":[0.00,0.00],"Frequency":0,"Voltage":0,"Current":[0.000,0.000]},"TempUnit":"C"}}
04:44:08.815 MQT: stat/tasmota_228C3D/STATUS11 = {"StatusSTS":{"Time":"2023-02-15T04:44:08","Uptime":"28T09:28:04","UptimeSec":2453284,"Heap":18,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":13,"POWER1":"OFF","POWER2":"OFF","Wifi":{"AP":1,"SSId":"BaumlerlangenHA24","BSSId":"06:31:92:E7:DC:7E","Channel":1,"Mode":"11n","RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:03"}}}

VoltageSet

04:45:24.343 CMD: VoltageSet
04:45:24.350 MQT: stat/tasmota_228C3D/RESULT = {"VoltageSetCal":[26119,26420]}
arendst commented 1 year ago

Try latest dev release and (re-)calibrate output two using command VoltageSet2, CurrentSet2 and PowerSet2.

AleXSR700 commented 1 year ago

So, tried with latest release as it is newer than 14 days.

Program Version12.4.0(tasmota)
Build Date & Time2023-02-24T15:32:38
Core/SDK Version2_7_4_9/2.2.2-dev(38a443e)

Unfortunately to the same result.

15:16:07.282 CMD: status 0
15:16:07.291 MQT: stat/tasmota_228C3D/STATUS = {"Status":{"Module":0,"DeviceName":"LightSwitch_LR","FriendlyName":["LightSwitch_LR_Main","LightSwitch_LR_Ambient"],"Topic":"tasmota_228C3D","ButtonTopic":"0","Power":2,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0,"InfoRetain":0,"StateRetain":0,"StatusRetain":0}}
15:16:07.296 MQT: stat/tasmota_228C3D/STATUS1 = {"StatusPRM":{"Baudrate":115200,"SerialConfig":"8N1","GroupTopic":"tasmotas","OtaUrl":"http://ota.tasmota.com/tasmota/release/tasmota.bin.gz","RestartReason":"Software/System restart","Uptime":"0T00:03:10","StartupUTC":"2023-03-01T14:12:57","Sleep":50,"CfgHolder":4617,"BootCount":8,"BCResetTime":"2023-01-17T18:35:56","SaveCount":562,"SaveAddress":"FA000"}}
15:16:07.303 MQT: stat/tasmota_228C3D/STATUS2 = {"StatusFWR":{"Version":"12.4.0(tasmota)","BuildDateTime":"2023-02-24T15:32:38","Boot":31,"Core":"2_7_4_9","SDK":"2.2.2-dev(38a443e)","CpuFrequency":80,"Hardware":"ESP8266EX","CR":"446/699"}}
15:16:07.309 MQT: stat/tasmota_228C3D/STATUS3 = {"StatusLOG":{"SerialLog":0,"WebLog":2,"MqttLog":0,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["BaumlerlangenHA24",""],"TelePeriod":3600,"Resolution":"558980C0","SetOption":["4000800B","2805C80001000600003C5A0A192800780000","00000080","00006000","0000C000","00000000"]}}
15:16:07.322 MQT: stat/tasmota_228C3D/STATUS4 = {"StatusMEM":{"ProgramSize":632,"Free":368,"Heap":21,"ProgramFlashSize":1024,"FlashSize":2048,"FlashChipId":"15701C","FlashFrequency":40,"FlashMode":"DOUT","Features":["00000809","8F9AC787","04368001","000000CF","010013C0","C000F981","00004004","00001000","54000020","00000080"],"Drivers":"1,2,3,4,5,6,7,8,9,10,12,16,18,19,20,21,22,24,26,27,29,30,35,37,45,62","Sensors":"1,2,3,4,5,6"}}
15:16:07.329 MQT: stat/tasmota_228C3D/STATUS5 = {"StatusNET":{"Hostname":"tasmota-228C3D-3133","IPAddress":"192.168.0.203","Gateway":"192.168.0.1","Subnetmask":"255.255.255.0","DNSServer1":"192.168.0.1","DNSServer2":"0.0.0.0","Mac":"40:F5:20:22:8C:3D","Webserver":2,"HTTP_API":1,"WifiConfig":4,"WifiPower":17.0}}
15:16:07.335 MQT: stat/tasmota_228C3D/STATUS6 = {"StatusMQT":{"MqttHost":"192.168.0.2","MqttPort":1883,"MqttClientMask":"DVES_%06X","MqttClient":"DVES_228C3D","MqttUser":"mqtt","MqttCount":1,"MAX_PACKET_SIZE":1200,"KEEPALIVE":30,"SOCKET_TIMEOUT":4}}
15:16:07.342 MQT: stat/tasmota_228C3D/STATUS7 = {"StatusTIM":{"UTC":"2023-03-01T14:16:07","Local":"2023-03-01T15:16:07","StartDST":"2023-03-26T02:00:00","EndDST":"2023-10-29T03:00:00","Timezone":99,"Sunrise":"07:32","Sunset":"18:32"}}
15:16:07.348 MQT: stat/tasmota_228C3D/STATUS9 = {"StatusPTH":{"PowerDelta":[102,102,0],"PowerLow":0,"PowerHigh":0,"VoltageLow":0,"VoltageHigh":0,"CurrentLow":0,"CurrentHigh":0}}
15:16:07.361 MQT: stat/tasmota_228C3D/STATUS10 = {"StatusSNS":{"Time":"2023-03-01T15:16:07","Switch1":"OFF","Switch2":"ON","ANALOG":{"Temperature":50.9},"ENERGY":{"TotalStartTime":"2023-01-17T18:35:56","Total":[0.289,0.302],"Yesterday":[0.014,0.014],"Today":[0.000,0.006],"Power":[0.0,99.9],"ApparentPower":[0.0,164.5],"ReactivePower":[0.0,129.5],"Factor":[0.00,0.61],"Frequency":50,"Voltage":231,"Current":[0.000,0.437]},"TempUnit":"C"}}
15:16:07.369 MQT: stat/tasmota_228C3D/STATUS11 = {"StatusSTS":{"Time":"2023-03-01T15:16:07","Uptime":"0T00:03:10","UptimeSec":190,"Heap":21,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"POWER1":"OFF","POWER2":"ON","Wifi":{"AP":1,"SSId":"BaumlerlangenHA24","BSSId":"5C:7D:7D:D7:A8:88","Channel":1,"Mode":"11n","RSSI":66,"Signal":-67,"LinkCount":1,"Downtime":"0T00:00:03"}}}

PowerFactor is still far below 1.

Performed

15:13:30.771 CMD: VoltageSet2 230
15:13:30.779 MQT: stat/tasmota_228C3D/RESULT = {"VoltageSetCal":[26119,26239]}
15:13:37.544 CMD: PowerSet2 100
15:13:37.552 MQT: stat/tasmota_228C3D/RESULT = {"PowerSetCal":[1599,1566]}
15:13:38.436 MQT: tele/tasmota_228C3D/MARGINS = {"MARGINS":{"PowerDelta":[0,11]}}
15:13:38.447 MQT: tele/tasmota_228C3D/SENSOR = {"Time":"2023-03-01T15:13:38","ENERGY":{"TotalStartTime":"2023-01-17T18:35:56","Total":[0.289,0.298],"Yesterday":[0.014,0.014],"Today":[0.000,0.002],"Power":[0.0,99.9],"ApparentPower":[0.0,164.6],"ReactivePower":[0.0,129.6],"Factor":[0.00,0.61],"Frequency":50,"Voltage":231,"Current":[0.000,0.038]}}
15:15:01.058 CMD: CurrentSet2 434.7826086957
15:15:01.066 MQT: stat/tasmota_228C3D/RESULT = {"CurrentSetCal":[10300,16400]}