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

 找回密码
 立即注册
楼主: yinjiong

多M1支持来了!斐讯空气检测仪M1插件for HA 3.0.1

  [复制链接]

0

主题

15

帖子

63

积分

注册会员

Rank: 2

积分
63
金钱
48
HASS币
0
发表于 2019-8-23 08:17:22 | 显示全部楼层
小白求助,,一步一步的按照说明做的,,HA 似乎无法启动,log 日志如下,,有大佬帮忙指点一下吗:
custom_ui 也弄了,所有的配置文件都按照楼主写的弄了


2019-08-23 00:15:46 ERROR (MainThread) [homeassistant.config] Invalid config for [homeassistant]: extra keys not allowed @ data['custom_ui']. Got 'local'
extra keys not allowed @ data['customizer']. Got None
extra keys not allowed @ data['extra_html_url']. Got ['/local/custom_ui/state-card-custom-ui.html', '/local/custom_ui/state-card-custom-phicomm-aircat.html']
extra keys not allowed @ data['extra_html_url_es5']. Got ['/local/custom_ui/state-card-custom-ui-es5.html', '/local/custom_ui/state-card-custom-phicomm-aircat.html']
extra keys not allowed @ data['frontend']. Got None
extra keys not allowed @ data['hide_attributes']. Got ['node_id', 'value_index']
invalid latitude for dictionary value @ data['latitude']. Got None
invalid longitude for dictionary value @ data['longitude']. Got None
invalid slug phicomm-1 (try phicomm_1) for dictionary value @ data['packages']. Got OrderedDict([('phicomm-1', OrderedDict([('sensor', [OrderedDict([('platform', 'PhicommAirDetector'), ('name', 'm1'), ('devices', OrderedDict([('a', OrderedDict([('B0:F6:91:11:54:2F', 'input_number.phicomm_m1a_led')])), ('b', OrderedDict([('B0:F6:91:1D:A5:30', 'input_number.phicomm_m1b_led')]))])), ('tokenPath', '/config/phicomm_token.txt')])]), ('input_number', OrderedDict([('phicomm_m1a_led', OrderedDict([('name', '屏幕亮度'), ('icon', 'mdi:led-on'), ('initial', 50), ('min', 0), ('max', 50), ('s.... (See /config/configuration.yaml, line 2).
2019-08-23 00:15:46 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/app/homeassistant/core.py", line 1118, in async_call
    raise ServiceNotFound(domain, service) from None
homeassistant.exceptions.ServiceNotFound: (ServiceNotFound(...), 'Service persistent_notification.create not found')
回复

使用道具 举报

0

主题

16

帖子

65

积分

注册会员

Rank: 2

积分
65
金钱
49
HASS币
0
发表于 2019-8-23 16:38:48 | 显示全部楼层
这个赞,下来看看
回复

使用道具 举报

9

主题

135

帖子

745

积分

高级会员

Rank: 4

积分
745
金钱
610
HASS币
0
发表于 2019-8-24 10:41:19 | 显示全部楼层
学习下。。。。。。
回复

使用道具 举报

0

主题

7

帖子

25

积分

新手上路

Rank: 1

积分
25
金钱
18
HASS币
0
发表于 2019-8-25 12:27:03 | 显示全部楼层
好帖,强烈支持,mark学习!
回复

使用道具 举报

0

主题

7

帖子

30

积分

新手上路

Rank: 1

积分
30
金钱
23
HASS币
0
发表于 2019-8-25 22:25:11 | 显示全部楼层
就看过
公司的感受到公司的风格
回复

使用道具 举报

0

主题

3

帖子

18

积分

新手上路

Rank: 1

积分
18
金钱
15
HASS币
0
发表于 2019-8-26 10:35:10 | 显示全部楼层
不会弄啊
回复

使用道具 举报

0

主题

3

帖子

18

积分

新手上路

Rank: 1

积分
18
金钱
15
HASS币
0
发表于 2019-8-26 19:17:52 | 显示全部楼层
看看
回复

使用道具 举报

0

主题

101

帖子

484

积分

中级会员

Rank: 3Rank: 3

积分
484
金钱
383
HASS币
0
发表于 2019-8-26 22:57:17 | 显示全部楼层
感谢分享!
回复

使用道具 举报

0

主题

101

帖子

484

积分

中级会员

Rank: 3Rank: 3

积分
484
金钱
383
HASS币
0
发表于 2019-8-27 00:15:59 | 显示全部楼层
billy1101 发表于 2018-1-29 22:08
我的现在也是不显示数据,只有一个屏幕亮度调节,而且还不起作用,数据显示全是null
一直显示OSError: [Er ...

请问问题解决了没?
我也同样情况
回复

使用道具 举报

0

主题

101

帖子

484

积分

中级会员

Rank: 3Rank: 3

积分
484
金钱
383
HASS币
0
发表于 2019-8-27 00:28:16 | 显示全部楼层
请教一下
“那些只能看到亮度调节和重试的,custom ui安装了没?按照李白大神的帖子Frontend也加一下!”
custom ui 的安装就是把李白大神帖子里的M1 Custom UI 2.0.rar这个文件解压到hs目录下就可以了?
Frontend添加就是在configuration.yaml里以下
frontend:
  extra_html_url:
    - /local/custom_ui/state-card-custom-ui.html
    - /local/custom_ui/state-card-custom-phicomm-aircat.html
  extra_html_url_es5:
    - /local/custom_ui/state-card-custom-ui-es5.html
    - /local/custom_ui/state-card-custom-phicomm-aircat.html
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-5-2 23:58 , Processed in 0.068193 second(s), 36 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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