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

 找回密码
 立即注册
查看: 3914|回复: 11

[求助] 净化器修改了IP跟token显示这个错误 是啥意思

[复制链接]

5

主题

41

帖子

245

积分

中级会员

Rank: 3Rank: 3

积分
245
金钱
204
HASS币
0
发表于 2019-4-9 01:08:26 | 显示全部楼层 |阅读模式
求助.png
求助 净化器修改了IP跟token显示这个错误 是啥意思》?
回复

使用道具 举报

23

主题

1335

帖子

6589

积分

超级版主

Rank: 8Rank: 8

积分
6589
金钱
5229
HASS币
100

教程狂人

发表于 2019-4-9 06:51:43 | 显示全部楼层
感觉是别的问题,贴一下你的配置
回复

使用道具 举报

5

主题

41

帖子

245

积分

中级会员

Rank: 3Rank: 3

积分
245
金钱
204
HASS币
0
 楼主| 发表于 2019-4-9 11:26:08 | 显示全部楼层
natic 发表于 2019-4-9 06:51
感觉是别的问题,贴一下你的配置
homeassistant:
  # Name of the location where Home Assistant is running
  name: Home
  # Location required to calculate the time the sun rises and sets
  latitude: 32.0617
  longitude: 118.7778
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 0
  # metric for Metric, imperial for Imperial
  unit_system: metric
  # Pick yours from here: [url]http://en.wikipedia.org/wiki/List_of_tz_database_time_zones[/url]
  time_zone: Asia/Shanghai
  customize_glob:
    "*.*":
      custom_ui_state_card: state-card-custom-ui
  # Customization file  
  packages: !include_dir_named packages
  

customizer:
  custom_ui: local
  hide_attributes:
    - node_id
    - value_index



frontend:
  extra_html_url:
    - /local/custom_ui/state-card-custom-ui.html
  extra_html_url_es5:
    - /local/custom_ui/state-card-custom-ui-es5.html





# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Show the introduction message on startup.
#introduction:


# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
#   base_url: example.duckdns.org:8123

# Discover some devices automatically
discovery:

# Sensors
sensor:
  # Weather prediction
  - platform: yr

# Text to speech
tts:
  - platform: google



fan:
  - platform: xiaomi_miio
    name: Xiaomi Air Purifier 2
    host: 192.168.1.57
    token: 3d8de126addffaf3cbf99911a3613c4b


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


回复

使用道具 举报

5

主题

41

帖子

245

积分

中级会员

Rank: 3Rank: 3

积分
245
金钱
204
HASS币
0
 楼主| 发表于 2019-4-9 11:43:38 | 显示全部楼层
natic 发表于 2019-4-9 06:51
感觉是别的问题,贴一下你的配置

QQ图片20190409112133.png QQ图片20190409112145.jpg
回复

使用道具 举报

5

主题

41

帖子

245

积分

中级会员

Rank: 3Rank: 3

积分
245
金钱
204
HASS币
0
 楼主| 发表于 2019-4-9 11:45:07 | 显示全部楼层
natic 发表于 2019-4-9 06:51
感觉是别的问题,贴一下你的配置

帮忙看一下,感谢
回复

使用道具 举报

23

主题

1335

帖子

6589

积分

超级版主

Rank: 8Rank: 8

积分
6589
金钱
5229
HASS币
100

教程狂人

发表于 2019-4-9 12:04:07 | 显示全部楼层
166513296 发表于 2019-4-9 11:26
[code]homeassistant:
  # Name of the location where Home Assistant is running
  ...

配置没毛病,修改ip和token啥意思?
回复

使用道具 举报

5

主题

41

帖子

245

积分

中级会员

Rank: 3Rank: 3

积分
245
金钱
204
HASS币
0
 楼主| 发表于 2019-4-9 15:37:12 | 显示全部楼层
natic 发表于 2019-4-9 12:04
配置没毛病,修改ip和token啥意思?

https://bbs.hassbian.com/forum.p ... mp;highlight=空气

用的是别人的 packages 改了自己空净的IP跟token,这个文件不放到packages 里检查配置正常,文件放进去就提示第一个截图的错误,是customUI我安装的不对么
回复

使用道具 举报

23

主题

1335

帖子

6589

积分

超级版主

Rank: 8Rank: 8

积分
6589
金钱
5229
HASS币
100

教程狂人

发表于 2019-4-9 17:30:39 | 显示全部楼层
166513296 发表于 2019-4-9 15:37
https://bbs.hassbian.com/forum.php?mod=viewthread&tid=6143&highlight=空气

用的是别人的 packages  ...

你把custom ui的配置删除掉再看看报错不
回复

使用道具 举报

5

主题

41

帖子

245

积分

中级会员

Rank: 3Rank: 3

积分
245
金钱
204
HASS币
0
 楼主| 发表于 2019-4-9 19:09:33 | 显示全部楼层
natic 发表于 2019-4-9 17:30
你把custom ui的配置删除掉再看看报错不

文档清空了还是报错,把文件删除就不报了 但是界面UI不显示
回复

使用道具 举报

5

主题

41

帖子

245

积分

中级会员

Rank: 3Rank: 3

积分
245
金钱
204
HASS币
0
 楼主| 发表于 2019-4-9 19:11:27 | 显示全部楼层
natic 发表于 2019-4-9 17:30
你把custom ui的配置删除掉再看看报错不

QQ图片20190409191010.png
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-5-20 03:41 , Processed in 0.387255 second(s), 35 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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