Advertisement
biscoguy

HAconfiguration2-15-2017

Feb 15th, 2017
757
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 4.32 KB | None | 0 0
  1. homeassistant:
  2.  # Name of the location where Home Assistant is running
  3.   name: Home
  4.   # Location required to calculate the time the sun rises and sets
  5.   latitude: !secret latitude
  6.   longitude: !secret longitude
  7.   # Impacts weather/sunrise data (altitude above sea level in meters)
  8.   elevation: 103
  9.   # metric for Metric, imperial for Imperial
  10.   unit_system: imperial
  11.  # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  12.   time_zone: !secret timezone
  13.   customize: !include customize.yaml
  14.  
  15. # Show links to resources in log and frontend
  16. #introduction:
  17.  
  18.  
  19.  
  20. http:
  21.  # Uncomment this to add a password (recommended!)
  22.   api_password: !secret api_password
  23.   #ssl_certificate: !secret ssl_certificate
  24.  # ssl_key: !secret ssl_key
  25.  # base_url: http://192.168.2.175
  26. #  trusted_networks:
  27. #    - 192.168.2.0/24
  28.  #   - 192.168.1.0/24
  29.   #  - 127.0.0.1
  30.    # - ::1
  31.  # ip_ban_enabled: true
  32.  # login_attempts_threshold: 5
  33.  
  34. # Checks for available updates
  35. updater:
  36. # Discover some devices automatically
  37. discovery:
  38. # Enables support for tracking state changes over time.
  39. history:
  40. # View all events in a logbook
  41. logbook:
  42.  
  43.  
  44. # Track the sun
  45. sun:
  46. #recorder:
  47.  # purge_days: 3
  48.  
  49. #logger:
  50.  #   default: critical
  51.   #  logs:
  52.     # homeassistant.components.image_processing: debug
  53.  
  54. # Weather Prediction
  55. sensor: !include sensors.yaml
  56.  
  57. # Text to speech
  58. tts:
  59.   platform: google
  60.  
  61. #mqtt:
  62.  
  63. emulated_hue:
  64.   type: alexa
  65.  # host_ip: 192.168.2.165
  66.  
  67. group: !include groups.yaml
  68.  
  69. light:
  70.   platform: hue
  71.   host: 192.168.2.156
  72.   scan_interval: 10
  73.   allow_unreachable: true
  74. #scene: !include scenes.yaml
  75.  
  76. device_tracker: !include device_tracker.yaml
  77.  
  78. camera:
  79.   - platform: ffmpeg
  80.     input: -rtsp_transport tcp -i rtsp://192.168.2.18:554/H264?ch=1&subtype=1
  81.     name: Deck Pathway
  82.     extra_arguments: -pred 1
  83.   - platform: ffmpeg
  84.     input: -rtsp_transport tcp -i rtsp://192.168.2.18:554/H264?ch=2&subtype=1
  85.     name: Back Patio
  86.     extra_arguments: -pred 1
  87.   - platform: ffmpeg
  88.     input: -rtsp_transport tcp -i rtsp://192.168.2.18:554/H264?ch=3&subtype=1
  89.     name: Front Yard & Street
  90.     extra_arguments: -pred 1
  91.  # - platform: generic
  92.   #  still_image_url: http://192.168.1.162:4242/video.cgi
  93.    # name: Living Room
  94.   - platform: ffmpeg
  95.     input: -rtsp_transport tcp -i rtsp://192.168.2.18:554/H264?ch=4&subtype=1
  96.     name: Tester
  97.    
  98.  
  99. camera 2:
  100.   - platform: generic
  101.     still_image_url: https://radblast.wunderground.com/cgi-bin/radar/WUNIDS_map?station=LWX&brand=wui&num=10&delay=75&type=N0R&frame=0&scale=1.000&noclutter=0&showstorms=0&mapx=400&mapy=240&centerx=400&centery=240&transx=0&transy=0&showlabels=1&severe=0&rainsnow=1&lightning=0&smooth=0&rand=24778856&lat=0&lon=0&label=you
  102.     name: Doppler
  103.  
  104.  
  105. panel_iframe:
  106.   metro:
  107.     title: METRO Live Map
  108.     url: https://gis.wmata.com/metrotrain/index.html
  109.     icon: mdi:train
  110.  
  111. #script: !include /scripts/scripts.yaml
  112. #switch: !include switches.yaml
  113.  
  114. microsoft_face:
  115.   api_key: !secret msfaceapi
  116.  
  117. image_processing:
  118.   - platform: microsoft_face_identify
  119.     confidence: 40
  120.     group: family
  121.     source:
  122.     - entity_id: camera.tester
  123.       name: id_tester
  124.     - entity_id: camera.back_patio
  125.       name: id_backpatio
  126.   - platform: microsoft_face_detect
  127.     confidence: 40
  128.     group: family
  129.     source:
  130.     - entity_id: camera.tester
  131.       name: fd_tester
  132.     - entity_id: camera.back_patio
  133.       name: fd_backpatio
  134.  
  135.  
  136. #notify: !include notify.yaml
  137.  
  138. cover:
  139.   - platform: myq
  140.     name: Garage Doors
  141.     username: !secret myqusername
  142.     password: !secret myqpassword
  143.     brand: liftmaster  
  144.  
  145.     # Automations
  146. automation:
  147.   - alias: Known person in front of my door
  148.     trigger:
  149.       platform: event
  150.       event_type: image_processing.detect_face
  151.       event_data:
  152.         entity_id: image_processing.microsoftface_fd_tester
  153.     action:
  154.       service: light.turn_on
  155.       entity_id: light.billiards_room
  156.   - alias: Known person on patio
  157.     trigger:
  158.       platform: event
  159.       event_type: image_processing.detect_face
  160.       event_data:
  161.         entity_id: image_processing.microsoftface_fd_backpatio
  162.     action:
  163.       service: light.turn_on
  164.       entity_id: light.billiards_room
  165.  
  166. # Enables the frontend
  167. frontend:
  168. # Allows you to issue voice commands from the frontend in enabled browsers
  169. conversation:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement