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

 找回密码
 立即注册
查看: 4263|回复: 0

[已解决] homebridge 正常运行N天后报错,求救

[复制链接]

21

主题

178

帖子

1550

积分

金牌会员

Rank: 6Rank: 6

积分
1550
金钱
1372
HASS币
0
发表于 2017-8-16 21:38:26 | 显示全部楼层 |阅读模式
本帖最后由 wojoco 于 2017-8-17 12:33 编辑

日志如下:

[2017-8-16 21:35:25] [HomeAssistant] Initializing HomeAssistant platform...
[2017-8-16 21:35:25] [HomeAssistant] Fetching HomeAssistant devices.
[2017-8-16 21:35:25] [Broadlink RM] Initializing BroadlinkRM platform...
/usr/local/lib/node_modules/homebridge-broadlink-rm/node_modules/node-persist/src/local-storage.js:666
            throw Error('[PARSE-ERROR] ' + file + ' does not look like a valid storage file!');
            ^

Error: [PARSE-ERROR] /var/homebridge/plugin-persist/homebridge-broadlink-rm/7643b58dcdfc6982bc80f9041651be7f does not look like a valid storage file!
    at LocalStorage.parseFileSync (/usr/local/lib/node_modules/homebridge-broadlink-rm/node_modules/node-persist/src/local-storage.js:666:19)
    at LocalStorage.parseStorageDirSync (/usr/local/lib/node_modules/homebridge-broadlink-rm/node_modules/node-persist/src/local-storage.js:615:26)
    at LocalStorage.initSync (/usr/local/lib/node_modules/homebridge-broadlink-rm/node_modules/node-persist/src/local-storage.js:142:14)
    at Object.nodePersist.initSync (/usr/local/lib/node_modules/homebridge-broadlink-rm/node_modules/node-persist/src/node-persist.js:37:32)
    at Object.init (/usr/local/lib/node_modules/homebridge-broadlink-rm/node_modules/homebridge-platform-helper/helpers/persistentState.js:10:15)
    at BroadlinkRMPlatform.HomebridgePlatform (/usr/local/lib/node_modules/homebridge-broadlink-rm/node_modules/homebridge-platform-helper/platform.js:14:21)
    at BroadlinkRMPlatform (/usr/local/lib/node_modules/homebridge-broadlink-rm/index.js:11:1)
    at Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:294:32)
    at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:80:36)
    at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:40:10)

8月 16 21:41:20 raspberrypi systemd[1]: Unit homebridge.service entered failed state.
8月 16 21:41:30 raspberrypi systemd[1]: homebridge.service holdoff time over, scheduling restart.
8月 16 21:41:30 raspberrypi systemd[1]: Stopping Node.js HomeKit Server...
8月 16 21:41:30 raspberrypi systemd[1]: Starting Node.js HomeKit Server...
8月 16 21:41:30 raspberrypi systemd[1]: Started Node.js HomeKit Server.
8月 16 21:41:31 raspberrypi homebridge[2797]: *** WARNING *** The program 'node' uses the Apple Bonjou                             r compatibility layer of Avahi.
8月 16 21:41:31 raspberrypi node[2797]: *** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
8月 16 21:41:31 raspberrypi node[2797]: *** WARNING *** Please fix your application to use the native  API of Avahi!
8月 16 21:41:31 raspberrypi node[2797]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
8月 16 21:41:31 raspberrypi node[2797]: *** WARNING *** The program 'node' called 'DNSServiceRegister(          )' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Av      

感觉是博联插件出了问题;
然后更新博联插件 无解
试了坛内的方法   拷贝文件  无解
DNSServiceRegister ?
大神求救!!



回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-22 22:07 , Processed in 0.078307 second(s), 22 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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