Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- homeassistant:
- # Name of the location where Home Assistant is running
- name: Home
- # Location required to calculate the time the sun rises and sets
- latitude: !secret latitude
- longitude: !secret longitude
- # Impacts weather/sunrise data (altitude above sea level in meters)
- elevation: 84
- # metric for Metric, imperial for Imperial
- unit_system: metric
- # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
- time_zone: Europe/Lisbon
- # Customization file
- ## WHITELIST
- whitelist_external_dirs:
- - /home/homeassistant/.homeassistant/script
- #customize: !include customize.yaml
- # Show links to resources in log and frontend
- #introduction:
- api:
- # Enables the frontend
- frontend:
- # Enables configuration UI
- config:
- ffmpeg:
- ffmpeg_bin: /usr/bin/ffmpeg
- http:
- # Secrets are defined in the file secrets.yaml
- # api_password: !secret http_password
- # Uncomment this if you are using SSL/TLS, running in Docker container, etc.
- # base_url: example.duckdns.org:8123
- api_password: !secret http_password
- ssl_certificate: /etc/letsencrypt/live/skysurf.duckdns.org/fullchain.pem
- ssl_key: /etc/letsencrypt/live/skysurf.duckdns.org/privkey.pem
- ip_ban_enabled: True
- base_url: !secret meu_dns
- login_attempts_threshold: 5
- # Checks for available updates
- # Note: This component will send some information about your system to
- # the developers to assist with development of Home Assistant.
- # For more information, please see:
- # https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
- updater:
- # Optional, allows Home Assistant developers to focus on popular components.
- # include_used_components: true
- # Discover some devices automatically
- discovery:
- # Allows you to issue voice commands from the frontend in enabled browsers
- conversation:
- # Enables support for tracking state changes over time
- history:
- # View all events in a logbook
- logbook:
- # Enables a map showing the location of tracked devices
- map:
- # Track the sun
- sun:
- #notificaçao
- notify:
- - platform: pushbullet
- name: certificado_cadocado
- api_key: !secret API_Notificaao_pushbullet
- #html5 notificaçao
- - name: html5_notificaçao_chrome
- platform: html5
- gcm_api_key: !secret API_Notificao_gcm-server-key
- gcm_sender_id: !secret API_Notificao_gcm-sender-id
- #combustiveis:
- #shell_command:
- #correr_combustiveis: '/home/homeassistant/.homeassistant/script/./fuel.info.sh -f "184685"'
- #combustiveis
- #shell_command:
- #correr_combustiveis: '/home/homeassistant/.homeassistant/script/./fuel.info.sh -f "184685"'
- #combustiveis:
- #shell_command:
- #correr_combustiveis: 'bash /home/homeassistant/.homeassistant/script/fuel.info.sh -f "184685"'
- #combustiveis
- #shell_command:
- #correr_combustiveis: 'bash /home/homeassistant/.homeassistant/script/fuel.info.sh -f "184685"'
- #combustiveis:
- #shell_command:
- # correr_combustiveis: 'bash -x /home/homeassistant/.homeassistant/script/fuel.info.sh -f "184685"'
- #combustiveis
- #shell_command:
- # correr_combustiveis: 'bash /home/homeassistant/.homeassistant/script/fuel.info.sh -f "184685"'
- # Weather prediction
- sensor:
- - platform: yr
- - platform: command_line
- name: Dias para o certificado SSL expirar
- unit_of_measurement: days
- scan_interval: 10800
- command: "ssl-cert-check -b -c /etc/letsencrypt/live/skysurf.duckdns.org/cert.pem | awk '{ print $NF }'"
- # Text to speech
- tts:
- - platform: google
- #combustiveis
- shell_command:
- #test: touch /home/homeassistant/.homeassistant/hassteste.txt
- correr_combustiveis: bash /home/homeassistant/.homeassistant/script/fuel.info.sh -f "184685"
- # Cloud
- cloud:
- #group: !include groups.yaml
- #automation: !include automations.yaml
- #script: !include scripts.yaml
- #sensor: !include sensors.yaml
- mqtt:
- broker: 127.0.0.1
- ## Example configuration.yaml entry
- media_player tv:
- - platform: samsungtv
- host: 192.168.1.50
- port: 8001
- #camera:
- # - platform: ffmpeg
- #input: http://192.168.1.105:5000/onvif/device_service
- # input: rtsp://192.168.1.105:554/onvif1
- #input: -rtsp_transport tcp -i rtsp://192.168.1.105:554/onvif1
- #- platform: onvif
- #host: 192.168.1.105
- #host: http://192.168.1.105:5000/onvif/device_service
- #username: "henriquejsferreira@gmail.com"
- #password: "uzgndn1234"
- #port: 554
- #port: 5000
- # name: Camera Loureço quarto
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement