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.2k stars 4.81k forks source link

PZEM-004T RX TX Ports Swapped #4680

Closed nunofmds closed 5 years ago

nunofmds 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.

After upgrade from 6.3.0 to 6.4.0 I had to change TX and RX ports on the config without changing nothing at hardware level.

On 6.3.0 I had: image

On 6.4.0 I changed to: image

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



**To Reproduce**
_Steps to reproduce the behavior:_

Just play with TX and RX ports...

**Expected behavior**
_A clear and concise description of what you expected to happen._

It should work as it's hardware connected. RX -> TX and TX -> RX

**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)**
Jason2866 commented 5 years ago

You are right. No bug. Wanted change. See changelog. See https://github.com/arendst/Sonoff-Tasmota/issues/4374 too

ascillato2 commented 5 years ago

Closing this issue as it has been answered.

Support Information

See Wiki for more information. See Chat for more user experience.

digiblur commented 5 years ago

@xNuno any tricks on get these working? I followed the Wiki and tried the swapping of pins around. Still zeroes across the board. I have two of these for testing and nothing. I'm starting to think my two PZEMs are bad as I've swapped out everything else a couple times.

meingraham commented 5 years ago

What version of TASMOTA? More to the point, what ESP core? With core 2.3.0, TASMOTA does not support serial communication on pins other than the TX and RX or you can change the core to 2.4.2 that will support your setup using software serial.

digiblur commented 5 years ago

About 10 different versions it feels like and different cores as well as I tried the various other pins on other generic boards. That's why I am thinking it is toast.

nunofmds commented 5 years ago

Yes it worked after login on web and swap the config like I show on picture. Don't forget to power off, wait 5s and power on again both devices, pzem and nodemcu or whatever you are using.