logo elektroda
logo elektroda
X
logo elektroda

Zamel MEW-01 Energy Meter: Alternative Software, ESP8266 System, Supla & Local Server

15699 35
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 18485552
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • Helpful post
    #2 18485696
    xury
    Automation specialist
    Dear toto and that's why I never got interested in it. If ESP82XX is there it will definitely work on Tasmota.
    By the way, I recommend a cheaper alternative of 3 pzem-004 v3.0 and Tasmota
  • #3 18485813
    Anonymous
    Level 1  
  • Helpful post
    #4 18485837
    xury
    Automation specialist
    Yes, there is no wi-fi. The module itself communicates via UART with ESP8266. It may even be ESP-01
    I recommend version 3.0 because it works well on LVTTL and has flashing LEDs where you can immediately see if there is communication. Previous versions had to be slightly modified. So change the resistors on optocouplers.
    In addition, version 3.0 shows the frequency of the network.
    It is connected simply: rx-tx tx-rx mass and 3.3V power supply. With more PZEM-004 connected to one UART, you need to give the BAT45 diodes according to the diagram somewhere on the github. When I find it.

    The basic configuration is to paste the following line into the template configuration:
    For version 3.0 it will be:
    {"NAME": "HW-655 PZEM", "GPIO": [0.62.0.98.0.0.0.0.0.0.0.0.0], "FLAG": 0, "BASE": 1}
    Or manual selection in the configuration of the generic module in Tasmota.

    Thanks to PZEM-004T we get readings:
    Voltage, current, active, reactive, apparent power and cos phi. In addition, it counts the kilowatt hours today and total. After mqtt we send ourselves wherever we want.

    How would I help you.

    This is what it looks like. It's an older version that doesn't show the frequency.
    Zamel MEW-01 Energy Meter: Alternative Software, ESP8266 System, Supla & Local Server
  • #5 18485845
    Anonymous
    Level 1  
  • Helpful post
    #6 18485855
    xury
    Automation specialist
    Yes, that's this drawing. When the connection of many on one UART was just beginning and there were problems, I did on three separate ESP-01. It works fine now. But ESP-01 are cheap so I got used to it and I still do.
    Of important things, for the readings to be correct, the PZEM power supply must be from the same phase on which the current transformer is placed. Otherwise the indications of power and cos phi are incorrect. Obvious obviousness, but I was deeply surprised to see cos phi at 0.2.
    And this is an example of data sent to Influxdb and displayed in Grafana:
    Zamel MEW-01 Energy Meter: Alternative Software, ESP8266 System, Supla & Local Server
  • ADVERTISEMENT
  • #7 18486050
    Anonymous
    Level 1  
  • #8 18486084
    xury
    Automation specialist
    Ok, to be precise, the PZEM-004 has two power supplies. One main via AC terminals which also measures voltage and phase shift angle. The second power supply is a low-voltage power supply only for optoisolation systems.
    By making three plays side by side, we have to supply each piece from a different phase. Then we put the current transformer on the same phase as it is connected to the AC terminal. From the low voltage side, it does not matter, because it only supplies optocouplers. I power them from a common 3.3V power supply from which I power all PZEMs and ESP8266.
    Erbit wrote:
    What are you measured that the current consumption is over 9kW

    It's still a low consumption. I can't say exactly what. It is a type of agricultural activity.
  • ADVERTISEMENT
  • #9 18486140
    Anonymous
    Level 1  
  • #10 18486170
    xury
    Automation specialist
    This is a measurement of the entire device, not of a single device.
    Sample link: for example: https://pl.aliexpress.com/item/4000330658852....gle=V88&albbt=Google=V88&albbt=Google=V88&Ulf. = 6459787116 & albag = 77066918093 & trgt = 743612850714 & crea = pl4000330658852 & netw = u & device = c & gclid = Cj0KCQiAv8PyBRDMARIsAFo4wK3m0cbeIajcJBMczxWJeDA32Dzew1c6BMczxWJeBMczxWJe_BMczxWJe_BMczxWJe_A32Dzew
    Version 3 has white optocouplers. There is V3.0 on the board
    For convenience, I recommend looking for offers with openable coils.
  • #11 18486459
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • #12 18488007
    xury
    Automation specialist
    Probably yes. When browsing Ali it's now rare to come across older versions.
  • #13 18488371
    Anonymous
    Level 1  
  • #14 18488468
    xury
    Automation specialist
    Also remember to connect three PZEM-004 to one UART, you must first connect each one separately and set each other address. Only when each of them has its own address can they be fastened together.
  • #15 18488530
    Anonymous
    Level 1  
  • #16 18580755
    Anonymous
    Level 1  
  • #17 18581666
    xury
    Automation specialist
    I am glad that it worked.
    Regards.
  • #18 18594775
    pawel5870
    Level 12  
    Erbit can you share the tape configuration for 3x pzem?
  • #19 18595360
    Anonymous
    Level 1  
  • #20 18641185
    easypl12
    Level 12  
    Hello colleagues, I am connecting to the thread because I am looking for a 3f meter with a function that distinguishes between energy fed into the grid and consumed energy.
    Zamel MEW supposedly meets this, but is quite expensive.
    I am looking for a ready-made solution that will fit in the board in place of 3 phase control bulbs.
    It is best if it is already in a suitable housing for installation in a switchboard.
  • #21 18679707
    Anonymous
    Level 1  
  • #22 19013256
    Emi_B
    Level 9  
    Erbit wrote:
    easypl12 wrote:
    Hello colleagues, I am connecting to the thread because I am looking for a 3f meter with a function that distinguishes between energy fed into the grid and consumed energy.
    Zamel MEW supposedly meets this, but is quite expensive.
    I am looking for a ready-made solution that will fit in the board in place of 3 phase control bulbs.
    It is best if it is already in a suitable housing for installation in a switchboard.


    I don't think that with such requirements you will find anything other than Zamel MEW. Besides, even if you don't count on paying half as much as for Zamel MEW. I was assembling with 3 * pzem-004, Wemos, some cables, external antenna, without housing and not fitting the rail, I "paid" less than PLN 200 and I had to put it all together and program it myself.


    It will find, but it will not be cheap: SHELLY 3EM.


    -
    Emilia
  • #23 19013265
    Anonymous
    Level 1  
  • #24 19530918
    JackRze
    Level 8  
    maybe you can help me - I installed a meter for the heat pump - Zamel LEM-40. of course, according to the instructions - an electrician did it. after the first day, nothing has changed on the numerator - it was 0.09 and it is still so. The PC was working during the day and heated the water in the boiler. what caught my eye is the LEDs L1 and L2 under the display and 1000 imp / kWh, and L3 is off. Does this mean that the meter is defective?
  • #25 19975997
    Sibi
    Level 12  
    The price does not scare me, but I would like to have everything integrated uniformly in my HA, not in someone else's clouds.

    Besides - I want to track more than one connection and one load to visualize energy flows nicely (and then the division into apartments)

    So, questions for the more experienced:
    1) My guess is that this PZEM-004 v3 does not have the ability to measure energy in two directions? Because looking briefly at the communication protocol - I do not see this parameter (energy direction) anywhere - but maybe I am wrong?

    2) If not PZEM, what else could be integrated with ESP / ESP32 to measure 1 or 3 phases in two directions?

    3) Is there any soft alternative for this MEW-01?
    4) Do I only have ShellyPM3?
    Helpful post? Buy me a coffee.
  • #26 19976179
    kood
    CCTV and Stationary Alarms specialist
    I use MEW-01 in HA via Supli server, but from what I remember, when configuring MEW01 it was possible to choose the operating mode, either by Supli server, or without Supli server after MQTT.

    I haven't tested so I can't write if and how it works without Supli server.
  • #27 19976672
    xury
    Automation specialist
    And it works beautifully locally. I've had it installed for about two weeks. Measurements are in line with the PGE meter. It integrates very nicely with HA. You practically do not need to do anything.
  • #28 20224903
    Daro1003
    Level 33  
    Gentlemen, I put it on NodeMcu and Tasmota - the older version 8.2.0 because I saw that in your higher posts it works like that. And it also works:
    Zamel MEW-01 Energy Meter: Alternative Software, ESP8266 System, Supla & Local Server

    I have integrated with Domoticz via Autodiscovery of Tasmota Devices and no voltage indications only power indications:
    Zamel MEW-01 Energy Meter: Alternative Software, ESP8266 System, Supla & Local Server

    What is wrong ? I also tried version 10.0 and also the same.
    If I give IDX in the Domoticz settings in Tasmota, the voltage will fly, but only there is a loss in these settings for one phase.
  • #29 20225899
    xury
    Automation specialist
    With Domoticz it is rather through Nodered and MQTT. Domoticz's service in Tasmota comes down to a few basic things. It is not Tasmota's fault, but only meager support for MQTT in Domoticz.
  • #30 20226215
    Daro1003
    Level 33  
    Write something more about this Nodered because I do not know the topic at all, is it some domoticza plug or something ??

    Failure, I wanted to monitor my tensions, and here is such a lame. I think that 3 x ESP8266 will be assembled and one PZEM will then send voltage to each one, but again it will not add up the energy used.

