『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
楼主: 废柴工程师

[已解决] 我也想用上hassio可是实力不允许啊

[复制链接]

9

主题

102

帖子

387

积分

中级会员

Rank: 3Rank: 3

积分
387
金钱
285
HASS币
0
 楼主| 发表于 2019-9-7 15:44:02 | 显示全部楼层
lunare 发表于 2019-9-7 15:36
删了最后我的配置文件也没那行
# Configure a default setup of Home Assistant (frontend, api, etc)
defa ...

删除configuration.yaml文件的第13行和第14行重启以后恢复正常
003.png
004.png
不过这位大大你的这个文件跟我的不一样
回复

使用道具 举报

9

主题

102

帖子

387

积分

中级会员

Rank: 3Rank: 3

积分
387
金钱
285
HASS币
0
 楼主| 发表于 2019-9-7 15:47:04 | 显示全部楼层
lunare 发表于 2019-9-7 15:31
customize: !include customize.yaml
这行删了 好像我昨天重新安装了0.98.4
也是因为这个 ...

我用的是这位恩山坛友的配置文件,图片带连接
005.png
回复

使用道具 举报

9

主题

102

帖子

387

积分

中级会员

Rank: 3Rank: 3

积分
387
金钱
285
HASS币
0
 楼主| 发表于 2019-9-7 15:48:34 | 显示全部楼层
# Customization file
  customize: !include customize.yaml
这两行自定义文件夹自定义文件?????
回复

使用道具 举报

1

主题

94

帖子

477

积分

论坛积极会员

积分
477
金钱
383
HASS币
0
发表于 2019-9-7 15:58:29 | 显示全部楼层
0.97的时候这行东西是正常的
更新到0.98的时候就报错了

回复

使用道具 举报

14

主题

660

帖子

3975

积分

论坛元老

Rank: 8Rank: 8

积分
3975
金钱
3310
HASS币
10
发表于 2019-9-7 15:58:44 | 显示全部楼层
最后两行有问题吧
回复

使用道具 举报

9

主题

102

帖子

387

积分

中级会员

Rank: 3Rank: 3

积分
387
金钱
285
HASS币
0
 楼主| 发表于 2019-9-7 16:02:20 | 显示全部楼层
余歌唱晚 发表于 2019-9-7 15:58
最后两行有问题吧

log里面提示这一段有问题customize: !include customize.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: 34.0494
  longitude: -118.2641
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 0
  # metric for Metric, imperial for Imperial
  unit_system: imperial
  # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  time_zone: America/Los_Angeles
  # Customization file
  customize: !include customize.yaml

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

# Cloud
cloud:

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
homeassistant:
        packages: !include_dir_named packages


回复

使用道具 举报

14

主题

660

帖子

3975

积分

论坛元老

Rank: 8Rank: 8

积分
3975
金钱
3310
HASS币
10
发表于 2019-9-8 01:39:30 | 显示全部楼层
废柴工程师 发表于 2019-9-7 16:02
log里面提示这一段有问题customize: !include customize.yaml,删除以后可以访问了,您指最下面的也有问 ...

你出现了两个homeassistant: 是不对的  packages 应该是和name等最上面一部分对齐的
回复

使用道具 举报

14

主题

660

帖子

3975

积分

论坛元老

Rank: 8Rank: 8

积分
3975
金钱
3310
HASS币
10
发表于 2019-9-8 01:41:23 | 显示全部楼层
废柴工程师 发表于 2019-9-7 16:02
log里面提示这一段有问题customize: !include customize.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: 34.0494
  longitude: -118.2641
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 0
  # metric for Metric, imperial for Imperial
  unit_system: imperial
  # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  time_zone: America/Los_Angeles
  # Customization file
  customize: !include customize.yaml
  packages: !include_dir_named 

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

# Cloud
cloud:

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

回复

使用道具 举报

9

主题

102

帖子

387

积分

中级会员

Rank: 3Rank: 3

积分
387
金钱
285
HASS币
0
 楼主| 发表于 2019-9-8 08:10:54 | 显示全部楼层

谢谢您帮我修改,昨天晚上我又搞了好久,路由器劫持成功了,但是DC1还是在HA里面控制不了,不知道跟这里有没有关系
回复

使用道具 举报

9

主题

102

帖子

387

积分

中级会员

Rank: 3Rank: 3

积分
387
金钱
285
HASS币
0
 楼主| 发表于 2019-9-8 09:16:04 | 显示全部楼层

用了您修改的代码以后变成这个样子了 000.png



回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-12-29 00:13 , Processed in 0.585252 second(s), 32 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表