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.04k stars 4.78k forks source link

pzem don't work 6.4.0 #4662

Closed riddik14 closed 5 years ago

riddik14 commented 5 years ago

IMPORTANT NOTICE If you do not complete the template below it is likely that your issue will not be addressed. When providing information about your issue please be as extensive as possible so that it can be solved by as little as possible responses.

FAILURE TO COMPLETE THE REQUESTED INFORMATION WILL RESULT IN YOUR ISSUE BEING CLOSED

Describe the bug A clear and concise description of what the bug is.

Also, make sure these boxes are checked [x] before submitting your issue - Thank you!

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

pzem-004t don't receive data

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) ok

arendst commented 5 years ago

Read the RELEASENOTES:

riddik14 commented 5 years ago

21:41:23 MQT: stat/luceripostiglio/STATUS = {"Status":{"Module":1,"FriendlyName":["Ripostiglio"],"Topic":"luceripostiglio","ButtonTopic":"0","Power":0,"PowerOnState":3,"LedState":1,"SaveData":1,"SaveState":1,"ButtonRetain":0,"PowerRetain":0}} 21:41:23 MQT: stat/luceripostiglio/STATUS1 = {"StatusPRM":{"Baudrate":9600,"GroupTopic":"sonoffs","OtaUrl":"http://192.168.1.247:9999/data/firmwares/sonoff.bin","RestartReason":"Software/System restart","Uptime":"0T00:52:20","StartupUTC":"2018-12-17T19:49:03","Sleep":50,"BootCount":360,"SaveCount":1842,"SaveAddress":"FA000"}} 21:41:23 MQT: stat/luceripostiglio/STATUS2 = {"StatusFWR":{"Version":"6.2.1","BuildDateTime":"2018-09-09T16:43:25","Boot":31,"Core":"2_30","SDK":"1.5.3(aec24ac9)"}} 21:41:23 MQT: stat/luceripostiglio/STATUS3 = {"StatusLOG":{"SerialLog":0,"WebLog":2,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["FASTWEB-W8NHB5",""],"TelePeriod":80,"SetOption":["0002A809","558180C0","00000029"]}} 21:41:23 MQT: stat/luceripostiglio/STATUS4 = {"StatusMEM":{"ProgramSize":472,"Free":528,"Heap":15,"ProgramFlashSize":1024,"FlashSize":1024,"FlashMode":3,"Features":["00000410","0FDAE794","000003A0","23B617CE","00000000"]}} 21:41:23 MQT: stat/luceripostiglio/STATUS5 = {"StatusNET":{"Hostname":"luceripostiglio-6158","IPAddress":"192.168.1.212","Gateway":"192.168.1.1","Subnetmask":"255.255.255.0","DNSServer":"192.168.1.1","Mac":"68:C6:3A:A3:18:0E","Webserver":2,"WifiConfig":5}} 21:41:23 MQT: stat/luceripostiglio/STATUS6 = {"StatusMQT":{"MqttHost":"192.168.1.247","MqttPort":1883,"MqttClientMask":"Ripostiglio%06X","MqttClient":"Ripostiglio_A3180E","MqttUser":"admin","MqttType":1,"MAX_PACKET_SIZE":1000,"KEEPALIVE":15}} 21:41:23 MQT: stat/luceripostiglio/STATUS7 = {"StatusTIM":{"UTC":"Mon Dec 17 20:41:23 2018","Local":"Mon Dec 17 21:41:23 2018","StartDST":"Sun Mar 25 02:00:00 2018","EndDST":"Sun Oct 28 03:00:00 2018","Timezone":99,"Sunrise":"07:41","Sunset":"16:21"}} 21:41:23 MQT: stat/luceripostiglio/STATUS9 = {"StatusPTH":{"PowerDelta":80,"PowerLow":0,"PowerHigh":0,"VoltageLow":0,"VoltageHigh":0,"CurrentLow":0,"CurrentHigh":0}} 21:41:23 MQT: stat/luceripostiglio/STATUS10 = {"StatusSNS":{"Time":"2018-12-17T21:41:23","ENERGY":{"Total":199.641,"Yesterday":12.010,"Today":13.860,"Power":855,"Factor":0.91,"Voltage":233,"Current":4.020}}} 21:41:23 MQT: stat/luceripostiglio/STATUS11 = {"StatusSTS":{"Time":"2018-12-17T21:41:23","Uptime":"0T00:52:20","Vcc":3.192,"POWER":"OFF","Wifi":{"AP":1,"SSId":"FASTWEB-W8NHB5","RSSI":74,"APMac":"B0:EA:BC:9A:5C:70"}}}

arendst commented 5 years ago

Status is from 6.2.1 on core 2.3.0 !!!!?????

Show your GPIO config and tell what kind of PZEM you have.

arendst commented 5 years ago

Works like a treat:

image

image

riddik14 commented 5 years ago

fw 6.4.0.1?

arendst commented 5 years ago

Don't mind. Pls provide requested info.

riddik14 commented 5 years ago

you use fw 6.4.0.1, you have compiled. i have used official release 6.4.0. i try to flash with ide. thanks u

arendst commented 5 years ago

Again, doesn't matter. PZEM has always worked. In 6.4.0 the GPIO's have changed.

That's why I asked you to provide your GPIO config and the type of PZEM you have.

andrethomas commented 5 years ago

6.4.0.1is also official.

Please provide the requested information.

Thanks

riddik14 commented 5 years ago

ok,work, but stay quite. thank u

andrethomas commented 5 years ago

Happy to hear it worked out for you! :)