Search found 21 matches

by aleph0
13 Jul 2018, 18:18
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 251
Views: 139440

Re: Support for PZEM 004T Energy monitor

Do you think its related to software library of arduino ? or TTL 5V to 3.3V Converter issue ? I don't think so as the 2 pzem are connected on the same module, so same software library ; I also don't use any converters and connected 5V to GPIO directly. This is not conventional but I wanted to make ...
by aleph0
13 Jul 2018, 12:21
Forum: ESP Easy: Projects / Applications
Topic: Flowmeter FS300A on Wemos D1 Mini, How to calculate?
Replies: 3
Views: 1787

Re: Flowmeter FS300A on Wemos D1 Mini, How to calculate?

Hi ! My experience with those flow-meters is the documentation is never right (or I never found the right documentation !!) ! So I always calibrate them after the espeasy setup is operational : I send 10 or 20 litres though the flow-meter with a funnel, making sure to send them quick enough as they ...
by aleph0
13 Jul 2018, 08:55
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 251
Views: 139440

Re: Support for PZEM 004T Energy monitor

I have two pzem connected to my wemos ; I've also got this problem on one of them :-( I never understood what was the cause, I simply ignore wrong reading in domoticz. Not very satisfying, but enough for my purpose
by aleph0
07 Jun 2018, 14:13
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 251
Views: 139440

Re: Support for PZEM 004T Energy monitor

Yes... but I stopped at 2 modules because I didn't like the solution I programmed... I need to work again on this subject ;-)
by aleph0
22 Jan 2018, 05:22
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 251
Views: 139440

Re: Support for PZEM 004T Energy monitor

Yes, it's not that surprising : once in a while a value is not coming, triggering the timeout (1s each) and the retry (3 times). It's been reported the quality of 5v supply have an influence on this. If you want to be able to poll faster, you need to edit the source code to shorten the timeout and n...
by aleph0
19 Jan 2018, 17:14
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 251
Views: 139440

Re: Support for PZEM 004T Energy monitor

@asking

When everything goes well, one module answer within 1s. But if you poll faster than 12s/module, your espeasy will crash in case of no measurment voltage.
And, of course I tested the bin file, I uploaded the one I'm using here, it's been up for 50 days now and doing the job fine :-)
by aleph0
13 Jan 2018, 21:56
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 251
Views: 139440

Re: Support for PZEM 004T Energy monitor

lolo wrote: 12 Jan 2018, 19:11 I am using the aleph0 system, working perfectly
Thanks :)
by aleph0
13 Jan 2018, 21:55
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 251
Views: 139440

Re: Support for PZEM 004T Energy monitor

hello no chance for me i tried but still 0... i tried to plug to D5 and D6 on the wemos D& mini and also D3 and D4 but still the same ... swap RX and TX done too Voltage (V):233 Current (A): 0 Power (W): 0 Energy (Wh):45 any help please ? As you get voltage value, it means the module communicates w...
by aleph0
14 Dec 2017, 16:38
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 251
Views: 139440

Re: Support for PZEM 004T Energy monitor

I think have something wrong.. Give me values -1 https://extraimage.co/images/2017/12/12/espeasy.jpg my connections are: https://extraimage.co/images/2017/12/12/connectionsd2f7e32bd45935ec.png thanks for help :D You have inverted the pins on the white connector. Look carefully on the PCB, the pins ...
by aleph0
12 Dec 2017, 20:18
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 251
Views: 139440

Re: Support for PZEM 004T Energy monitor

@ruben : yes, I connected them directly without resistor to a wemos d1 mini. Pzem is powered with 5v, I read somewhere the wemos can handle 5v on the gpio pins, I wanted to test. So far it's working fine, but it's only ~20 days of continuous power up. We will see if it last :-) @gajotnt : I'll try t...
by aleph0
09 Dec 2017, 22:32
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 251
Views: 139440

Re: Support for PZEM 004T Energy monitor

