(homeassistant) homeassistant@localhost:/home/1$ virtualenv -p /srv/homeassistant/bin/python3 /srv/homeassistant
Running virtualenv with interpreter /srv/homeassistant/bin/python3
Please use the *system* python to run this script
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/virtualenv.py", line 2328, in <module>
main()
File "/usr/local/lib/python3.5/dist-packages/virtualenv.py", line 713, in main
symlink=options.symlink)
File "/usr/local/lib/python3.5/dist-packages/virtualenv.py", line 925, in create_environment
site_packages=site_packages, clear=clear, symlink=symlink))
File "/srv/homeassistant/lib/python3.5/posixpath.py", line 357, in abspath
if not isabs(path):
File "/srv/homeassistant/lib/python3.5/posixpath.py", line 64, in isabs
return s.startswith(sep)
AttributeError: 'NoneType' object has no attribute 'startswith'
(homeassistant) homeassistant@localhost:/home/1$
这样算安装成功了吗,英文不好,就看懂了个Error
android@localhost:~/.homebridge$ 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? ... ServiceRegister>
[3/18/2018, 10:25:09 AM] Loaded plugin: homebridge-homeassistant
[3/18/2018, 10:25:09 AM] Registering platform 'homebridge-homeassistant.HomeAssistant'
[3/18/2018, 10:25:09 AM] ---
[3/18/2018, 10:25:09 AM] Loaded config.json with 0 accessories and 1 platforms.
[3/18/2018, 10:25:09 AM] ---
[3/18/2018, 10:25:09 AM] Loading 1 platforms...
[3/18/2018, 10:25:09 AM] [HomeAssistant] Initializing HomeAssistant platform...
[3/18/2018, 10:25:09 AM] [HomeAssistant] Please set default_visibility in config.json to "hidden" or "visible".
[3/18/2018, 10:25:09 AM] [HomeAssistant] Fetching HomeAssistant devices.
[3/18/2018, 10:25:10 AM] [HomeAssistant] Received event: ping
[3/18/2018, 10:25:10 AM] [HomeAssistant] Initializing platform accessory 'mini_b_28d98a8e1b96'...
[3/18/2018, 10:25:10 AM] [HomeAssistant] Initializing platform accessory 'k2_28d98a05382b'...
[3/18/2018, 10:25:10 AM] [HomeAssistant] Initializing platform accessory 'deng'...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
Error: listen EADDRINUSE :::51826
at Object.exports._errnoException (util.js:1050:11)
at exports._exceptionWithHostPort (util.js:1073:20)
at Server.setupListenHandle [as _listen2] (net.js:1259:14)
at listenInCluster (net.js:1307:12)
at Server.listen (net.js:1406:7)
at EventedHTTPServer.listen (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/eventedhttp.js:60:19)
at HAPServer.listen (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:158:20)
at Bridge.Accessory.publish (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:557:16)
at Server._publish (/usr/lib/node_modules/homebridge/lib/server.js:114:16)
at Server.<anonymous> (/usr/lib/node_modules/homebridge/lib/server.js:372:14)