Provisioning your ESP8266 with our server


#21

hi successfully my device came online, but during provisioning timed out error

arise however device came into online.

now in DEMO mode it shows values. if i turn down the demo not receiving any data in app.

Also After Resetting esp again it entered in to access point mode.


#22

Hard reset with the button on the ESP8266 or the reset in the app.

If it continues to return to AP mode it probably means you flashed it incorrectly.


#23

Hardware reset on ESP, where can i find latest firmware?


#24

You have the latest firmware as shown in the flashing tool.

Paste a copy of your settings from the Advanced page of the tool.


#25

Settings


#26

I just tried flashing my NodeMCU with that 2015 tool and it didn’t bring up an AP at all.

Espressif tool is better as it’s updated regularly.

Will just do a few more checks with the tools you are using and report back to you.


#27

Second flash with that old tool didn’t work.

Use the tool and settings from Connecting a PeaceFair Pzem-004T to an Espressif ESP8266


#28

i tried with esptool. now its working. its not going back to access point…:grinning:


#29

Think you should have flashed it as DIO not QIO.


#30

Hai sorry for delay as a new user i can’t post more than 17 messages.

With demo mode it Shows random data on all the super charts.

Demo mode in Off State i am not getting any data from PZEM.


#31

That suggests the Pzem might still not be wired up correctly.
Is the current transformer connected around a live power feed?

Did you change the rx and tx connections on the ESP as they are wrong in your photo as per our ealrier post?


#32

@karthi also on the TARIFF page if you scroll down does the STATUS show in yellow as Registered?

If it doesn’t select parameter 28 Validate Firmware from the drop down parameter menu and check the STATUS again.


#33

now firmware Registered.

still not getting Data.

and ESP8266 continuously restarts for every seconds. is there something went wrong?


#34

This is normally because the Pzem and ESP are wired up incorrectly and sometimes due to a bad flash.

I would flash the ESP again as DIO unless you specifically know that you should be using QIO.

Post some photos clearly showing how you have wired up your system.


#35

I used separate 5v supply from regulator and once again I flashed firmware now resetting issue cleared.


#36

Are you saying everything is ok now?


#37

No, I am not getting data from pzem otherwise everything is good.


#38

@karthi for development boards like the NodeMCU and WeMos you shouldn’t need to use a separate 5V supply. Us the 5V on the board. Below is a photo from a user we helped out yesterday. It’s probably best to play safe and use the voltage divider as shown in the photo and advised in item 4 of Having Problems with Your Peacefair Pzem-004T

Check the wiring against yours and let us know how it goes.


#39

Yes, Actually i am powering Node mcu with USB power and PZEM powered separately

and i used voltage dividers also for PZEM TX pin which is connected in D6 pin of Node MCU…

no LUCK…

In APP side any specific setting is there?

do i need to set Any API KEY?


#40

No that is for integration with 3rd party IOT networks and can’t be set until the Pzem is providing the data.