#11 Monitorer son puits/citerne -- partie 2 -- configuration de l'ESP avec ESPhome
Référence: https://kevoster.wordpress.com/2016/0... Rejoindre sur discord Reseautonome: / discord Rejoindre sur discord Paradis Artificiel: / discord Errata: lire 4.7 Kohms et pas 4.7 ohm pour la sonde Dallas puits.yaml: esphome: name: puits platform: ESP32 board: esp32dev wifi: ssid: !secret esphome_ssid password: !secret esphome_password Enable logging logger: #level: debug Enable Home Assistant API api: ota: time: #- platform: sntp id: my_time platform: homeassistant id: homeassistant_time on_time: seconds: 59 minutes: 59 hours: 23 then: sensor.template.publish: id: template_puits_veille state: !lambda return id(daily_well).state; switch: platform: restart name: "restart_puits" dallas: pin: GPIO15 update_interval: 10s sensor: platform: adc pin: GPIO36 name: "pression_puits" update_interval: 10s attenuation: 11db unit_of_measurement: "bar" accuracy_decimals: 3 icon: mdi:gauge id: pression_puits filters: sliding_window_moving_average: window_size: 9 send_every: 1 lambda: return (((x/5.0) + 0.04 )/0.4); platform: adc pin: GPIO39 name: "pression_surpresseur" update_interval: 10s attenuation: 11db unit_of_measurement: "bar" icon: mdi:gauge accuracy_decimals: 3 filters: sliding_window_moving_average: window_size: 7 send_every: 1 lambda: return ((x - 0.1)*1.49993); platform: dallas address: 0x3B8318507361FF28 name: "temperature_puits" unit_of_measurement: "°C" accuracy_decimals: 2 platform: total_daily_energy name: "puits_du_jour" power_id: water_flow_meter unit_of_measurement: "l" accuracy_decimals: 2 id: daily_well platform: template name: "puits_veille" id: template_puits_veille unit_of_measurement: "l" accuracy_decimals: 2 icon: mdi:water platform: template name: "volume_puits" id: template_volume_puits unit_of_measurement: "l" accuracy_decimals: 2 icon: mdi:water lambda: return ( (id(pression_puits).state - 1.10)*7230.7233); My well is cylindric with a diameter of D=0.96m. My sensor is located 1m below the pump. So if I want to compute the remaining water for the pump I need substracte 0.1 on measured pressure then h= (measured pressured - (1 + 0.1))*10 where we remove the 0 meter air pressure + 1m of difference between the sensor and the pump. Then we multiply *10 to have a meter value Volume of water (L) = h*pi*R²*1000 = delta_p*10*pi*R²*1000= delta_p*pi*(D/2)²1000*10=h*3.14116*(0.96/2)² *1000*10=delta_p*7230.7233 for my particular case platform: pulse_counter id: water_flow_meter pin: GPIO2 name: "water_flow_meter" update_interval: 1s icon: mdi:water filters: lambda: return (x / 5.48); unit_of_measurement: "l" platform: wifi_signal name: "WiFi puissance_puits" update_interval: 2s Liens matériel: Capteur de pression puits: https://fr.aliexpress.com/item/326666... Sonde temperature Dallas: https://www.banggood.com/DS18B20-Wate... Débitmètre: https://www.banggood.com/DN20-G34-Cop... Capteur de pression surpresseur: https://www.banggood.com/Pressure-Tra... Cable servo: https://www.banggood.com/10pcs-30cm-R... ESP32: https://www.banggood.com/Geekcreit-30... Résine de coulée: https://www.leroymerlin.fr/v3/p/produ... Cable 25m RJ45: https://www.leroymerlin.fr/v3/p/produ... Raccord étanche: https://www.banggood.com/234Pin-IP68-...

Trump Sends Vance to Concede to Iran & Reflecting Pool Is Filled with Corruption | The Daily Show

KiCad + JLC PCBA service = 🥲‼️

Personne ne réalise ce que la Chine vient de créer

But what is quantum computing? (Grover's Algorithm)

TIME FOR PRAYER TO CONSECRATE YOUR DAY 🔥| Apostle Yves CASTANOU

The World's Most Important Machine

Jancovici: His warning to the French military!

Frankreich – Irak Highlights | Gruppe I, FIFA WM 2026 | sportstudio

I Hacked This Temu Router. What I Found Should Be Illegal.

How to Lose a Global AI Monopoly in One Afternoon

Elon Musk is the world's first trillionaire. How scared should you be?

Ce n'est plus de la Science-Fiction : La Chine vit déjà en 2035

What is SonarQube | Introduction SonarQube | SonarQube Tutorial | SonarQube Basics | Intellipaat

"There's a Secret Backdoor in Netgear" Routers, ft. Wendell of Level1 Techs

Watch This Before You Switch to Linux.

Real-Time WebSockets Course | Build a Live Sports Dashboard with Node.js & PostgreSQL

FURIOUS World Leaders BAN IVANKA and SEND WARNING!!!!

Sans ces câbles sous-marins, Internet n'existe plus | C'est Technique

most powerful ESP32S3 relay board for home assistant - KinCony A32 Pro

