configuration.yaml
homeassistant:
# Name of the location where Home Assistant is running
name: Home
# Location required to calculate the time the sun rises and sets
latitude: 51
longitude: 5
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: -1
# 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/Amsterdam
# Customization file
customize: !include_dir_merge_list customize/
ios:
# 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: my_api
# 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:
ignore:
- apple_tv
# 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:
# Text to speech
tts:
- platform: google
# Cloud
cloud:
#zha:
# usb_path: /dev/ttyUSB0
# database_path: zigbee.db
rfxtrx:
device: /dev/ttyUSB0
# Z-Wave
zwave:
usb_path: /dev/ttyACM0
device_tracker:
- platform: bluetooth_tracker
new_device_defaults:
track_new_devices: True
hide_if_away: False
# MQTT
mqtt:
broker: core-mosquitto
birth_message:
topic: 'hass/status'
payload: 'online'
will_message:
topic: 'hass/status'
payload: 'offline'
sensor: !include sensors.yaml
switch: !include switches.yaml
group: !include groups.yaml
automation: !include_dir_merge_list automations/
script: !include scripts.yaml
light:
- platform: rfxtrx
automatic_add: True
binary_sensor:
platform: rfxtrx
automatic_add: True
hassio host hardware:
{
"result": "ok",
"data": {
"serial": [
"/dev/ttyUSB0",
"/dev/ttyAMA0",
"/dev/ttyACM0"
],
"input": [],
"disk": [],
"gpio": [
"gpiochip0",
"gpiochip100"
],
"audio": {
"0": {
"name": "bcm2835 - bcm2835 ALSA",
"type": "ALSA",
"devices": {
"0": "digital audio playback",
"1": "digital audio playback"
}
}
}
}
}
hassio ha start:
DEBUG [CmdHomeassistant]: action->'start', endpoint='start', serverOverride->'', GET->'false', options->'', rawjson->'false', filter->''
DEBUG [ExecCommand]: basepath->'homeassistant', endpoint->'start', serverOverride->'', get->'false', Options->'', Filter->'', RawJSON->'false'
DEBUG [GenerateURI]: basepath->'homeassistant', endpoint->'start', serverOverride->''
DEBUG [RestCall]: data->'http://hassio/homeassistant/start', GET->'false', payload->''
DEBUG [RestCall]: ResponseBody->'{"result": "error", "message": null}'
ERROR
panic: interface conversion: interface is nil, not string
goroutine 1 [running]:
panic(0x2c5f60, 0x1070b380)
/home/travis/.gimme/versions/go1.7.6.linux.amd64/src/runtime/panic.go:500 +0x33c
github.com/home-assistant/hassio-cli/command/helpers.DisplayOutput(0x107f0000, 0x24, 0x200, 0x0)
/home/travis/gopath/src/github.com/home-assistant/hassio-cli/command/helpers/common.go:118 +0x3c8
github.com/home-assistant/hassio-cli/command/helpers.ExecCommand(0x2f5e63, 0xd, 0x7efcde51, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/travis/gopath/src/github.com/home-assistant/hassio-cli/command/helpers/common.go:155 +0x308
github.com/home-assistant/hassio-cli/command.CmdHomeassistant(0x10778420)
/home/travis/gopath/src/github.com/home-assistant/hassio-cli/command/homeassistant.go:48 +0x540
github.com/urfave/cli.HandleAction(0x2ae6d8, 0x323754, 0x10778420, 0x0, 0x0)
/home/travis/gopath/src/github.com/urfave/cli/app.go:503 +0xf0
github.com/urfave/cli.Command.Run(0x2f5e63, 0xd, 0x0, 0x0, 0x409d10, 0x1, 0x1, 0x300cfa, 0x2f, 0x0, ...)
/home/travis/gopath/src/github.com/urfave/cli/command.go:165 +0x6b8
github.com/urfave/cli.(*App).Run(0x107668c0, 0x1070a140, 0x4, 0x4, 0x0, 0x0)
/home/travis/gopath/src/github.com/urfave/cli/app.go:259 +0x8b0
main.main()
/home/travis/gopath/src/github.com/home-assistant/hassio-cli/main.go:22 +0x108