Товарисчи, за помощью к вам.
устанавливаю homebridge в qnap, при запуске выдает вот это:
[spoiler]root
/root/.homebridge/.env not found.
Default env variables will be used.
Updating Homebridge.
/root/.homebridge/package.json not found.
/root/.homebridge/install.sh not found.
*** 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 <
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 <
0pointer.de/avahi-compat?s=libdns_sd&e=nodejs&f=DNSServiceRegister>
[2/10/2017, 4:27:36 PM] Loaded plugin: homebridge-fibaro-hc2
[2/10/2017, 4:27:36 PM] Registering platform 'homebridge-fibaro-hc2.FibaroHC2'
[2/10/2017, 4:27:36 PM] ---
[2/10/2017, 4:27:36 PM] config.json (/root/.homebridge/config.json) not found.
Load homebridge-fibaro-hc2.FibaroHC2
/usr/lib/node_modules/homebridge-fibaro-hc2/index.js:80
this.fibaroClient = require('./lib/fibaro-api').createClient(config["host"], config["username"], config["password"]);
^
TypeError: Cannot read property 'host' of null
at new FibaroHC2Platform (/usr/lib/node_modules/homebridge-fibaro-hc2/index.js:80:71)
at Server._loadDynamicPlatforms (/usr/lib/node_modules/homebridge/lib/server.js:315:30)
at Server.run (/usr/lib/node_modules/homebridge/lib/server.js:82:8)
at module.exports (/usr/lib/node_modules/homebridge/lib/cli.js:40:10)
at Object.<anonymous> (/usr/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)/spoiler]
созданные мною файлы по пути что просит прога, имею:
config.json
[spoiler]{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:31",
"port": 51826,
"pin": "000-11-000"
},
"description": "This is an example configuration file. You can use this as a template for creating your own configuration file.",
"platforms": [
{
"platform": "FibaroHC2",
"name": "FibaroHC2",
"host": "10.0.0.100:3656,
"username": "Admin",
"password": "Свой пароль",
"grouping": "room",
"pollerperiod": "2"
}
],
"accessories": [
]
}
/spoiler]
что делать и куда копать?