paulmorley

Untitled

Oct 20th, 2018
151
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. esphomeyaml:
  2. name: esp32light2
  3. platform: ESP32
  4. board: nodemcu-32s
  5.  
  6. wifi:
  7. ssid: '********'
  8. password: '**********'
  9.  
  10. mqtt:
  11. broker: '192.168.1.60'
  12. username: 'admin'
  13. password: '********'
  14.  
  15. # Enable logging
  16. logger:
  17.  
  18. ota:
  19. password: 'password'
  20.  
  21. output:
  22. - platform: ledc
  23. pin: 18
  24. id: gpio_18
  25. frequency: 10000
  26.  
  27. - platform: ledc
  28. pin: 19
  29. id: gpio_19
  30. frequency: 10000
  31.  
  32. - platform: ledc
  33. pin: 5
  34. id: gpio_5
  35.  
  36. light:
  37. - platform: monochromatic
  38. name: "Kitchen Lights"
  39. output: gpio_18
  40. default_transition_length: 1.5s
  41. id: mono18
  42.  
  43. - platform: monochromatic
  44. name: "Kitchen Lights2"
  45. output: gpio_19
  46. id: mono19
  47.  
  48. - platform: fastled_clockless
  49. chipset: NEOPIXEL
  50. pin: 5
  51. num_leds: 128
  52. # rgb_order: GRB
  53. name: "FastLED Light-Bar"
  54. id: rgb1
  55.  
  56.  
  57. sensor:
  58. - platform: esp32_hall
  59. name: "ESP32 Hall Sensor"
  60. update_interval: 1s
  61. # filters:
  62.  
  63. esp32_touch:
  64. setup_mode: False
  65.  
  66. binary_sensor:
  67. - platform: esp32_touch
  68. name: "ESP32 Touch GPIO15"
  69. pin: 15
  70. threshold: 1000
  71. on_click:
  72. min_length: 50ms
  73. max_length: 350ms
  74. then:
  75. # - light.toggle:
  76. # id: mono18
  77. # - delay: 5s
  78. - light.toggle:
  79. id: rgb1
RAW Paste Data