Advertisement
skysurf_hf

configuration.yaml

Oct 5th, 2018
448
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 4.43 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: 84
  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: Europe/Lisbon
  13.   # Customization file
  14.  
  15. ## WHITELIST
  16.   whitelist_external_dirs:
  17.    - /home/homeassistant/.homeassistant/script
  18.   #customize: !include customize.yaml
  19.  
  20. # Show links to resources in log and frontend
  21. #introduction:
  22. api:
  23. # Enables the frontend
  24. frontend:
  25. # Enables configuration UI
  26. config:
  27. ffmpeg:
  28.   ffmpeg_bin: /usr/bin/ffmpeg
  29. http:
  30.  # Secrets are defined in the file secrets.yaml
  31.   # api_password: !secret http_password
  32.  
  33.   # Uncomment this if you are using SSL/TLS, running in Docker container, etc.
  34.   # base_url: example.duckdns.org:8123
  35.  
  36.   api_password: !secret http_password
  37.   ssl_certificate: /etc/letsencrypt/live/skysurf.duckdns.org/fullchain.pem
  38.   ssl_key: /etc/letsencrypt/live/skysurf.duckdns.org/privkey.pem
  39.   ip_ban_enabled: True
  40.   base_url: !secret meu_dns
  41.   login_attempts_threshold: 5
  42.  
  43. # Checks for available updates
  44. # Note: This component will send some information about your system to
  45. # the developers to assist with development of Home Assistant.
  46. # For more information, please see:
  47. # https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
  48. updater:
  49.  # Optional, allows Home Assistant developers to focus on popular components.
  50.   # include_used_components: true
  51.  
  52. # Discover some devices automatically
  53. discovery:
  54. # Allows you to issue voice commands from the frontend in enabled browsers
  55. conversation:
  56. # Enables support for tracking state changes over time
  57. history:
  58. # View all events in a logbook
  59. logbook:
  60. # Enables a map showing the location of tracked devices
  61. map:
  62. # Track the sun
  63. sun:
  64. #notificaçao
  65. notify:
  66.   - platform: pushbullet
  67.     name: certificado_cadocado
  68.     api_key: !secret API_Notificaao_pushbullet
  69. #html5 notificaçao  
  70.   - name: html5_notificaçao_chrome
  71.     platform: html5
  72.     gcm_api_key: !secret API_Notificao_gcm-server-key
  73.     gcm_sender_id: !secret API_Notificao_gcm-sender-id
  74.    
  75. #combustiveis:
  76. #shell_command:
  77.     #correr_combustiveis: '/home/homeassistant/.homeassistant/script/./fuel.info.sh -f "184685"'
  78.  
  79. #combustiveis
  80. #shell_command:
  81.   #correr_combustiveis: '/home/homeassistant/.homeassistant/script/./fuel.info.sh -f "184685"'
  82.  
  83. #combustiveis:
  84. #shell_command:
  85.   #correr_combustiveis: 'bash /home/homeassistant/.homeassistant/script/fuel.info.sh -f "184685"'
  86.  
  87. #combustiveis
  88. #shell_command:
  89.   #correr_combustiveis: 'bash /home/homeassistant/.homeassistant/script/fuel.info.sh -f "184685"'
  90.  
  91.  
  92. #combustiveis:
  93. #shell_command:
  94.  # correr_combustiveis: 'bash -x /home/homeassistant/.homeassistant/script/fuel.info.sh -f "184685"'
  95.  
  96.  #combustiveis
  97. #shell_command:
  98. #  correr_combustiveis: 'bash /home/homeassistant/.homeassistant/script/fuel.info.sh -f "184685"'
  99.  
  100.  
  101. # Weather prediction
  102. sensor:
  103.   - platform: yr
  104.   - platform: command_line
  105.     name: Dias para o certificado SSL expirar
  106.     unit_of_measurement: days
  107.     scan_interval: 10800
  108.     command: "ssl-cert-check -b -c /etc/letsencrypt/live/skysurf.duckdns.org/cert.pem | awk '{ print $NF }'"
  109.  
  110. # Text to speech
  111. tts:
  112.   - platform: google
  113.  
  114.  
  115. #combustiveis
  116. shell_command:
  117.   #test: touch /home/homeassistant/.homeassistant/hassteste.txt
  118.   correr_combustiveis: bash /home/homeassistant/.homeassistant/script/fuel.info.sh -f "184685"
  119.  
  120.  
  121.  
  122. # Cloud
  123. cloud:
  124. #group: !include groups.yaml
  125. #automation: !include automations.yaml
  126. #script: !include scripts.yaml
  127. #sensor: !include sensors.yaml
  128.  
  129.  
  130. mqtt:
  131.   broker: 127.0.0.1
  132.  
  133.  
  134. ## Example configuration.yaml entry
  135. media_player tv:
  136.   - platform: samsungtv
  137.     host: 192.168.1.50
  138.     port: 8001
  139.  
  140.    
  141. #camera:
  142. #  - platform: ffmpeg
  143.     #input: http://192.168.1.105:5000/onvif/device_service
  144.  #   input: rtsp://192.168.1.105:554/onvif1
  145.     #input: -rtsp_transport tcp -i rtsp://192.168.1.105:554/onvif1
  146.   #- platform: onvif
  147.     #host: 192.168.1.105
  148.     #host: http://192.168.1.105:5000/onvif/device_service
  149.     #username: "henriquejsferreira@gmail.com"
  150.     #password: "uzgndn1234"
  151.     #port: 554
  152.     #port: 5000
  153.   #  name: Camera Loureço quarto
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement