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

 找回密码
 立即注册
查看: 3144|回复: 1

[教程系列] 【求助】node-red的Xiaomi-miio插件好像支持有问题?

[复制链接]

1

主题

29

帖子

122

积分

注册会员

Rank: 2

积分
122
金钱
93
HASS币
0
发表于 2019-1-25 01:37:35 | 显示全部楼层 |阅读模式
按照大佬的帖子 https://bbs.hassbian.com/forum.php?mod=viewthread&tid=5217 想配置小米的插件,但是node-red一旦装上xiaomi-miio的节点就会崩掉,看日志应该是某个设备undefined了,但是没看见大家有这样的问题,因此想来问一下,但是我什么都没额外配置啊?

[img]blob:https://bbs.hassbian.com/304673d6-15de-45f5-a64a-9fa2ad5f40b7[/img]
回复

使用道具 举报

1

主题

29

帖子

122

积分

注册会员

Rank: 2

积分
122
金钱
93
HASS币
0
 楼主| 发表于 2019-1-25 01:38:39 | 显示全部楼层
日志是这样的
Detected device with identifier  111789220  types  Set { 'miio' }  model  xiaomi.repeater.v3
Skip device: 111789220 type:repeater
Detected device with identifier  56803100  types  Set { 'sensor', 'miio:gateway', 'miio' }  model  lumi.gateway.v3
Detected device with identifier  158d0002532d4b  types  Set { 'miio', 'miio:subdevice', 'sub-thing' }  model  lumi.generic.18
Unknown model  lumi.generic.18
Skip device: 158d0002532d4b type:unknown
Detected device with identifier  88163627  types  Set { 'miio:power-plug', 'miio', 'power-outlet', 'power-plug' }  model  chuangmi.plug.m1
Unknown model  chuangmi.plug.m1
Skip device: 88163627 type:unknown
25 Jan 01:31:40 - [red] Uncaught Exception:
25 Jan 01:31:40 - SyntaxError: Unexpected token u in JSON at position 0
nodered.service: Main process exited, code=exited, status=1/FAILURE
nodered.service: Unit entered failed state.
nodered.service: Failed with result 'exit-code'.
nodered.service: Service hold-off time over, scheduling restart.
Stopped Node-RED graphical event wiring tool.
Started Node-RED graphical event wiring tool.
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-4-20 11:05 , Processed in 2.846220 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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