krikk/Hiking-DDS238-2-WIFI-Din-Rail-Energy-Meter-flashing-Tasmota

Option, add a buzzer

Opened this issue · 0 comments

Connect a buzzer (3V active type) to GPIO15 and GND. Better to use a mosfet (BS170) to ensure the ESP is not overloaded.

Use this template:
{"NAME":"Hiking DDS238-2 WIFI","GPIO":[0,2272,0,2304,0,0,0,0,0,0,320,480,32,0],"FLAG":0,"BASE":54}

Configure the buzzer as needed.

Examples:
Beep when current > 20 A:

Rule3
ON energy#current>20 DO buzzer -1,3,20 ENDON
ON energy#current<20 DO buzzer 3,1,1 ENDON

Beep on wifi connect / disconnect:
Rule 4
ON Wifi#Connected DO backlog buzzer 2,1,1; ENDON
ON Wifi#Disconnected DO backlog buzzer 1,3,1; ENDON

image