vortigont / espem

Energy monitor with dashboard/metrics collector based on ESP32 controller and PeaceFair PZEM-004T/PZEM-004Tv30 Power Meter
GNU General Public License v3.0
61 stars 16 forks source link

multiple PZEM - 3phase #10

Open DavidAntonin opened 2 years ago

DavidAntonin commented 2 years ago

Hello, can you add support for multiple PZEM-004T modules? I would like to have full monitor of 3 phases of my house. Thank you

vortigont commented 2 years ago

Hi @DavidAntonin, actually this feature is in my short-term list! I have 3-phase line in my new apparts, so I'm gonna need this feature by the time I move in. Not sure that I would be able to support old PZEM's, seems it's already out of sale now and I have only one of those. But I've already acquired 3 new pzem 004t-v3 modules and tested multiple access via modbus - it works pretty fine. So I would definitely work on 3 phase setup this fall. Keep in touch!

DavidAntonin commented 2 years ago

Thank you for your fast and positive answear. Yes, I have a pzem 004t-v3. I am looking forward.

vortigont commented 2 years ago

a new library is available, designed to run multiple PZEM devices on the same bus. A prerequisite for 3-phase ESPEM rework. @DavidAntonin you might wanna test this.