Eternal pool probe wifth Wemos D1 ESP8266 & solar power

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

Eternal pool probe wifth Wemos D1 ESP8266 & solar power

Post by dyter » Saturday 08 December 2018 18:43

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

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests