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: 46.xxxx
- longitude: 6.yyyy
- # Impacts weather/sunrise data (altitude above sea level in meters)
- elevation: 650
- # 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/Zurich
- # Customization file
- customize: !include customize.yaml
- # Package for LMS
- packages: !include_dir_named packages
- # LMS integration
- recorder:
- exclude:
- domains:
- - script
- - automation
- logger:
- default: critical
- ### Enable the logs below if you need to debug the application
- # logs:
- # homeassistant.components.shell_command: debug
- # homeassistant.components.intent_script: debug
- # homeassistant.components.dialogflow: debug
- homeassistant.components.media_player.squeezebox: debug
- media_player:
- - platform: squeezebox
- host: 192.168.1.35:9000
- # username: USER
- # password: PASWD
- dialogflow:
- intent_script:
- # Show links to resources in log and frontend
- introduction:
- # Enables the frontend
- frontend:
- # Enables configuration UI
- config:
- # Uncomment this if you are using SSL/TLS, running in Docker container, etc.
- http:
- base_url: https://XXXX.duckdns.org:8123
- ssl_certificate: /ssl/fullchain.pem
- ssl_key: /ssl/privkey.pem
- # Text to speech
- tts:
- - platform: google
- language: 'fr'
- cache: true
- cache_dir: /tmp/tts
- time_memory: 300
- base_url: https://XXXX.duckdns.org:8123
- # Cloud
- cloud:
- # Sideboard shortcut
- panel_iframe:
- lms:
- title: lms
- icon: mdi:music-circle-outline
- url: https://XXXX.duckdns.org:9000/material
- octoprint:
- title: Octoprint
- icon: mdi:printer-3d
- url: https://XXXX.duckdns.org:5000
- pihole:
- title: PiHole
- icon: mdi:block-helper
- url: https://XXXX.duckdns.org:4865
- ide:
- title: IDE
- icon: mdi:code-braces
- url: https://XXXX.duckdns.org:8321
- #Google assistant
- google_assistant:
- project_id: hassio-cb30b
- api_key: APIKEY
- exposed_domains:
- - switch
- - light
- - group
- # Presence detection
- device_tracker:
- - platform: provider
- host: 192.168.1.1
- # username: admin
- # password: PSWD
- interval_seconds: 10
- consider_home: 100
- new_device_defaults:
- track_new_devices: true
- hide_if_away: false
- # 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:
- # Harmony remote
- remote:
- - platform: harmony
- name: HarmonyHub
- host: 192.168.1.108
- # Sensors
- sensor:
- # PiHole
- - platform: pi_hole
- host: 192.168.1.2:4865
- location: admin
- ssl: true
- verify_ssl: false
- monitored_conditions:
- - ads_blocked_today
- - ads_percentage_today
- - dns_queries_today
- - domains_being_blocked
- - queries_cached
- - queries_forwarded
- - unique_clients
- - unique_domains
- - unique_domains
- #Weather
- - platform: darksky
- api_key: APIKEY
- forecast:
- - 0
- latitude: 46.xxxx
- longitude: 6.xxxx
- monitored_conditions:
- - summary
- - icon
- - temperature
- - precip_type
- - precip_intensity
- - precip_probability
- - wind_speed
- - wind_bearing
- - cloud_cover
- - moon_phase
- language: fr
- # Octoprint setup
- octoprint:
- host: 192.168.1.123
- api_key: APIKEY
- name: Prusa Mk3
- number_of_tools: 1
- bed: true
- sensors:
- monitored_conditions:
- - 'Current State'
- - 'Job Percentage'
- - 'Temperatures'
- - 'Time Elapsed'
- - 'Time Remaining'
- camera:
- - platform: mjpeg
- name: OctoPrint
- still_image_url: http://192.168.1.123/webcam/?action=snapshot
- mjpeg_url: http://192.168.1.123/webcam/?action=stream
- group: !include groups.yaml
- automation: !include automations.yaml
- script: !include scripts.yaml
- # light:
- light :
- - platform: mqtt
- name: "Cuisine"
- state_topic: "shellies/shelly1-1D9C90/relay/0"
- command_topic: "shellies/shelly1-1D9C90/relay/0/command"
- qos: 2
- payload_on: "on"
- payload_off: "off"
- - platform: mqtt
- name: "Salle-à-manger"
- state_topic: "shellies/shelly1-1D9337/relay/0"
- command_topic: "shellies/shelly1-1D9337/relay/0/command"
- qos: 2
- payload_on: "on"
- payload_off: "off"
- - platform: mqtt
- name: "Salon"
- state_topic: "shellies/shelly1-1D9586/relay/0"
- command_topic: "shellies/shelly1-1D9586/relay/0/command"
- qos: 2
- payload_on: "on"
- payload_off: "off"
- - platform: mqtt
- name: "Bureau"
- state_topic: "shellies/shelly1-1D9814/relay/0"
- command_topic: "shellies/shelly1-1D9814/relay/0/command"
- qos: 2
- payload_on: "on"
- payload_off: "off"
- - platform: mqtt
- name: "Lampadaire salon"
- state_topic: "shellies/shellybulb-2B97BC/color/0"
- command_topic: "shellies/shellybulb-2B97BC/color/0/command"
- rgb_state_topic: "shellies/shellybulb-2B97BC/color/0/status"
- brightness_state_topic: "shellies/shellybulb-2B97BC/color/0/status"
- rgb_command_topic: "shellies/shellybulb-2B97BC/color/0/set"
- brightness_command_topic: "shellies/shellybulb-2B97BC/color/0/set"
- payload_on: "on"
- payload_off: "off"
- rgb_command_template: '{ "mode":"color", "red":{{red}}, "green":{{green}}, "blue":{{blue}} }'
- rgb_value_template: "{{value_json.red}},{{value_json.green}},{{value_json.blue}}"
- brightness_scale: 100
- brightness_value_template: "{{ value_json.gain }}"
- #brightness_command_template: '{ "mode":"color", "gain":{{ brightness }} }'
- retain: false
- qos: 1
- optimistic: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement