esphome: name: citerne friendly_name: Citerne esp8266: board: esp01_1m # Enable logging logger: # Enable Home Assistant API api: encryption: key: "jKAUk7eaGd1hf4V1y9LIXGxA9nLUavgWrY2jFNmTQQ0=" ota: - platform: esphome password: "57e167ac1e278fd9f20970f9690f9ede" wifi: ssid: !secret wifi_ssid password: !secret wifi_password # Enable fallback hotspot (captive portal) in case wifi connection fails ap: ssid: "Citerne Fallback Hotspot" password: "s6xKWSkMR6XG" captive_portal: # Activer le support i²c i2c: sda: GPIO4 #D2 # à adapter selon ton câblage scl: GPIO5 #D1 scan: true # Capteur VL53L0X sensor: - platform: vl53l0x name: "Distance Laser" update_interval: 60s long_range: false timeout: 200ms