iorifly / homeassistantbackup

Backup do Homeassistant
0 stars 0 forks source link

configuration.yaml #2

Open iorifly opened 6 years ago

iorifly commented 6 years ago
homeassistant:
  # Name of the location where Home Assistant is running
  name: Home
  # Location required to calculate the time the sun rises and sets
  latitude: -22.7879
  longitude: -43.3032
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: -1161
  # 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: America/Sao_Paulo
  # Customization file
  customize: !include customize.yaml

# Show links to resources in log and frontend
#introduction:

# Enables the frontend
frontend:

# Enables configuration UI
config:

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

# 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:

# Weather prediction
#sensor:
#  - platform: yr

# Text to speech
#tts:
#  - platform: google

#Transmission
  - platform: transmission
    host: 192.168.1.69
    username: admin
    password: admin
    monitored_variables:
      #- 'current_status'
      - 'download_speed'
      - 'upload_speed'
      - 'active_torrents'

#Tplink
switch:

  - platform: tplink
    host: 192.168.1.177

# kodi
media_player:
  - platform: kodi
    host: 192.168.1.163

  - platform: spotify
    client_id: 
    client_secret: 

mqtt:
  broker: m12.cloudmqtt.com
  port: 14647
  client_id: homeassistant
  username: ha
  password: ha

 #IFTTT
ifttt:
    key: 

#Integrando localizador - owntracks
device_tracker:
  - platform: owntracks
    #max_gps_accuracy: 50
    track_new_devices: true 

#Fita Led RGB
light:
  - platform: flux_led
    automatic_add: True    
    name: Led
    effect: blue_fade    

# Sonoff Switches

input_boolean:
    sonoff_switch_1:
        name: Luz Entrada 
        initial: off
    sonoff_switch_2:
        name: Luz Principal
        initial: off
    sonoff_switch_3:
        name: Luz Jantar
        initial: off
    sonoff_switch_4:
        name: Luz Home
        initial: off
    sonoff_switch_5:
        name: Luz Piscina
        initial: off

#Zonas Lovalização    
zone 1:
  name: Trabalho
  latitude: -22.791150
  longitude: -43.306659
  radius: 100
  icon: mdi:worker

# Cloud
cloud:

panel_iframe:
  configurator:
    title: Configurator
    icon: mdi:wrench
    url: http://192.168.1.158:3218

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
iorifly commented 6 years ago
homeassistant:
  # Name of the location where Home Assistant is running
  name: Home
  # Location required to calculate the time the sun rises and sets
  latitude: -22.7879
  longitude: -43.3032
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: -1161
  # 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: America/Sao_Paulo
  # Customization file
  customize: !include customize.yaml

# Show links to resources in log and frontend
#introduction:

# Enables the frontend
frontend:

# Enables configuration UI
config:

http:
  api_password: 
  # 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

# 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:

# Weather prediction
#sensor:
#  - platform: yr

# Text to speech
#tts:
#  - platform: google

#Transmission
  - platform: transmission
    host: 192.168.1.69
    username: admin
    password: admin
    monitored_variables:
      #- 'current_status'
      - 'download_speed'
      - 'upload_speed'
      - 'active_torrents'

sensor:
  - platform: yweather
    monitored_conditions:
    - temperature

#Tplink
switch:
  - platform: tplink
    host: 192.168.1.177
  - platform: wake_on_lan
    name: PC_Escritorio
    mac_address: 70:71:bc:b5:1e:97

# kodi
media_player:
  - platform: kodi
    host: 192.168.1.163

  - platform: spotify
    client_id: 
    client_secret: 

mqtt:
  broker: m12.cloudmqtt.com
  port: 14647
  client_id: homeassistant
  username: ha
  password: ha

 #IFTTT
ifttt:
    key: 

#Integrando localizador - owntracks
device_tracker:
  - platform: owntracks
    #max_gps_accuracy: 50
    track_new_devices: true 
  - platform: nmap_tracker
    hosts: 
    - 192.168.1.85
    - 192.168.1.7
    home_interval: 20

#Fita Led RGB
light:
  - platform: flux_led
    automatic_add: True    
    name: Led
    effect: blue_fade    

# Sonoff Switches

input_boolean:
    sonoff_switch_1:
        name: Luz Entrada 
        initial: off
    sonoff_switch_2:
        name: Luz Principal
        initial: off
    sonoff_switch_3:
        name: Luz Jantar
        initial: off
    sonoff_switch_4:
        name: Luz Home
        initial: off
    sonoff_switch_5:
        name: Luz Piscina
        initial: off

#Zonas Lovalização    
zone 1:
  name: Trabalho
  latitude: -22.791150
  longitude: -43.306659
  radius: 100
  icon: mdi:worker

# Cloud
cloud:
  google_actions:
    filter:
      include_entities:
        - script.1528942102635
        - script.1529010504913
        - script.1529010611103
        - media_player.kodi
      include_domains:
        - media_player
        - group.all_scripts

panel_iframe:
  configurator:
    title: Configurator
    icon: mdi:wrench
    url: http://192.168.1.158:3218

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml