Zzh0725
发表于 2017-8-3 16:26:25
支持下6总 很6啊
kamui
发表于 2017-8-3 17:38:57
懒是人类进步的动力;P;P;P;P
wqqs
发表于 2017-8-3 22:23:16
霸气侧漏啊;P
yuyakk
发表于 2017-8-4 09:25:16
玩得很溜啊~
kamui
发表于 2017-8-4 09:32:39
如果每个视频后面都跟上教程的链接就完美了
iamsmallk
发表于 2017-8-4 10:23:12
楼主好,我运行homebridge的时候出现了下面的警告,username 和 host 我都确认过填的是我自己pi的MAC地址 及 IP 地址。一晚上都在折腾这个,实在没招了故来求助
pi@hassbian:~ $ homebridge
*** WARNING *** The program 'nodejs' 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=nodejs>
*** WARNING *** The program 'nodejs' 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>
Loaded plugin: homebridge-homeassistant
Registering platform 'homebridge-homeassistant.HomeAssistant'
---
/usr/lib/node_modules/homebridge/lib/server.js:205
throw new Error('Not a valid username: ' + username + '. Must be 6 pairs of colon-' +
^
Error: Not a valid username: x:x:x:x:x:x. Must be 6 pairs of colon-separated hexadecimal chars (A-F 0-9), like a MAC address.
at Server._loadConfig (/usr/lib/node_modules/homebridge/lib/server.js:205:13)
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:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
囧
发表于 2017-8-4 10:31:54
iamsmallk 发表于 2017-8-4 10:23
楼主好,我运行homebridge的时候出现了下面的警告,username 和 host 我都确认过填的是我自己pi的MAC地址...
Not a valid username: x:x:x:x:x:x. Must be 6 pairs of colon-separated hexadecimal chars (A-F 0-9), like a MAC address.
username绝对有问题,你贴出来!以后问问题,把配置和错误都截图贴出来,养成好习惯。
iLee
发表于 2017-8-4 10:56:08
智能锁用的哪款?
iamsmallk
发表于 2017-8-4 11:59:29
Jones 发表于 2017-8-4 10:31
Not a valid username: x:x:x:x:x:x. Must be 6 pairs of colon-separated hexadecimal chars (A-F 0-9), ...
谢谢Jones的提醒,我以后会注意提问格式的哈。
错误截图及配置如下:
南柯醉一梦丶
发表于 2017-8-4 13:57:39
支持一下!~