Topic summary

The Zamel MEW-01 energy meter is believed to be based on an ESP8266 system, allowing potential for alternative firmware such as Tasmota. However, direct Wi-Fi is not present in some related modules; communication often occurs via UART between PZEM-004 energy meters and ESP8266 (e.g., ESP-01). The PZEM-004 v3.0 version is recommended due to improved LVTTL compatibility, flashing LEDs for communication status, and network frequency display. Multiple PZEM-004 units can be connected to a single UART with proper addressing and diode arrangements (e.g., BAT43 diodes) to avoid conflicts. Power supply phase alignment between the current transformer and PZEM voltage input is critical for accurate power and power factor measurements. Integration with home automation systems like Home Assistant (HA) is feasible, often via MQTT and local servers such as Supla, which supports operation with or without its cloud server. Local MQTT setups and custom daemons can facilitate data collection and integration with platforms like Domoticz, often enhanced by Node-RED for MQTT message parsing and automation. Alternative energy meters with bidirectional measurement capabilities include SHELLY 3EM and setups using multiple PZEM-004 modules with ESP devices, though these may lack compact form factors or require custom assembly and programming. The MEW-01 supports bidirectional energy measurement and can be configured for local server use, but alternative software options are limited. Users seek smaller-sized meters for distribution boards, but factory models like MEW-01 are relatively large. Overall, the discussion highlights the trade-offs between ready-made solutions like MEW-01 and DIY alternatives using PZEM-004 with ESP8266 and Tasmota firmware for flexible, local, and integrated energy monitoring.
Summary generated by the language model.
ADVERTISEMENT