Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- esphome:
- name: XXXXXXX
- platform: ESP8266
- board: esp01_1m
- wifi:
- ssid: "LAN SOLO"
- password: "XXXXXX"
- ap:
- ssid: "XXXXXX Hotspot"
- password: "XXXXXXX"
- captive_portal:
- logger:
- api:
- reboot_timeout: 0s
- password: "XXXXXXX"
- ota:
- password: "XXXXXXXX"
- web_server:
- port: 80
- #########################################################
- binary_sensor:
- - platform: gpio
- pin:
- number: GPIO14
- mode: INPUT_PULLUP
- inverted: True
- id: button_1
- on_press:
- then:
- - light.toggle: light_1
- on_release:
- - light.toggle: light_1
- - platform: status
- name: "Stato sonoff Abat-Jour"
- sensor:
- - platform: wifi_signal
- name: "WiFi Signal Abat-Jour"
- update_interval: 60s
- output:
- - platform: gpio
- pin: GPIO12
- id: relay_1
- light:
- - platform: binary
- name: "Abat Jour"
- id: light_1
- output: relay_1
- status_led:
- pin:
- number: GPIO13
- inverted: yes
- text_sensor:
- - platform: wifi_info
- ip_address:
- name: IP Sonoff Abat-Jour
- icon: "mdi:lan"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement