{"id":373,"date":"2020-03-28T07:18:42","date_gmt":"2020-03-28T07:18:42","guid":{"rendered":"http:\/\/jeedom.sigalou-domotique.fr\/pompe-jardin-et-arrosage-sonoff-4ch-pro-et-esp-easy"},"modified":"2026-01-04T20:57:16","modified_gmt":"2026-01-04T18:57:16","slug":"pompe-jardin-et-arrosage-sonoff-4ch-pro-et-esp-easy","status":"publish","type":"post","link":"https:\/\/www.sigalou-domotique.fr\/en\/pompe-jardin-et-arrosage-sonoff-4ch-pro-et-esp-easy","title":{"rendered":"Pump Garden and Watering Sonoff 4CH Pro and ESP Easy"},"content":{"rendered":"<h1>Objectives<\/h1>\n<ul>\n<li><strong>Order 4 solenoid valves (3 watering zones + 1 pool filling)<\/strong><\/li>\n<li><strong>Detect water shortage through a float in the water tank<\/strong><\/li>\n<li><strong>Check temperature and humidity (especially outside humidity to see if it rained)<\/strong><\/li>\n<\/ul>\n<p><!--more--><\/p>\n<h2>Schematic diagram of the installation<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-354\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/plan_Pompe_Arrosage-scaled.jpg\" alt=\"Plan Pump Watering\" width=\"2560\" height=\"1809\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/plan_Pompe_Arrosage-scaled.jpg 2560w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/plan_Pompe_Arrosage-scaled-600x424.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/plan_Pompe_Arrosage-300x212.jpg 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/plan_Pompe_Arrosage-1024x724.jpg 1024w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/plan_Pompe_Arrosage-768x543.jpg 768w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/plan_Pompe_Arrosage-1536x1086.jpg 1536w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/plan_Pompe_Arrosage-2048x1448.jpg 2048w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/plan_Pompe_Arrosage-1200x848.jpg 1200w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/plan_Pompe_Arrosage-1980x1399.jpg 1980w\" sizes=\"auto, (max-width: 2560px) 100vw, 2560px\" \/><\/p>\n<h2>ESP Easy configuration of Sonoff Pow R2 (Wrinkle Pump) 192.168.0.126<\/h2>\n<h3>Controllers tab<\/h3>\n<table border=\"2\">\n<tbody>\n<tr>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-355\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Pompe_Arrosage.png\" alt=\"Screenshot 2020 03 28 Pump Watering\" width=\"861\" height=\"231\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Pompe_Arrosage.png 861w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Pompe_Arrosage-600x161.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Pompe_Arrosage-300x80.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Pompe_Arrosage-768x206.png 768w\" sizes=\"auto, (max-width: 861px) 100vw, 861px\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Hardware tab<\/h3>\n<table border=\"2\">\n<tbody>\n<tr>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-356\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Pompe_Arrosage1.png\" alt=\"Screenshot 2020 03 28 Pump Watering1\" width=\"738\" height=\"553\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Pompe_Arrosage1.png 738w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Pompe_Arrosage1-600x450.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Pompe_Arrosage1-300x225.png 300w\" sizes=\"auto, (max-width: 738px) 100vw, 738px\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Devices tab<\/h3>\n<table border=\"2\">\n<tbody>\n<tr>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-357\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Pompe_Arrosage2.png\" alt=\"Screenshot 2020 03 28 Pump Watering2\" width=\"870\" height=\"567\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Pompe_Arrosage2.png 870w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Pompe_Arrosage2-600x391.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Pompe_Arrosage2-300x196.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Pompe_Arrosage2-768x501.png 768w\" sizes=\"auto, (max-width: 870px) 100vw, 870px\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Rules tab<\/h3>\n<p><strong>Rules Set 1 (make the blue LED flash when powered on)<\/strong><\/p>\n<pre><code>On System#Boot do \/\/ Boot trigger gpio,13,0 \/\/ LED ON timerSet,1,1 \/\/ Initialize Timer 1 in 1 second timerSet,3,10 \/\/ Initialize Timer 3 in 10 seconds to turn off all endon On Rules#Timer=1 do gpio,13,1 \/\/ LED OFF timerSet,2,1 \/\/ Initialize Timer 2 in 1 second endon On Rules#Timer=2 do gpio,13,0 \/\/ LED ON timerSet,1,1 \/\/ Initialize Timer 1 in 1 second to restart Timer 1 endon On Rules#Timer=3 do timerSet,1,0 \/\/ Stop Timer1 timerSet,2,0 \/\/ Stop Timer2 gpio,13,1 \/\/ LED OFF endon<\/code><\/pre>\n<p><strong>Rules Set 2 (Links GPIO0=Bouton button to GPIO12=Jus relay)<\/strong><\/p>\n<pre><code>on Button#Button do if [Jus#Juice]=1 GPIO,12,0 \/\/ Off else GPIO,12,1 \/\/ Endive endon lighter<\/code><\/pre>\n<p><strong>Rules Set 3 (Links GPIO5 water level sensor to blue LED)<\/strong><\/p>\n<p><em><span style=\"text-decoration: underline;\">Note:<\/span> : At this stage, the lack of water is not taken into account because of a physical concern of the sensor, this will come in a future update of this page.<\/em><\/p>\n<pre><code>on GPIO5#GPIO5=1 do GPIO,13.1 endon on GPIO5#GPIO5=0 do GPIO,13,0 endon<\/code><\/pre>\n<h2>Jeedom configuration of Sonoff Pow R2 (Wrinkle Pump) 192.168.0.126<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-358\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Dashboard_-_Jeedom.png\" alt=\"Screenshot 2020 03 28 Dashboard Jeedom\" width=\"348\" height=\"108\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Dashboard_-_Jeedom.png 348w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Dashboard_-_Jeedom-300x93.png 300w\" sizes=\"auto, (max-width: 348px) 100vw, 348px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-359\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Espeasy_-_Jeedom.png\" alt=\"Screenshot 2020 03 28 Espeasy Jeedom\" width=\"694\" height=\"473\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Espeasy_-_Jeedom.png 694w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Espeasy_-_Jeedom-600x409.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Espeasy_-_Jeedom-300x204.png 300w\" sizes=\"auto, (max-width: 694px) 100vw, 694px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-360\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Espeasy_-_Jeedom1.png\" alt=\"Screenshot 2020 03 28 Espeasy Jeedom1\" width=\"638\" height=\"838\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Espeasy_-_Jeedom1.png 638w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Espeasy_-_Jeedom1-600x788.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Espeasy_-_Jeedom1-228x300.png 228w\" sizes=\"auto, (max-width: 638px) 100vw, 638px\" \/><\/p>\n<p><em><strong><span style=\"text-decoration: underline;\">Note:<\/span> : Added commands are not mandatory, they allow you to manually test the correct operation.<\/strong><\/em><\/p>\n<h2>ESP Easy configuration of the Sonoff 4CH Pro (Arrosage) 192.168.0.193<\/h2>\n<h3>Controllers tab<\/h3>\n<table border=\"2\">\n<tbody>\n<tr>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-361\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Arrosage.png\" alt=\"Screenshot 2020 03 28 Watering\" width=\"858\" height=\"232\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Arrosage.png 858w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Arrosage-600x162.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Arrosage-300x81.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Arrosage-768x208.png 768w\" sizes=\"auto, (max-width: 858px) 100vw, 858px\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Hardware tab<\/h3>\n<table border=\"2\">\n<tbody>\n<tr>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-362\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Arrosage1.png\" alt=\"Screenshot 2020 03 28 Watering1\" width=\"756\" height=\"549\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Arrosage1.png 756w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Arrosage1-600x436.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Arrosage1-300x218.png 300w\" sizes=\"auto, (max-width: 756px) 100vw, 756px\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Devices tab<\/h3>\n<table border=\"2\">\n<tbody>\n<tr>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-363\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Arrosage2.png\" alt=\"Screenshot 2020 03 28 Watering2\" width=\"868\" height=\"816\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Arrosage2.png 868w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Arrosage2-600x564.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Arrosage2-300x282.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Arrosage2-768x722.png 768w\" sizes=\"auto, (max-width: 868px) 100vw, 868px\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Rules tab<\/h3>\n<p><strong>Rules Set 1 (Start watering at 10 p.m. or on receipt of the LanceArrosage command)<\/strong><\/p>\n<pre><code>on Clock#Time=All,22:00 do if [LedBleue#LedBleue]=1 let,1,1 \/\/ loop counter (3 zones) from 1 to %v2% let,2,8 \/\/ number of loops (of 3 zones) let,3,40 \/\/ watering time of each zone in seconds gpio,15,1 \/\/ Relais4=ON timerSet,5,1 \/\/ Initializes the Timer 1 to 1s endif endon on LanceArrosage do if [LedBleue#LedBleue]=1 let,1,1 \/\/ loop counter (3 zones) from 1 to %v2% let,2,5 \/\/ number of loops (of 3 zones) let,3,%eventvalue% \/\/ Watering time of each zone in seconds gpio,15,1 \/\/ Relais4=ON timerSet,5,1 \/\/ Initializes Timer 1 to 1s endif endon on StopArrosage do gpio,15,0 \/\/ Relais4=OFF gpio,12,0 \/\/ Relais1=OFF gpio,4,0 \/\/ Relais3=OFF gpio,5,0 \/\/ Relais2=OFF timerSet,5,0 \/\/ Stops Timer 1 timerSet,6,0 \/\/ Stops Timer 2 timerSet,7,0 \/\/ Stops Timer 3 timerSet,8,0 \/\/ Stops Timer 4 endon On Rules#Timer=5 do \/\/ Zone1=ON \/\/ Zone3=OFF gpio,12.1 \/\/ Relay1 gpio,4,0 \/\/ Relay3 timerSet,6,%v3% \/\/ Lance timer 2 in %v3% Seconds endon On Rules#Timer=6 do \/\/ Zone1=OFF \/\/ Zone2=ON gpio,12,0 \/\/ Relay1 gpio,5,1 \/\/ Relay2 timerSet,7,%v3% \/\/ Lance timer 3 in %v3% Seconds endon On Rules#Timer=7 do \/\/ Zone2=OFF \/\/ Zone3=ON gpio,5,0 \/\/ Relay2 gpio,4,1 \/\/ Relay3 timerSet,8,%v3% \/\/ Lance timer 4 in %v3% Seconds endon On Rules#Timer=8 do if %v1%&lt;%v2% do let,1,%v1%+1 timerSet,5,1 \/\/ Lance timer 5 else gpio,15,0 \/\/ Relais4=OFF gpio,4,0 \/\/ Relais3=OFF endif endon<\/code><\/pre>\n<p><strong>Rules Set 2 (Links buttons to relays)<\/strong><\/p>\n<pre><code>on Button1#Button1=1 do if [Relay1#Relay1]=1 GPIO,12,0 else GPIO,12,1 GPIO,15,1 \/\/ Lights Alim 24v timerSet,4,3600 \/\/ Initializes the Timer 4 at 1h endif endon on Button1 do if [Relay1#Relay1]=1 GPIO,12,0 else GPIO,12,1 GPIO,15,1 \/\/ Lights Alim 24v timerSet,4,3600 \/\/ Initializes the Timer 4 at 1h endif endon on Bouton2#Button2=1 do if [Relay2#Relay2]=1 GPIO,5,0 else GPIO,5,1 GPIO,15,1 \/\/ Allume Alim 24v timerSet,4,3600 \/\/ Initializes the Timer 4 at 1h endif endon on Bouton2 do if [Relais2#Relay2]=1 GPIO,5,0 else GPIO,5,1 GPIO,15,1 \/\/ Lights Alim 24v timerSet,4,3600 \/\/ Initializes the Timer 4 at 1h endif endon on Bouton3#Button3=1 do if [Relay3#Relay3]=1 GPIO,4,0 else GPIO,4,1 GPIO,15,1 \/\/ Allume Alim 24v timerSet,4,3600 \/\/ Initializes the Timer 4 at 1h endif endon on Bouton3 do if [Relais3#Relay3]=1 GPIO,4,0 else GPIO,4,1 GPIO,15,1 \/\/ Allume Alim 24v timerSet,4,3600 \/\/ Initializes the Timer 4 at 1h endif endon on Bouton4 do GPIO,15,1 \/\/ Allume Alim 24v timerSet,4,%eventvalue% \/\/ Initializes the Timer 4 to %eventvalue% endon on Bouton4#Button4=1 do if [Relay4#Relay4]=1 GPIO,15,0 \/\/ Off Alim 24v else GPIO,15,1 \/\/ Lights Alim 24v endif endon On Rules#Timer=4 do gpio,15,0 \/\/ Off Alim 24v endon<\/code><\/pre>\n<p><strong>Rules Set 3 (Calculate the status at start-up and flash the blue LED)<\/strong><\/p>\n<pre><code>On System#Boot do \/\/ Boot trigger gpio,15,0 \/\/ Relay4=OFF gpio,12,0 \/\/ Relay1=OFF gpio,4,0 \/\/ Relay3=OFF gpio,5,0 \/\/ Relay2=OFF gpio,13,1 \/\/ LED OFF timerSet,1,1 \/\/ Initialize Timer 1 in 1 second timerSet,3,10 \/\/ Initialize Timer 3 in 10 seconds to turn off all endon On Rules#Timer=1 do gpio,13,0 \/\/ LED ON timerSet,2,1 \/\/ Initialize Timer 2 in 1 second endon On Rules#Timer=2 do gpio,13,1 \/\/ LED OFF timerSet,1,1 \/\/ Initialize Timer 1 in 1 second to restart Timer 1 endon On Rules#Timer=3 do timerSet,1,0 \/\/ Stop Timer1 timerSet,2,0 \/\/ Stop Timer2 gpio,13,0 \/\/ LED ON endon<\/code><\/pre>\n<h2>Jeedom configuration of the Sonoff 4CH Pro (Arrosage) 192.168.0.193<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-364\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Dashboard_-_Jeedom2.png\" alt=\"Screenshot 2020 03 28 Dashboard Jeedom2\" width=\"484\" height=\"202\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Dashboard_-_Jeedom2.png 484w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Dashboard_-_Jeedom2-300x125.png 300w\" sizes=\"auto, (max-width: 484px) 100vw, 484px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-365\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Espeasy_-_Jeedom2.png\" alt=\"Screenshot 2020 03 28 Espeasy Jeedom2\" width=\"694\" height=\"469\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Espeasy_-_Jeedom2.png 694w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Espeasy_-_Jeedom2-600x405.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Espeasy_-_Jeedom2-300x203.png 300w\" sizes=\"auto, (max-width: 694px) 100vw, 694px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-366\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Espeasy_-_Jeedom5.png\" alt=\"Screenshot 2020 03 28 Espeasy Jeedom5\" width=\"668\" height=\"547\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Espeasy_-_Jeedom5.png 668w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Espeasy_-_Jeedom5-600x491.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Espeasy_-_Jeedom5-300x246.png 300w\" sizes=\"auto, (max-width: 668px) 100vw, 668px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-367\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Espeasy_-_Jeedom4.png\" alt=\"Screenshot 2020 03 28 Espeasy Jeedom4\" width=\"678\" height=\"666\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Espeasy_-_Jeedom4.png 678w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Espeasy_-_Jeedom4-600x589.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Espeasy_-_Jeedom4-300x295.png 300w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><\/p>\n<h2>Management of automatic watering (at 10 p.m.)<\/h2>\n<p>It is programmed in the rules of the Sonoff 4CH Pro an automatic trigger at 22h. By default on ignition, the blue LED lights up and watering is automatic. The Sonoff 4CH Pro can handle watering alone (without Jeedom).<\/p>\n<p><em>I will soon add a check on humidity, probably a future update of this tutorial.<\/em><\/p>\n<p>To order from Jeedom and easily integrate it into a design, I made a virtual \u2018Automatic Watering\u2019.<\/p>\n<h3>In the Dashboard<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-368\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Dashboard_-_Jeedom3.png\" alt=\"Screenshot 2020 03 28 Dashboard Jeedom3\" width=\"164\" height=\"80\" \/><\/p>\n<h3>In design<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-369\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Arrosage_-_Jeedom.png\" alt=\"Screenshot 2020 03 28 Watering Jeedom\" width=\"356\" height=\"312\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Arrosage_-_Jeedom.png 356w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Arrosage_-_Jeedom-300x263.png 300w\" sizes=\"auto, (max-width: 356px) 100vw, 356px\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-370\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Arrosage_-_Jeedom1.png\" alt=\"Screenshot 2020 03 28 Watering Jeedom1\" width=\"354\" height=\"312\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Arrosage_-_Jeedom1.png 354w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Arrosage_-_Jeedom1-300x264.png 300w\" sizes=\"auto, (max-width: 354px) 100vw, 354px\" \/><\/p>\n<h3>Configuring the virtual<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-371\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Virtual_-_Jeedom.png\" alt=\"Screenshot 2020 03 28 Virtual Jeedom\" width=\"618\" height=\"170\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Virtual_-_Jeedom.png 618w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Virtual_-_Jeedom-600x165.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Virtual_-_Jeedom-300x83.png 300w\" sizes=\"auto, (max-width: 618px) 100vw, 618px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-372\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Virtual_-_Jeedom2.png\" alt=\"Screenshot 2020 03 28 Virtual Jeedom2\" width=\"440\" height=\"168\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Virtual_-_Jeedom2.png 440w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/03\/Screenshot_2020-03-28_Virtual_-_Jeedom2-300x115.png 300w\" sizes=\"auto, (max-width: 440px) 100vw, 440px\" \/><\/p>","protected":false},"excerpt":{"rendered":"<p>Objectives Order 4 solenoid valves (3 watering zones + 1 pool filling) Detect the lack of water thanks to a float in the water tank Check the temperature and humidity (especially the outside humidity to know if it rained)<\/p>","protected":false},"author":1,"featured_media":354,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[14,23],"tags":[],"class_list":["post-373","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-domotique","category-jeedom-2"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/373","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/comments?post=373"}],"version-history":[{"count":0,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/373\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/media\/354"}],"wp:attachment":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/media?parent=373"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/categories?post=373"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/tags?post=373"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}