ESPEasy P1 Smart meter dead
Moderators: grovkillen, Stuntteam, TD-er
-
- Normal user
- Posts: 45
- Joined: 17 Jan 2018, 18:43
ESPEasy P1 Smart meter dead
I do have a ISKRA AM550 - TD2.01 SMR 5.0 3x400V smart meter connected via a BC547 to a ESP8266 board with ESP_Easy_mega-20181112_normal_ESP8266_4096.bin on board and it works.
I have my measurements in Domoticz. That's fine.
But a couple of times per day the ESP8266 hangs. Then he is not vissible anymore in my Experiabox V10. The solution: power down and up the ESP8266 and he is vissible again in my router and also in Putty.
In Domoticz I have to do: Settings > Hardware > P1 Slimme Meter > switch to 'not active', submit, switch to 'active', submit and we are back in business. Till next time the ESP8266 hangs.
First I used a ESP8266 ESP-01 board.
Second I use a ESP8266 LoLin nodeMCU V3.0 board.
I also changed the power supply.
Still every day dead moments at different times.
What is the solution?
I have my measurements in Domoticz. That's fine.
But a couple of times per day the ESP8266 hangs. Then he is not vissible anymore in my Experiabox V10. The solution: power down and up the ESP8266 and he is vissible again in my router and also in Putty.
In Domoticz I have to do: Settings > Hardware > P1 Slimme Meter > switch to 'not active', submit, switch to 'active', submit and we are back in business. Till next time the ESP8266 hangs.
First I used a ESP8266 ESP-01 board.
Second I use a ESP8266 LoLin nodeMCU V3.0 board.
I also changed the power supply.
Still every day dead moments at different times.
What is the solution?
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: ESPEasy P1 Smart meter dead
Possibly the WiFi is loosing the unit and the ESP is caught in limbo. Thus the reboot helps.
What is your Router/AP brand etc?
What is your Router/AP brand etc?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



-
- Normal user
- Posts: 45
- Joined: 17 Jan 2018, 18:43
Re: ESPEasy P1 Smart meter dead
Experia Box V10 KPN the Netherlands.
-
- Normal user
- Posts: 45
- Joined: 17 Jan 2018, 18:43
Re: ESPEasy P1 Smart meter dead
It can be the problem, the WiFi signal on that side of the house is pretty poor.
Is it an idea to make a routine in the ESPEasy firmware that checks the Wifi signal/connection almost continiusly and only operate when the signal is strong enough and not getting dead?
Is it an idea to make a routine in the ESPEasy firmware that checks the Wifi signal/connection almost continiusly and only operate when the signal is strong enough and not getting dead?
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: ESPEasy P1 Smart meter dead
I would suggest you beef up the WiFi. Other solutions are prune to cause problems still since the limbo state is what we don't want the unit to get to.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



Re: ESPEasy P1 Smart meter dead
What GPIO pins are you using?
See also this page: https://espeasy.readthedocs.io/en/lates ... light=gpio
If the RX pin is low, then it might fail to boot.
And it may crash + reboot due to HW watchdog when the reception is poor.
See also this page: https://espeasy.readthedocs.io/en/lates ... light=gpio
If the RX pin is low, then it might fail to boot.
And it may crash + reboot due to HW watchdog when the reception is poor.
-
- Normal user
- Posts: 45
- Joined: 17 Jan 2018, 18:43
Re: ESPEasy P1 Smart meter dead
In advice I use RX as input port.
I will be out for two days, so Sunday I will come back on it, and in between I will read the docs.
Thanks.
I will be out for two days, so Sunday I will come back on it, and in between I will read the docs.
Thanks.
Re: ESPEasy P1 Smart meter dead
I am also working on updating the serial interface layer, so I will also think about issues like these when working on that part of the code.
-
- Normal user
- Posts: 45
- Joined: 17 Jan 2018, 18:43
Re: ESPEasy P1 Smart meter dead
I have enlarged the cable between the Smart Meter and the BC547 NPN transistor to 10 meters. It seems that I get a good signal of the Smart Meter.
Because of this enlargement the ESP8266 is become more closely to my router. In a day I will know if this is the solution.
I use the RX port of the ESP8266 board because that was adviced to me on this forum.
In the ESPEasy interface I have chosen the 'Communication - P1 Wifi Gateway' as device and there you CANNOT declare a port to it.
Hello TD-er,
How do we know if and when you have updated the serial interface layer?
Because of this enlargement the ESP8266 is become more closely to my router. In a day I will know if this is the solution.
I use the RX port of the ESP8266 board because that was adviced to me on this forum.
In the ESPEasy interface I have chosen the 'Communication - P1 Wifi Gateway' as device and there you CANNOT declare a port to it.
Hello TD-er,
How do we know if and when you have updated the serial interface layer?
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: ESPEasy P1 Smart meter dead
Please give us the holidays and the serial will be updated.DomoticaRob wrote: ↑23 Dec 2018, 20:33 I have enlarged the cable between the Smart Meter and the BC547 NPN transistor to 10 meters. It seems that I get a good signal of the Smart Meter.
Because of this enlargement the ESP8266 is become more closely to my router. In a day I will know if this is the solution.
I use the RX port of the ESP8266 board because that was adviced to me on this forum.
In the ESPEasy interface I have chosen the 'Communication - P1 Wifi Gateway' as device and there you CANNOT declare a port to it.
Hello TD-er,
How do we know if and when you have updated the serial interface layer?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



