楼主好,我运行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>
[8/1/2017, 1:39:59 PM] Loaded plugin: homebridge-homeassistant
[8/1/2017, 1:39:59 PM] Registering platform 'homebridge-homeassistant.HomeAssistant'
[8/1/2017, 1:39:59 PM] ---
/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)