esphome: name: ${node_name} platform: ESP32 board: lolin_d32_pro project: name: "xd0.esp32weatherstation2" version: "0.0.5" includes: - fonts/weather_icon_map.h - custom/veml6075_custom_sensor.h libraries: - Wire - SPI - "https://github.com/adafruit/Adafruit_BusIO" - "https://github.com/adafruit/Adafruit_VEML6075" # platformio_options: # lib_ldf_mode: chain+ # Enable logging logger: # level: VERY_VERBOSE # Enable Home Assistant API api: ota: password: !secret esphome_ota_password wifi: networks: - ssid: !secret wifi_ssid password: !secret wifi_passwd - ssid: !secret wifi_ssid2 password: !secret wifi_passwd2 power_save_mode: light # Enable fallback hotspot (captive portal) in case wifi connection fails ap: ssid: ${node_name} password: !secret wifi_captive_portal_password captive_portal: time: - platform: sntp id: sntp_time timezone: "Europe/Berlin" mqtt: broker: home.xd0.de username: !secret esphome_mqtt_user password: !secret esphome_mqtt_passwd discovery: false discovery_retain: false topic_prefix: "thomas" log_topic: topic: log"thomas/${node_name}/debug" level: INFO # bus i2c: sda: 21 scl: 22 scan: true spi: clk_pin: 18 mosi_pin: 23 miso_pin: 19 status_led: pin: number: GPIO5 inverted: true sensor: # WiFi signal strength - platform: wifi_signal name: "${node_name} RSSI" update_interval: 60s # Example hall sensor # - platform: esp32_hall # name: "${node_name} ESP32 Hall Sensor" # update_interval: 60s