-
- Normal user
- Posts: 45
- Joined: 17 Jan 2018, 18:43
Re: ESPEasy P1 Smart meter dead
Of course, there is no rush.
Are you talking about the summer holidays, or the Christmas holidays?
(hahaha).
Best wishes for 2019.
Are you talking about the summer holidays, or the Christmas holidays?



Best wishes for 2019.
-
- Normal user
- Posts: 45
- Joined: 17 Jan 2018, 18:43
Re: ESPEasy P1 Smart meter dead
My ESP8266 module is a little bit closer to the router, that gives a better situation. But still once a day I have a dead connection.
I do understand that if the RX pin of the ESP8266 is low at boot time the ESP8266 module might fail to boot. Is it an idea to use a GPIO pin of the ESP8266 to control this situation?
If you need a volunteer to test the new situation, I’m willing to do that.
Succes,
Rob
I do understand that if the RX pin of the ESP8266 is low at boot time the ESP8266 module might fail to boot. Is it an idea to use a GPIO pin of the ESP8266 to control this situation?
- For example as an enable signal to an ‘AND port’. The other input of the ‘AND port’ can be the output of the NPN transistor that is the passage/invertor for the Smart Meter signal.
- Another possibility is that the GPIO output port gives the enable signal to the Smart Meter.
If you need a volunteer to test the new situation, I’m willing to do that.
Succes,
Rob
-
- Normal user
- Posts: 45
- Joined: 17 Jan 2018, 18:43
Re: ESPEasy P1 Smart meter dead
Hello Grovkillen,
Does it help if I say that I have enlarged the cable between the smart meter and the ESP8266 / ESPEasy module to 30 meters. Now the module is placed half a meter from my router. Since then, I have no problems any more. That means that if there is some noise in the WiFi the ESPEasy plugin has problems te restart.
Maybe this gives a direction to where you have to change the code.
Succes,
Rob
Does it help if I say that I have enlarged the cable between the smart meter and the ESP8266 / ESPEasy module to 30 meters. Now the module is placed half a meter from my router. Since then, I have no problems any more. That means that if there is some noise in the WiFi the ESPEasy plugin has problems te restart.
Maybe this gives a direction to where you have to change the code.
Succes,
Rob
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: ESPEasy P1 Smart meter dead
All right, thanks for that info.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



