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.
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.
supla PZEM004 v2
Elemaya ist The Best!
...energy meter in Arduino ...yeeeee!!
jak coś nie działa to włącz zasilanie.....
- Robert Błaszczak
- Posts: 3970
- Joined: Sat Dec 22, 2018 8:55 pm
- Location: Zielona Góra
- Contact:
Let's not forget about the great work of a colleague @klew
Pozdrawiam
Robert Błaszczak
Moja prywatna strona: www.blaszczak.pl
Robert Błaszczak
Moja prywatna strona: www.blaszczak.pl
Exactly the whole merit is for Klew.Robert Błaszczak wrote: ↑Thu Dec 12, 2019 4:02 pm Let's not forget about the great work of a colleague @klew
Everything OK but it should work as SUPLA_CHANNELTYPE_ELECTRICITY_METER
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 workRobert Błaszczak wrote: ↑Thu Dec 12, 2019 4:02 pm Let's not forget about the great work of a colleague @klew
jak coś nie działa to włącz zasilanie.....
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
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