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

 找回密码
 立即注册
查看: 9090|回复: 6

装完hassbian,电脑可进入pi:8123界面,如何安装homebridge?

[复制链接]

30

主题

441

帖子

1614

积分

金牌会员

Rank: 6Rank: 6

积分
1614
金钱
1173
HASS币
0
QQ
发表于 2017-10-8 21:58:28 | 显示全部楼层 |阅读模式
我也就刚刚安装完毕hassbian,用电脑进入pi:8123界面,接下来就不知道怎么安装homebridge?我手头有broadlink sp mini的wifi插座和一个海康威视萤石云C2W的wifi监控摄像头,不知道怎么接入?各位大神有空教下我哈,谢谢!还有,每次通过xshell写sodu命令让树莓派3b链接无线wifi,然后reboot了,反复检查ssid和psk确认无误,可是每次都是失败的!!!明天附图给大家帮忙看看
回复

使用道具 举报

0

主题

35

帖子

112

积分

注册会员

Rank: 2

积分
112
金钱
77
HASS币
0
发表于 2017-10-9 13:42:13 | 显示全部楼层
https://post.smzdm.com/p/594463/?nozhiyou
看这个页面,上面有提示让你如何装homebridge
回复

使用道具 举报

39

主题

749

帖子

4833

积分

论坛元老

Freddy.

Rank: 8Rank: 8

积分
4833
金钱
4059
HASS币
0

最佳新人卓越贡献

发表于 2017-10-13 16:44:28 | 显示全部楼层
论坛一大把安装教程,请善用搜索!
回复

使用道具 举报

1

主题

36

帖子

190

积分

注册会员

Rank: 2

积分
190
金钱
154
HASS币
0
发表于 2017-10-21 17:00:37 | 显示全部楼层
starting version 3.2.2
[ADD-ON] Ensuring old PID files are absent
[ADD-ON] Ensuring D-Bus unique ID exists
[ADD-ON] Starting D-Bus daemon
[ADD-ON] Starting Avahi daemon
Found user 'avahi' (UID 86) and group 'avahi' (GID 86).
Successfully dropped root privileges.
avahi-daemon 0.6.32 starting up.
WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
Successfully called chroot().
Successfully dropped remaining capabilities.
Loading service file /services/sftp-ssh.service.
Loading service file /services/ssh.service.
*** WARNING: Detected another IPv4 mDNS stack running on this host. This makes mDNS unreliable and is thus not recommended. ***
Joining mDNS multicast group on interface hassio.IPv4 with address 172.30.32.1.
New relevant interface hassio.IPv4 for mDNS.
Joining mDNS multicast group on interface docker0.IPv4 with address 172.17.0.1.
New relevant interface docker0.IPv4 for mDNS.
Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.31.111.
New relevant interface eth0.IPv4 for mDNS.
Network interface enumeration completed.
Registering new address record for fe80::9034:b2ff:fe09:776 on vethc05f2a1.*.
Registering new address record for fe80::3090:29ff:fe8c:d9fb on veth9165183.*.
Registering new address record for fe80::ac9a:42ff:feb8:806d on veth509278e.*.
Registering new address record for fe80::dc2b:e5ff:fe3e:1c81 on vethab6b56e.*.
Registering new address record for fe80::42:20ff:fea4:3e8c on hassio.*.
Registering new address record for 172.30.32.1 on hassio.IPv4.
Registering new address record for fe80::42:d2ff:fe99:450a on docker0.*.
Registering new address record for 172.17.0.1 on docker0.IPv4.
Registering new address record for fe80::ee90:1208:ae0c:be51 on eth0.*.
Registering new address record for 192.168.31.111 on eth0.IPv4.
Server startup complete. Host name is hassio.local. Local service cookie is 2566166568.
[ADD-ON] Applying HAP NodeJS IPV6 HOTFIX
patching file /usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/eventedhttp.js
[ADD-ON] Starting Homebridge
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat? ... =DNSServiceRegister>
[10/21/2017, 1:56:31 AM] Loaded plugin: homebridge-homeassistant
[10/21/2017, 1:56:31 AM] Registering platform 'homebridge-homeassistant.HomeAssistant'
[10/21/2017, 1:56:31 AM] ---
[10/21/2017, 1:56:31 AM] There was a problem reading your config.json file.
[10/21/2017, 1:56:31 AM] Please try pasting your config.json file here to validate it: http://jsonlint.com
[10/21/2017, 1:56:31 AM]
/usr/lib/node_modules/homebridge/lib/server.js:197
    throw err;
    ^
SyntaxError: Unexpected token / in JSON at position 71
    at JSON.parse (<anonymous>)
    at Server._loadConfig (/usr/lib/node_modules/homebridge/lib/server.js:191:19)
    at new Server (/usr/lib/node_modules/homebridge/lib/server.js:52:38)
    at module.exports (/usr/lib/node_modules/homebridge/lib/cli.js:26:16)
    at Object.<anonymous> (/usr/lib/node_modules/homebridge/bin/homebridge:17:22)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
回复

使用道具 举报

1

主题

36

帖子

190

积分

注册会员

Rank: 2

积分
190
金钱
154
HASS币
0
发表于 2017-10-21 17:01:54 | 显示全部楼层
嘿siri 发表于 2017-10-21 17:00
starting version 3.2.2
[ADD-ON] Ensuring old PID files are absent
[ADD-ON] Ensuring D-Bus unique ID  ...

请问这个是出现什么错误了啊
回复

使用道具 举报

3

主题

79

帖子

631

积分

论坛积极会员

积分
631
金钱
552
HASS币
0
发表于 2017-10-22 18:58:35 | 显示全部楼层
二楼正解
回复

使用道具 举报

2

主题

105

帖子

385

积分

中级会员

Rank: 3Rank: 3

积分
385
金钱
280
HASS币
0
发表于 2017-11-6 09:30:11 | 显示全部楼层
找 addon,添加源后就可以了,网上教程很多,先搜索再来问比较好
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-22 20:05 , Processed in 0.189090 second(s), 31 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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