Advertisement
Guest User

configuration.yaml

a guest
Apr 4th, 2018
460
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 3.25 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: 24.999999
  6.   longitude: -24.999999
  7.   # Impacts weather/sunrise data (altitude above sea level in meters)
  8.   elevation: 106
  9.   # metric for Metric, imperial for Imperial
  10.   unit_system: metric
  11.   # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  12.   time_zone: America/Toronto
  13.   # Customization file
  14.   customize: !include customize.yaml
  15.  
  16. zone:
  17.   - name: Maison
  18.     latitude: 24.999999
  19.     longitude: -24.999999
  20.  
  21.   - name: Travail
  22.     latitude: 24.4860121
  23.     longitude: -24.6786811
  24.  
  25. # Show links to resources in log and frontend
  26. # introduction:
  27.  
  28. # Enables the frontend
  29. frontend:
  30. # Enables configuration UI
  31. config:
  32. http:
  33.  # Secrets are defined in the file secrets.yaml
  34.   # api_password: !secret http_password
  35.   # Uncomment this if you are using SSL/TLS, running in Docker container, etc.
  36.   # base_url: example.duckdns.org:8123
  37.  
  38. # Checks for available updates
  39. # Note: This component will send some information about your system to
  40. # the developers to assist with development of Home Assistant.
  41. # For more information, please see:
  42. # https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
  43. updater:
  44.  # Optional, allows Home Assistant developers to focus on popular components.
  45.   # include_used_components: true
  46.  
  47. # Discover some devices automatically
  48. discovery:
  49. # Allows you to issue voice commands from the frontend in enabled browsers
  50. conversation:
  51. # Enables support for tracking state changes over time
  52. history:
  53. # View all events in a logbook
  54. logbook:
  55. # Enables a map showing the location of tracked devices
  56. map:
  57. # Track the sun
  58. sun:
  59. device_tracker:
  60.   - platform: owntracks
  61.  
  62. # Weather prediction
  63. sensor:
  64.   - platform: yr
  65.  
  66.   - platform: plex
  67.     host: 192.168.2.34
  68.     name: plexserver
  69.     username: user
  70.     password: xxxxxxxxxxxxxxx
  71.     server: mediaserver
  72.     token: cvxcvdsgdsfeswfsdeffsfsfesw
  73.  
  74. # Text to speech
  75. tts:
  76.   - platform: google
  77.  
  78. # Cloud
  79. cloud:
  80. group: !include groups.yaml
  81. automation: !include automations.yaml
  82. script: !include scripts.yaml
  83.  
  84. # MQTT Server
  85. mqtt:
  86.   broker: 192.168.2.24
  87.   port: 1883
  88.   client_id: home-assistant-1
  89.   keepalive: 60
  90.   username: HAUSERNAME1
  91.   password: HAPASSWORD1
  92.   protocol: 3.1
  93.   birth_message:
  94.     topic: "tele/hass1/LWT"
  95.     payload: "Online"
  96.     qos: 1
  97.     retain: true
  98.   will_message:
  99.     topic: "tele/hass1/LWT"
  100.     payload: "Offline"
  101.     qos: 1
  102.     retain: true
  103.  
  104. # Switches
  105. light:
  106.   - platform: mqtt
  107.     name: "Lampe Chevet Chambre"
  108.     state_topic: "stat/chambre/lampe/POWER"
  109.     command_topic: "cmnd/chambre/lampe/POWER"
  110.     qos: 1
  111.     payload_on: "ON"
  112.     payload_off: "OFF"
  113.     retain: true
  114.  
  115. camera:
  116.   - platform: mjpeg
  117.     mjpeg_url: http://192.168.2.132:8081/videostream.cgi?user=admin&pwd=xxxxxxxxxxxxxxx
  118.     name: Rabbit Cam 1
  119.   - platform: mjpeg
  120.     mjpeg_url: http://192.168.2.239:8080/?action=stream
  121.     name: Rabbit Cam 2
  122.     username: stream
  123.     password: xxxxxxxxxxxxxxx
  124.   - platform: mjpeg
  125.     mjpeg_url: http://192.168.2.240:8080/?action=stream
  126.     name: Rabbit Cam 3
  127.     username: stream
  128.     password: xxxxxxxxxxxxxxx
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement