Skip to main content

Kapazitives Hygrometer

TODO

esphome:
  name: bodenfeuchtigkeit1
  platform: ESP8266
  board: nodemcuv2

wifi:
  ssid: !secret iot_wifi_ssid
  password: !secret iot_wifi_password
  manual_ip:
    static_ip: 172.16.72.101
    gateway: 172.16.72.1
    subnet: 255.255.255.0
    dns1: 172.16.71.1

  ap:
    ssid: "bodenfeuchtigkeit_fallback"
    password: !secret fallback_password

captive_portal:

logger:

api:

ota:

sensor:
  - platform: adc
    pin: A0
    unit_of_measurement: "%"
    filters:
      - median:
          window_size: 7
          send_every: 4
          send_first_at: 1
      - calibrate_linear:
          - 0.79 -> 0.00
          - 0.34 -> 100.00
      - lambda: if (x < 1) return 0; else return (x);
    accuracy_decimals: 0
    name: "bodenfeuchtigkeit1"
    update_interval: 2s