Re: ESPEasy P1 Smart meter dead
Hello DomoticaRob,
Could please heb me out. I've tried many ways to get my P1 slimme meter running. As I read your post it looks like you have it running well. I am only looking for the bin file you mentioned in your post. I can't get it done to make my own. the only thing that needs to be changed are Wifi settings and static IP. I would be very greatfull if you can PM me a modified .bin file so I can upgrade my ESP8266 ESP12 myself as I was able to flash it with Tasmota firmware. thanks in advance
Could please heb me out. I've tried many ways to get my P1 slimme meter running. As I read your post it looks like you have it running well. I am only looking for the bin file you mentioned in your post. I can't get it done to make my own. the only thing that needs to be changed are Wifi settings and static IP. I would be very greatfull if you can PM me a modified .bin file so I can upgrade my ESP8266 ESP12 myself as I was able to flash it with Tasmota firmware. thanks in advance
73's
Fokko / PA3VOS
Fokko / PA3VOS
-
- Normal user
- Posts: 45
- Joined: 17 Jan 2018, 18:43
Re: ESPEasy P1 Smart meter dead
Hello PA3VOS,
I have ESPEasy running on my ESP8266 ESP12. In ESPEasy you can define a Communication - P1 Wifi Gateway.
So Flash ESPEasy on your ESP8266 module.
If it's not going to work for you I will find out wich tutorial I used to make it work.
I assume you're a Dutch guy (PA3VOS), my father was PA3ARS. Then we can communicate in Dutch in a PM.
Suc6,
Rob
I have ESPEasy running on my ESP8266 ESP12. In ESPEasy you can define a Communication - P1 Wifi Gateway.
So Flash ESPEasy on your ESP8266 module.
If it's not going to work for you I will find out wich tutorial I used to make it work.
I assume you're a Dutch guy (PA3VOS), my father was PA3ARS. Then we can communicate in Dutch in a PM.
Suc6,
Rob
Re: ESPEasy P1 Smart meter dead
Hallo Rob,
graag een PM. Dan kan kan ik je de status uitleggen en inderdaad in ben ook zendamateur
groeten uit Enschede,
Fokko
graag een PM. Dan kan kan ik je de status uitleggen en inderdaad in ben ook zendamateur

