Advertisement
Guest User

Untitled

a guest
Aug 30th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.83 KB | None | 0 0
  1. esphomeyaml:
  2.   name: kaffetrakter
  3.   platform: ESP8266
  4.   board: esp01_1m
  5.   board_flash_mode: dout
  6. wifi:
  7.   ssid: IoT
  8.   password: xxxxxxxxx
  9.   manual_ip:
  10.     static_ip: 10.0.2.130
  11.     gateway: 10.0.2.1
  12.     subnet: 255.255.255.0
  13. mqtt:
  14.   broker: '10.0.2.171'
  15.   username: 'magnus'
  16.   password: 'xxxxxxxxxx'
  17. ota:
  18. web_server:
  19.   port: 80
  20.  
  21. binary_sensor:
  22.   - platform: gpio
  23.     pin:
  24.       number: GPIO0
  25.       mode: INPUT_PULLUP
  26.       inverted: True
  27.     name: "Sonoff Basic Button"
  28.   - platform: status
  29.     name: "Sonoff Basic Status"
  30.  
  31. switch:
  32.   - platform: gpio
  33.     name: "Sonoff Basic Relay"
  34.     pin: GPIO12
  35.  
  36. output:
  37.   - platform: esp8266_pwm
  38.     id: basic_green_led
  39.     pin:
  40.       number: GPIO13
  41.       inverted: True
  42.  
  43. light:
  44.   - platform: monochromatic
  45.     name: "Sonoff Basic Green LED"
  46.     output: basic_green_led
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement