Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- esphome:
- name: display
- platform: ESP8266
- board: nodemcuv2
- wifi:
- ssid: "Fam.Scherrebeck.Net"
- password: "Jacob1905"
- # Enable fallback hotspot (captive portal) in case wifi connection fails
- ap:
- ssid: "Display Fallback Hotspot"
- password: "tPnpzpNCGLRy"
- captive_portal:
- # Enable logging
- logger:
- # Enable Home Assistant API
- api:
- ota:
- mqtt:
- broker: 10.0.1.2
- # Example configuration entry
- i2c:
- sda: D1
- scl: D2
- display:
- - platform: lcd_pcf8574
- dimensions: 20x4
- address: 0x27
- id: my_display
- pages:
- - id: page1
- lambda: |-
- it.print(0, 10, "This is page 1!");
- - id: page2
- lambda: |-
- it.print(0, 10, "This is page 2!");
- interval:
- - interval: 5s
- then:
- - display.page.show_next: my_display
- - component.update: my_display
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement