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
21.85k stars 4.75k forks source link

PZEM 004T V3 Impossible to reset hardware counter #13289

Closed ster1um closed 2 years ago

ster1um commented 2 years ago

PROBLEM DESCRIPTION

After activation the setoption72 is not possible reset counter on pzem004 v3 via console. If use command energyreset3 0 the counter on tasmota reset but after reload the pzem total .counter

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:
11:44:17.755 CMD: energyreset3 0
11:44:17.757 SRC: WebConsole from 192.168.2.101
11:44:17.759 CMD: Grp 0, Cmnd 'ENERGYRESET', Idx 3, Len 1, Data '0'
11:44:17.766 MQT: stat/Contatore_Energia/RESULT = {"EnergyReset":{"Total":0.000,"Yesterday":0.000,"Today":0.000,"Usage":[0.000,3.061],"Export":[0.000,0.000]}}
11:44:18.102 CFG: Saved to flash at F7, Count 129, Bytes 4096

11:45:43.776 CMD: energyreset
11:45:43.778 SRC: WebConsole from 192.168.2.101
11:45:43.781 CMD: Grp 0, Cmnd 'ENERGYRESET', Idx 1, Len 0, Data ''
11:45:43.788 MQT: stat/Contatore_Energia/RESULT = {"EnergyReset":{"Total":1.521,"Yesterday":0.000,"Today":0.004,"Usage":[0.000,3.061],"Export":[0.000,0.000]}}

TO REPRODUCE

Steps to reproduce the behavior:

EXPECTED BEHAVIOUR

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

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)

ascillato2 commented 2 years ago

The hardware reset of the PZEM is not implemented. Moving this to Feature requests.