Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- captive_portal:
- font:
- - file: "Kanit-Thin.ttf"
- id: kanit
- size: 25
- uart:
- rx_pin: GPIO16
- baud_rate: 9600
- sensor:
- - platform: pm1006
- pm_2_5:
- name: "Office PM2.5"
- id: pm2_5
- - platform: wifi_signal
- name: "pm25 WiFi Strength"
- update_interval: 60s
- - platform: uptime
- name: "pm25 Uptime"
- i2c:
- scl: GPIO21
- sda: GPIO22
- display:
- - platform: ssd1306_i2c
- model: "SSD1306 128x32"
- address: 0x3C
- lambda: |-
- it.printf(0, 0, id(kanit), "PM2.5: %.1f", id(pm2_5).state);
- switch:
- - platform: restart
- name: "pm25 reboot"
- text_sensor:
- - platform: wifi_info
- ip_address:
- name: IP Address
- id: ip
- ssid:
- name: Connected SSID
- id: ssid
Advertisement
Add Comment
Please, Sign In to add comment