Hi All ! Here is the link to topic on the domoticz forum on how to retreive the pzem values : https://www.domoticz.com/forum/viewtopic.php?f=14&t=20820 Please note that in that post, I updated the domoticz script compared to the one I posted here previously to fix a few bugs, and for more accurate m...
by aleph0
07 Dec 2017, 10:32
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 251
Views: 139440

Re: Support for PZEM 004T Energy monitor

I can understand :). This issue is now purely related to domoticz and not espeasy. So far, espeasy is doing the job correctly :) If it's ok for you all, I'll open a thread on the domoticz forum and upload a detailed tutorial over there. It'll be this week-end as I have no time for this during the we...
by aleph0
07 Dec 2017, 07:20
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 251
Views: 139440

Re: Support for PZEM 004T Energy monitor

Hi! Regarding domoticz code, you have two choices : - either you copy it in the domoticz/script/lua folder with a name ending by _device.lua eg pzem_device.lua - either you go to the tools menu->more-> events, create a new "lua" "device" script named as you want and replace the default content by th...
by aleph0
06 Dec 2017, 13:18
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 251
Views: 139440

Re: Support for PZEM 004T Energy monitor

F-rank wrote: 05 Dec 2017, 22:16 Now, I can add the pzem to Domoticz without problems, only one value is displayed.. The voltage. Other then that, nothing shows.
Have a look here for a workaround viewtopic.php?p=20595#p20595
by aleph0
06 Dec 2017, 13:15
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 251
Views: 139440

Re: Support for PZEM 004T Energy monitor

Hello aleph0, could you put the compiled firmware with the plugin PZET-004? Please find attached the version for 4Gb flash with all the "Testing" plugins enabled, including the PZEM-004T with my last modifications to handle two modules. Use "port" to select the module : port 0 for first module and ...
by aleph0
19 Nov 2017, 18:13
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 251
Views: 139440

Re: Support for PZEM 004T Energy monitor

Hi all, here is a fix for the problem of parameters being taken into account only at boot. Now things can be changed on the fly by re-doing initialisation at every "submit" of the form : //####################################################################################################### //#####...
by aleph0
14 Nov 2017, 21:56
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 251
Views: 139440

Re: Support for PZEM 004T Energy monitor

papperone wrote: 08 Nov 2017, 12:30 at the moment the plugin is not build to allow multiple sensors connected to single ESP8266; no having more than one I can't test it :(
Could you give me some hints of what should be done to allow that ? I'd try to implement it and contribute back as I can test it ;)
by aleph0
08 Nov 2017, 10:27
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 251
Views: 139440

Re: Support for PZEM 004T Energy monitor

but how to add those values to Domoticz? if selected Dummy - Electric - only voltage I didn't find a clean way to get the values, but a workaroud : In domoticz I defined a dummy of type "3 phase Ampers" and I gave the idx of it to pzem plugin in espeasy. Then I used the following code in domoticz t...
by aleph0
08 Nov 2017, 10:13
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 251
Views: 139440

Re: Support for PZEM 004T Energy monitor

Some remarks/comments about the plugin itself : - RX and TX indications on the device page are somewhat confusing as there are referring to the pins on the esp side , so they have to be reversed compared to the pzem side. I changed the text in the version below to make it clearer - I added some more...
by aleph0
08 Nov 2017, 10:03
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 251
Views: 139440

Re: Support for PZEM 004T Energy monitor

Hi, and thanks for making this nice plugin ! As I had to do some searching to finally compile and install it, here is a all-in-one summary of what needs to be done : 1/ Install and configure platform.io according to the instructions here : https://www.letscontrolit.com/wiki/index.php/Tutorial_Instal...
by aleph0
08 Nov 2017, 09:36
Forum: Introduce yourself
Topic: Hello from south of france
Replies: 1
Views: 1103

Hello from south of france

Hi guys ! I've discovered ESPEasy a few month ago and I'm really amazed by it ! Thanks you guys for releasing such a nice firmware, making DIY smart objects so easy to build :) I've been using it to build a smart watering of the garden, to manage the swimming pool (both filtration, pH and chlorine r...