Home assistant

From IOT4
Revision as of 08:38, 6 June 2017 by Admin (talk | contribs) (Created page with "First install the https://home-assistant.io/docs/hassbian/installation/ Home Assisstant from the original page. <source lang=yaml> homeassistant: # Name of the locatio...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

First install the [Home Assisstant] from the original page.

homeassistant:
  # Name of the location where Home Assistant is running
  name: Eger
  # Location required to calculate the time the sun rises and sets
  latitude: 47.8934066
  longitude: 20.3800463
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 166
  # 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/Budapest


zone:
  name: Hadnagy
  latitude:  47.8934066
  longitude: 20.3800463
  radius: 50
  icon: mdi:home

# Show links to resources in log and frontend
introduction:

# Enables the frontend
frontend:

http:
  # Uncomment this to add a password (recommended!)
  # api_password: PASSWORD
  # Uncomment this if you are using SSL or running in Docker etc
  # base_url: example.duckdns.org:8123

# Checks for available updates
updater:

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

# Track the sun
sun:

# Weather Prediction
sensor:
- platform: yr
- platform: mqtt
  state_topic: "/iot4/switch/IOT4SH01DS_122F85/temperature"
  name: "Nappali"
  unit_of_measurement: "C"
- platform: mqtt
  state_topic: "/iot4/switch/IOT4SH02RELAY2_DS_dolgozo/temperature/0"
  name: "Dolgozo radiátor"
  unit_of_measurement: "C"
- platform: mqtt
  state_topic: "/iot4/switch/IOT4SH02RELAY2_DS_dolgozo/temperature/1"
  name: "Kint"
  unit_of_measurement: "C"
- platform: mqtt
  state_topic: "/iot4/switch/IOT4SH02RELAY2_DS_dolgozo/temperature/2"
  name: "Dolgozó"
  unit_of_measurement: "C"
- platform: mqtt
  state_topic: "/iot4/switch/IOT4SH01RELAY1_DS_CFEDB3/humidity"
  name: "Fürdő páratartalom"
  unit_of_measurement: "%"
- platform: mqtt
  state_topic: "/iot4/IOT4SH01BME_E4B879/humidity"
  name: "Nappali páratartalom"
  unit_of_measurement: "%"
- platform: mqtt
  state_topic: "/iot4/IOT4SH01BME_E4B879/temperature"
  name: "Nappali BME hőmérséklet"
  unit_of_measurement: "C"
- platform: mqtt
  state_topic: "/iot4/IOT4SH01BME_E4B879/pressure"
  name: "Nappali BME légnyomás"
  unit_of_measurement: "hPa"








switch:
- platform: mqtt
  name: "LED"
  state_topic: "/iot4/switch/LED/relay/0"
  command_topic: "/iot4/switch/LED/relay/0"
  payload_on: "1"
  payload_off: "0"
- platform: mqtt
  name: "Fel"
  state_topic: "/iot4/IOT4SH02_BLINDER_828D81/relay/0"
  command_topic: "/iot4/IOT4SH02_BLINDER_828D81/relay/0"
  payload_on: "1"
  payload_off: "0"
- platform: mqtt
  name: "Le"
  state_topic: "/iot4/IOT4SH02_BLINDER_828D81/relay/1"
  command_topic: "/iot4/IOT4SH02_BLINDER_828D81/relay/1"
  payload_on: "1"
  payload_off: "0"




# Text to speech
tts:
  platform: google

mqtt:
  broker: localhost
  port: 1883
  client_id: home-assistant-1
  keepalive: 60
  username: None
  password: None
#  certificate: /home/paulus/dev/addtrustexternalcaroot.crt
  protocol: 3.1.1