Search found 45 matches
- 27 Oct 2023, 08:37
- Forum: ESP Easy: Software
- Topic: No wifi AP with custom build
- Replies: 6
- Views: 8257
Re: No wifi AP with custom build
Once again, on the 2nd ESP, after uploading a blank bin + upload my custom files, the esp only activated STA. wifidisconnect command had no positive effect. Now that I learn it was possible to send command with serial interface, I try with allowapmode command, Then it started AT mode and I succeeded...
- 26 Oct 2023, 22:17
- Forum: ESP Easy: Software
- Topic: No wifi AP with custom build
- Replies: 6
- Views: 8257
Re: No wifi AP with custom build
Feedback of my tentatives by chronology: 1) Load a blank bin => After uploading a custom fw without my own wifi credential, it doesn't start the AP (anormal behavior) 2) Enter your 3 command in the terminal (1 by 1), the STA restart and connect to my wifi (normal behavior) 3) Load a blank bin => Aft...
- 26 Oct 2023, 11:47
- Forum: ESP Easy: Software
- Topic: No wifi AP with custom build
- Replies: 6
- Views: 8257
Re: No wifi AP with custom build
If I don't erase flash (thus I keep previous Wifi parameter of my own wifi network in the flash when I uploaded the Normal firmware), then it works correctly (it connect to wifi STA with my home ssid). I made the test on 2 esp8266 (wemos mini D1 board) => same issue on both, no AP after full erase. ...
- 26 Oct 2023, 09:32
- Forum: ESP Easy: Software
- Topic: No wifi AP with custom build
- Replies: 6
- Views: 8257
No wifi AP with custom build
Hello, I start from the beginning with platformio: 1st, I erase flash and I follow instructions in Custom-sample.h: 1) rename this file to "Custom.h" (It is ignored by Git) 2) define your own settings below : only define some plugin (USES_P001) and controller (USES_C008) 3) define USE_CUST...
- 09 Oct 2023, 09:11
- Forum: ESP Easy: Software
- Topic: Rules: "if %ssid% = my_ssid" doesn't works ?
- Replies: 2
- Views: 4531
Re: Rules: "if %ssid% = my_ssid" doesn't works ?
Thanks Ath, I think it will answer to my request. I will try this solution asap
- 09 Oct 2023, 07:36
- Forum: ESP Easy: Software
- Topic: Rules: "if %ssid% = my_ssid" doesn't works ?
- Replies: 2
- Views: 4531
Rules: "if %ssid% = my_ssid" doesn't works ?
Hello,
I try to check on which wifi SSID I'm connected but it seems that rule doesn't work. Any idea to check that?
djelau
I try to check on which wifi SSID I'm connected but it seems that rule doesn't work. Any idea to check that?
Code: Select all
on WiFi#Connected do
if %ssid% = my_ssid
GPIO,1,0
endif
endon
- 18 Feb 2022, 12:28
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
I check on my side, and it seems you are right !: I reset energy, and wait 1h at about 2000W => Energy=1.907.mihai.icey.ro wrote: ↑18 Feb 2022, 09:05 hat I could see that it sends kwh even if the value is below 10kwh
I verify my code but no specific calculation on my side to convert Wh into kWh. So it's on PZEM side.
- 17 Feb 2022, 19:38
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
strange, according to PZEM spec, the value should be 6700Wh.
- 15 Feb 2022, 23:46
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
1. It should be on L (but no consequence) 3. Apparent power is U*I. But here, it's active power thus U*I*cos(phy). Among value in the plugin, you can get the power factor cos(phy). Here, your power factor is 0.8. This is a normal value for a server and switch which should be supply vwith a AC/DC sup...
- 14 Feb 2022, 10:22
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
- 13 Feb 2022, 22:11
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
@mojso
Supply PZEM with 5V directly (as your first schematic. No 1k requested). But don't use D3 and D4 for communication because these pin can prevent ESP to boot. D1,D2 can be used in place.
Supply PZEM with 5V directly (as your first schematic. No 1k requested). But don't use D3 and D4 for communication because these pin can prevent ESP to boot. D1,D2 can be used in place.
- 13 Feb 2022, 12:12
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
About energy unit: < 10 kWh, unit is Wh (1 kWh= 1000 Wh), such as : 9999 Wh. 10 kWh and more,unit is kWh, such as : 9999,99 kWh So if your pzem is running for a long time, then the unit is kWh. 1. What type of current probe do you use ? If open one, be sure that it is stongly closed around a single ...
- 12 Feb 2022, 20:52
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
Hello Energy_WH is the total power consumption since the PZEM is first powered (it is power loss tolerant). So each day, the Energy_WH value is higher than previous day. So Day1 consumption =Day2 @ 00h00 - Day1 @ 00h00 Or you can reset the Energy_WH value at the begining of each day and then get the...
- 07 Feb 2022, 12:07
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
2) On ESP8266 it is possible to use multiple PZEM-004T (with "Software Serial)" by first - programming a unique address to each device. Note: one only device must be connected to the serial bus at that time. Yes this is exatcly like that. To configure the adress, only one PZEM should be c...
- 12 Oct 2020, 23:52
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
Please help me connect the PZEM-017 to EspEasy. I don't think you will have lot of answers in this topic for PZEM 004T. Better way would be to open a new topic about PZEM017. About directory organization, for PZEM004Tv30.cpp and PZEM004Tv30.h, I create a new directory in \lib\PZEM-004T-v30 For the ...
- 14 Sep 2020, 17:21
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
lease tell me how you can integrate the library Hi, I would say: - Download the source code from official repository here - Download PZEM004Tv30.cpp and _P251_PZEM004Tv3.ino in my fork here - In PZEM004Tv30.cpp and _P251_PZEM004Tv3.ino, change library PZEM004Tv30.h by pzem-017 library - Integrate t...
- 05 Sep 2020, 22:20
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
Is it based on different source code compared to what is in the main repository I add the PZEM code and the associated libraries. And I modify define_plugin_sets.h in order to add my plugin and activate the AM2320 plugin. Otherwise, initial source code hasn't been modified. What do you call differe...
- 05 Sep 2020, 11:53
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
Hi,
I compile this version with AM2320: I don't test it, I only connect to the Wemos and check devices are available (PZEM and AM2320)
I compile this version with AM2320: I don't test it, I only connect to the Wemos and check devices are available (PZEM and AM2320)
- 24 Aug 2020, 11:49
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
Would you recommend that or can I drive the D1 mini with 5V to the GPIO Pins without having fear to burn it? For professional application (I'm electronic engineer), I would say that it is forbidden. The D1 datasheet says max input voltage 3V3. And we always apply some margin to improve reliability....
- 14 Aug 2020, 21:32
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
Hello ice77, It's ok to set 10sec polling to all of them. Each instance of slave are executed sequentially (not simultaneaously). I don't test with 6PZEM but it should work: Eventually you can supply PZEM by using the 5V from the AC/DC of wall plug rather than the one from wemos. Just connect gnd al...
- 10 Jul 2020, 11:16
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
- 09 Jul 2020, 20:52
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
If displayed current is 0A then data are sent correctly. Otherwise, you will have NAN. (and power would be NAN if no communication)
With current =0A, power=0, it's normal.
So a photo of your overall wiring setup will be helpful.
- 09 Jul 2020, 15:25
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
I don't know why, but GPIO01 and GPI03 don't work :roll: It should work but in your initial set up, you should select SW serial rather than HW serial and set GPIO <- TX as GPIO-1 and GPIO->RX as GPIO-3 How can I check that coils works normally? What kind of load do you connect ? For your info, coil...
- 06 Jul 2020, 18:10
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
Can you please give advise what I do wrong? I think you cumulate all the errors that I solve previously: - Avoid Node MCU because voltage level are 3V3 whereas PZEM expects 5V. It could work but it's not sure - Avoid HW serial - RX and TX are inverted to work with HW serial - Deactivate serial comm...
- 02 Jul 2020, 10:03
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
For PZEM v3, have a look to this post:
viewtopic.php?p=41093#p41093
I advice not to use NodeMCU because voltage level are 3v3 whereas PZEM expects 5V. Try a Wemos.
viewtopic.php?p=41093#p41093
I advice not to use NodeMCU because voltage level are 3v3 whereas PZEM expects 5V. Try a Wemos.
- 01 Jul 2020, 23:55
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
Hello,
You connect a PZEM 004T v3 but the plugin that you use is not the one that I create for v3: PZEM-004Tv30-Multiple. So I can't help you.
You connect a PZEM 004T v3 but the plugin that you use is not the one that I create for v3: PZEM-004Tv30-Multiple. So I can't help you.
- 02 May 2020, 14:15
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
What does CT mean ?
However, your PZEM is a v1.0 not a v30 because optocoupler are black and not white. So not use the plugin for PZEMv30 is not compatbile with your PZEM.
However, your PZEM is a v1.0 not a v30 because optocoupler are black and not white. So not use the plugin for PZEMv30 is not compatbile with your PZEM.
- 01 Apr 2020, 16:33
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
Hello Marco,
OK I'll try to add Blynk controller (C012). This is what you want ?
For 4Mb ?
Update:
I don't test it !
OK I'll try to add Blynk controller (C012). This is what you want ?
For 4Mb ?
Update:
I don't test it !
- 11 Mar 2020, 07:55
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
Strange behavior...
Perhaps you can copy the value to a dummy device and then send this dummy value to your controller.
Perhaps you can copy the value to a dummy device and then send this dummy value to your controller.
- 06 Mar 2020, 21:46
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
I need to uplug tx and rx cable during the sketch upload, and ok, but with the rx and tx connected the ESP is hung and no values are published because it cannot connect to the pzem As already repeated: it's really not mandatory to use RX/TX pin of your WEMOS/nodeMCU => Any pin can be used with the ...
- 29 Feb 2020, 09:43
- Forum: ESP Easy: General Discussion
- Topic: Stability problem
- Replies: 11
- Views: 12463
Re: Stability problem
Hello,
do you check if the power supply is sufficient to supply everything? Isn't it a reset of the espeasy due to weak power supply ?
If you try to drive a simple LED, does it work correctly ?
Do you have free wheeling diodes ?
Same than Wiki, never have such behavior with my wemos.
do you check if the power supply is sufficient to supply everything? Isn't it a reset of the espeasy due to weak power supply ?
If you try to drive a simple LED, does it work correctly ?
Do you have free wheeling diodes ?
Same than Wiki, never have such behavior with my wemos.
- 18 Feb 2020, 23:36
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
But it does not work DS18B20 It works on the original firmware I perform some test without problem on "ESP_Easy_mega-20191003_PZEM_core_ESP8266_4M1M.bin": I'm able to have DS18B20 and 2 PZEM on the same Wemos. My PZEM are connected with software serial on D1/D2 pin / Refresh 2s and 6s. DS...
- 18 Feb 2020, 23:20
- Forum: ESP Easy: Software
- Topic: "Git Build" field is empty:where to fill it ?
- Replies: 1
- Views: 6772
"Git Build" field is empty:where to fill it ?
Hello everybody,
on my custom firmware, based on 20200204, I would like to write something in the field "Git Build" of system info. What should I modify in source code to do that ?
thx
on my custom firmware, based on 20200204, I would like to write something in the field "Git Build" of system info. What should I modify in source code to do that ?
thx
- 18 Feb 2020, 13:36
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
Hello, i install the firmware pzem-004 v30 multiple, but only use one pzem, the problem is that the energy shown on espeasy is not correct. I tested on 1 PZEM with sucess. What do you mean by not correct ? Stucked? alway 0? Have in mind that the vealue is in kWh thus I could take a couple of hours ...
- 18 Feb 2020, 12:52
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
NodeMcu + PZEM-004Tv30 (2pcs), works fine I requested "ESP_Easy_mega-20191003_PZEM_core_ESP8266_4M1M.bin" But it does not work DS18B20 It works on the original firmware I don't test this configuration. Normally, plugins are independant so my plugin shouldn't have any impact on the DS18B20...
- 06 Feb 2020, 16:43
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
So, you have your answer about the connection of phase and neutral: do the opposite of me and it will work (I am from France).
- 06 Feb 2020, 09:15
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
There is no wrong way as it is AC. It can be connected in any direction. What is also confusing is the choice of colours. Here in the UK we use 'brown' as 'live' and 'blue' as 'neutral' (no red wires at all) - but maybe in China it's different ?? And about wires color, neutral shall be blue. Line ca...
- 05 Feb 2020, 16:07
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
I don't have clear answer about how to connect L and N. But I made so many test when I developped the plugin without taking care of the direction of L/N. And I never noticed that the measurements was negative (cos phi or current). Thus I can deduce that PZEM internal component detects the direction ...
- 03 Feb 2020, 08:32
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
- 03 Feb 2020, 08:14
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
Hello everyone, Something to clarify for everyone: it's really not mandatory to use RX/TX pin of your WEMOS/nodeMCU => Any pin can be used with the solution of "software serial". Then, if you have trouble, first try to change for other pins. As an example, for my 5 PZEM on a WEMOS, here is...
- 22 Jan 2020, 22:59
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
Hi, First I update my code since last month. Updated files are https://www.letscontrolit.com/forum/viewtopic.php?f=5&t=2595&start=100#p41093 . Perhaps it can help. Sources are now https://github.com/djelau/ESPEasyPluginPlayground Otherwise, you use GPIO1 as TX and GPIO3 as RX. I said "d...
- 20 Jan 2020, 13:55
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
I don't know about domoticz, because I use Jeedom. But what I know is in Espeasy, it's not possible to have more than 4 data in a pluggin. To bypass this, you can create a second occurence of this plugin with the same PZEM address than the first occurence. In this second occurence, you can select th...
- 01 Dec 2019, 21:17
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
I try to do something in "Pull requests" of ESPEasyPluginPlayground. Don't know if I'm in right way ...
- 01 Dec 2019, 00:04
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
Why not. But unfortunately, I ve no knowlege about how to work with github! As said I'm a beginner.
- 30 Nov 2019, 23:05
- Forum: ESP Easy: Hardware
- Topic: Support for PZEM 004T Energy monitor
- Replies: 309
- Views: 9602985
Re: Support for PZEM 004T Energy monitor
Hi guys, This is my first post, so keep cool. I'm a great fan of ESPeasy; So I try to contribute with this code for PZEM004Tv30. I'm not a software expert so please be tolerant with me. Hardware part: PZEM004Tv30 can be wired in parallel without any aditionnal component: simply connect RX of PZEM to...