Advertisement
Otisburgh_its

Untitled

Jun 11th, 2019
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.87 KB | None | 0 0
  1. esphome:
  2.   name: car_bmw
  3.   platform: ESP8266
  4.   board: d1_mini
  5.  
  6. wifi:
  7.   ssid: "SSID"
  8.   password: "1234567890"
  9.   fast_connect: true
  10.   use_address: 172.16.68.122
  11.   reboot_timeout: 0s
  12.  
  13.   manual_ip:
  14.     static_ip: 172.16.68.122
  15.     gateway: 172.16.68.1
  16.     subnet: 255.255.255.0
  17.  
  18. mqtt:
  19.   discovery: true
  20.   discovery_prefix: homeassistant
  21.   client_id: home-assistant-1
  22.   broker: 172.16.68.62
  23.   username: mqtt
  24.   password: mqtt1968!
  25.   reboot_timeout: 0s
  26.    
  27. logger:
  28. #api:
  29. #  password: 'pass'
  30.  
  31. ota:
  32.   password: 'pass'
  33.  
  34. #binary_sensor:
  35. #  - platform: homeassistant
  36. #    name: "Garage Opened BMW"
  37. #    entity_id: input_boolean.bmw_opened_garage
  38. #    id: garage_opened_bmw
  39.    
  40. sensor:
  41.   - platform: template
  42.     name: "BMW"
  43.     lambda: |-
  44.       static int num_cycles = 0;
  45.       num_cycles += 1;
  46.       return num_cycles;
  47.     update_interval: 1s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement