Eternal pool probe wifth Wemos D1 ESP8266 & solar power

Moderator: leecollings

Post Reply
User avatar
dyter
Posts: 42
Joined: Thursday 08 February 2018 15:48
Target OS: NAS (Synology & others)
Domoticz version: 8841
Location: Lyon
Contact:

Eternal pool probe wifth Wemos D1 ESP8266 & solar power

Post by dyter »

I realized an eternal pool probe for measure PH and Temp, the Wemos is connected in parallel with the battery on the 5V input

Image

The regulation is done thanks to the rules of ESPEasy without the need of electronic regulator, if the battery voltage becomes under 4.1V, the ESP goes to sleep every 30 minutes, else the permanent consumption of the wifi prevents the battery to not exceed 4.1V (propertional to the dimensioning of the solar panel):

"on System#Boot do
timerSet,1,30
endon

On Rules#Timer=1 Do
if [Battery#Volts]<4.1
deepSleep,1800
endif
timerSet,1,300
endon"

This need a voltage divider bridge on TOUT input of Wemos for measure the voltage battery input named "Battery" and "Volts" for the unit case:

Image
Domoticz v2024.1 on Synology Docker host, RFLink, ESPEasy wemos D1, Ecodevices, relays x8, dahua doorbell, reolink cameras ....
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest