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
-
- Posts: 1482
- Joined: Wed Jun 27, 2018 5:48 pm
- Location: El Saucejo - Sevilla
You do not have the required permissions to view the files attached to this post.
-
- Posts: 9413
- Joined: Thu Jun 27, 2019 12:16 pm
- Location: Wrocław
Nice
I'll try to add energy meter channel for you!
I'll try to add energy meter channel for you!
Kiedy będzie Supla Offline Party / SOP#2025 ?
-
- Posts: 1482
- Joined: Wed Jun 27, 2018 5:48 pm
- Location: El Saucejo - Sevilla
-
- Posts: 2326
- Joined: Sun Sep 03, 2017 9:13 am
- Location: Koszalin
Elemaya ist The Best!
...energy meter in Arduino ...yeeeee!!
jak coś nie działa to włącz zasilanie.....
-
- Posts: 4236
- Joined: Sat Dec 22, 2018 8:55 pm
- Location: Zielona Góra
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
-
- Posts: 1482
- Joined: Wed Jun 27, 2018 5:48 pm
- Location: El Saucejo - Sevilla
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
-
- Posts: 19039
- Joined: Tue Jan 19, 2016 9:26 am
- Location: Paczków
Everything OK but it should work as SUPLA_CHANNELTYPE_ELECTRICITY_METER
-
- Posts: 2326
- Joined: Sun Sep 03, 2017 9:13 am
- Location: Koszalin
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.....
-
- Posts: 40
- Joined: Fri Apr 26, 2019 11:34 am
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