Advertisement
giakAdi

Untitled

Jun 25th, 2022
1,111
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.69 KB | None
  1. esphome:
  2.   name: module-test
  3.   platform: ESP8266
  4.   board: d1_mini
  5.  
  6. # Enable logging
  7. logger:
  8. # Enable Home Assistant API
  9. api:
  10. ota:
  11. wifi:
  12.   ssid: !secret WIFI_SSID
  13.   password: !secret WIFI_PWD
  14.   fast_connect: true
  15.   manual_ip:
  16.     static_ip: !secret ESP_IP_ADDRESS
  17.     gateway: !secret IP_GATEWAY
  18.     subnet: !secret IP_SUBMASK
  19.  
  20.   # Enable fallback hotspot (captive portal) in case wifi connection fails
  21.   ap:
  22.     ssid: "Moldule-test Fallback Hotspot"
  23.     password: !secret WIFI_PWD
  24.  
  25. captive_portal:
  26.  
  27. i2c:
  28.   sda: D2
  29.   scl: D1
  30.   scan: true
  31.  
  32. display:
  33.   - platform: lcd_pcf8574
  34.     dimensions: 16x2
  35.     address: 0x27
  36.     lambda: |-
  37.       it.print("Hello World!");
Advertisement
RAW Paste Data Copied
Advertisement