groeten uit Enschede,
Fokko
73's
Fokko / PA3VOS
Fokko / PA3VOS
Re: ESPEasy P1 Smart meter dead
Hello Rob,
meanwhile I have been able to flash the ESP8266 with the proper firmware. after adding the device in Domoticz several devices were shown in the setup window including the desired data. But strange enough only "Usage L1" and "Gas" with values that are being updated. However when I click the log button in the Utility nothing happens and I don see graphs.
Another thing is that I am missing the L2, Amp and Kwh high and low.
What am I doing wrong?
meanwhile I have been able to flash the ESP8266 with the proper firmware. after adding the device in Domoticz several devices were shown in the setup window including the desired data. But strange enough only "Usage L1" and "Gas" with values that are being updated. However when I click the log button in the Utility nothing happens and I don see graphs.
Another thing is that I am missing the L2, Amp and Kwh high and low.
What am I doing wrong?
73's
Fokko / PA3VOS
Fokko / PA3VOS
Re: ESPEasy P1 Smart meter dead
- Attachments
-
- Knipsel.JPG (90.55 KiB) Viewed 28103 times
73's
Fokko / PA3VOS
Fokko / PA3VOS
-
- Normal user
- Posts: 45
- Joined: 17 Jan 2018, 18:43
Re: ESPEasy P1 Smart meter dead
Hello Fokko,
I did sent you a PM. Let me know if you received it or not.
Enjoy, have fun,
Rob
I did sent you a PM. Let me know if you received it or not.
Enjoy, have fun,
Rob
-
- Normal user
- Posts: 103
- Joined: 14 Nov 2015, 20:17
Re: ESPEasy P1 Smart meter dead
I'am having exact the same problem as the topic starter.
I know for sure that's ( in my case) not a WiFi issue.
I must reset the Wemos every day ( sometimes i need to do this a few times a day).
The Wemos is not accessible after this "crash" when i hit the reset button on it, it runs fine for a few ...hours
I know for sure that's ( in my case) not a WiFi issue.
I must reset the Wemos every day ( sometimes i need to do this a few times a day).
The Wemos is not accessible after this "crash" when i hit the reset button on it, it runs fine for a few ...hours
-
- Normal user
- Posts: 45
- Joined: 17 Jan 2018, 18:43
Re: ESPEasy P1 Smart meter dead
I enlarged the cable between the Smart Meter and my ESP8266 module for 30 meters.
Now my ESP8266 module stand at a distance of 50 centimeters of my router.
That was the solution. It works now for a few month without problems.
Ofcourse, it's not how it should be. But it is what it is.
Now my ESP8266 module stand at a distance of 50 centimeters of my router.
That was the solution. It works now for a few month without problems.
Ofcourse, it's not how it should be. But it is what it is.
Re: ESPEasy P1 Smart meter dead
After many tests I use Release 2.0 - 20180322 without any problems
-
- Normal user
- Posts: 45
- Joined: 17 Jan 2018, 18:43
Re: ESPEasy P1 Smart meter dead
I do use:
ESP_Easy_mega-20181112_normal_ESP8266_4096.bin
ESP_Easy_mega-20181112_normal_ESP8266_4096.bin
-
- Normal user
- Posts: 103
- Joined: 14 Nov 2015, 20:17
Re: ESPEasy P1 Smart meter dead
Flashed this, but still after a few days the WeMos isn't accessible and have to reboot this manualy.
I also changed this WeMos to oneother so i know for "sure" that the WeMos itself isn't the problem
-
- Normal user
- Posts: 45
- Joined: 17 Jan 2018, 18:43
Re: ESPEasy P1 Smart meter dead
Since I placed the ESP8266 module just in 1 meter of the router it works fine for me.
Very occasionally it 'hangs'. Then it is enough for me to go in Domoticz to Settings, Hardware, and make the P1 inactive and after that I make the P1 active and it works again. So, I don't need to restart the ESP8266 module.
In the early days when the ESP8266 module was further away from the router I had to restart the ESP8266 module and in Domoticz I had to make the P1 inactive and active, and then it worked again. This happened every day.
So, I have a workable solution. It's not how it should be, but it's fine for me.
Very occasionally it 'hangs'. Then it is enough for me to go in Domoticz to Settings, Hardware, and make the P1 inactive and after that I make the P1 active and it works again. So, I don't need to restart the ESP8266 module.
In the early days when the ESP8266 module was further away from the router I had to restart the ESP8266 module and in Domoticz I had to make the P1 inactive and active, and then it worked again. This happened every day.
So, I have a workable solution. It's not how it should be, but it's fine for me.
-
- Normal user
- Posts: 103
- Joined: 14 Nov 2015, 20:17
Re: ESPEasy P1 Smart meter dead
The Wemos is about 3 meters from the nearest Access point so that shouldn't be the problem.
I also tried to do the domoticz "trick". But the whole Wemos webinterface isn't accessible , so had to do push the reset button.
Running : mega-20181112
I also tried to do the domoticz "trick". But the whole Wemos webinterface isn't accessible , so had to do push the reset button.
Running : mega-20181112
-
- Normal user
- Posts: 45
- Joined: 17 Jan 2018, 18:43
Re: ESPEasy P1 Smart meter dead
Does that means that it also is not possible to connect with Putty?
-
- Normal user
- Posts: 103
- Joined: 14 Nov 2015, 20:17
Re: ESPEasy P1 Smart meter dead
Yep , un-pingable and not accessible on puttyDomoticaRob wrote: ↑12 Apr 2019, 21:01 Does that means that it also is not possible to connect with Putty?
-
- Normal user
- Posts: 45
- Joined: 17 Jan 2018, 18:43
Re: ESPEasy P1 Smart meter dead
On the 23 of December 2018 "grovkillen" tipt us that they would update the serial.
viewtopic.php?p=36365#p34044
Does somebody knows what the status is of that?
viewtopic.php?p=36365#p34044
Does somebody knows what the status is of that?
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: ESPEasy P1 Smart meter dead
Sorry for misleading you. We have updated how the serial is handled but not the way you wanted. I have returned to 100% working, and TD-er is doing projects to get money. We have very little money/time at the moment. That being said, thank you 105 Patreons who's paying average $3 each month.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



-
- Normal user
- Posts: 45
- Joined: 17 Jan 2018, 18:43
Re: ESPEasy P1 Smart meter dead
Hello Grovkillen,
That's ok with me.
For now it's working for 99% in my situation.
Maybe one day I will make time to look into it. If I find a good solution I will metion it on this board.
Succes with your job.
That's ok with me.
For now it's working for 99% in my situation.
Maybe one day I will make time to look into it. If I find a good solution I will metion it on this board.
Succes with your job.
Who is online
Users browsing this forum: No registered users and 13 guests