supla PZEM004 v2

elmaya
Posts: 1482
Joined: Wed Jun 27, 2018 5:48 pm
Location: El Saucejo - Sevilla

Post

PZEM004 v2 based on SoftVer 2.3.0. (Supla Arduino develop) By klew.

using the pulse counter channel for the energy meter and a temperature and humidity channel for voltage and wattage.
It is not an ideal solution but waiting for the implementation of energy meter can be a temporary solution.

Image
Image

Gpio 5 // D1 RX connect to TX of PZEM
Gpio 4 // D2 TX connect to RX of PZEM
Gpio 0 // D3 wisiconfig


To access the Wi-Fi configuration, press Gpio 0 for at least 5 seconds.
in the configuration page enter the data for "suplaServer, Email and Supla Device Name (name with which it will be seen in the cloud)"
added read-only field for Supla Last State to wificonfig.
wificonfig.png
Supla_PZEM004_V2_DOUT_16Mbit.rar
You do not have the required permissions to view the files attached to this post.
User avatar
klew
Posts: 9413
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław

Post

Nice :)

I'll try to add energy meter channel for you! :)
Kiedy będzie Supla Offline Party / SOP#2025 ?
elmaya
Posts: 1482
Joined: Wed Jun 27, 2018 5:48 pm
Location: El Saucejo - Sevilla

Post

klew wrote: Wed Dec 11, 2019 1:07 pm Nice :)

I'll try to add energy meter channel for you! :)
thank you very much.
You are doing a very good job with the new library and if you add energy meter there will be many grateful people.
PioKar
Posts: 411
Joined: Thu May 03, 2018 5:56 am

Post

Super.
User avatar
QLQ
Posts: 2326
Joined: Sun Sep 03, 2017 9:13 am
Location: Koszalin

Post

elmaya wrote: Wed Dec 11, 2019 1:47 pm
klew wrote: Wed Dec 11, 2019 1:07 pm Nice :)

I'll try to add energy meter channel for you! :)
thank you very much.
You are doing a very good job with the new library and if you add energy meter there will be many grateful people.
Elemaya ist The Best! 😁
...energy meter in Arduino ...yeeeee!!
jak coś nie działa to włącz zasilanie.....
User avatar
Robert Błaszczak
Posts: 4236
Joined: Sat Dec 22, 2018 8:55 pm
Location: Zielona Góra

Post

Let's not forget about the great work of a colleague @klew :D
Pozdrawiam
Robert Błaszczak


Moja prywatna strona: www.blaszczak.pl
elmaya
Posts: 1482
Joined: Wed Jun 27, 2018 5:48 pm
Location: El Saucejo - Sevilla

Post

Robert Błaszczak wrote: Thu Dec 12, 2019 4:02 pm Let's not forget about the great work of a colleague @klew :D
Exactly the whole merit is for Klew.
User avatar
pzygmunt
Posts: 19039
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków

Post

Everything OK but it should work as SUPLA_CHANNELTYPE_ELECTRICITY_METER
User avatar
QLQ
Posts: 2326
Joined: Sun Sep 03, 2017 9:13 am
Location: Koszalin

Post

Robert Błaszczak wrote: Thu Dec 12, 2019 4:02 pm Let's not forget about the great work of a colleague @klew :D
yes, yes of course I am so sorry my fault. colleague @klew does a great job here and thanks to him we have a new library SuplaDevice under Arduino and thanks to him new softs are created. a big bow to him for his work
jak coś nie działa to włącz zasilanie.....
Darkman
Posts: 40
Joined: Fri Apr 26, 2019 11:34 am

Post

Could you give source code in Arduino IDE for compile to another socket - SmartDGM DSG-W162
oSuplowane:
11x MiniTiger RF 2gang -N [czekają kolejne sztuki]
3x MiniTiger RF 1gang -N
1x Sonoff Touch 1gang +N
3x SmartDGM DSG-W162 gn. z pomiarem
2x GreenBlue GB155 gn.
1x MediaTech MT3105 gn.
1x Lanberg SM01-WP10 gn.
2x Yunshan
1x Geekcreit 4ch

Return to “Ideas and concepts”