I managed to get one step further by editing the config.json. I added one accessory and started Homebridge once more.
This time, I get a real error message:
Code: Select all
pi@raspberrypi:~$ 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?s=libdns_sd&e=nodejs&f=DNSServiceRegister>
[7/19/2016, 3:41:42 PM] Loaded plugin: homebridge-edomoticz
[7/19/2016, 3:41:42 PM] Registering accessory 'homebridge-edomoticz.eDomoticz'
[7/19/2016, 3:41:42 PM] Registering platform 'homebridge-edomoticz.eDomoticz'
[7/19/2016, 3:41:42 PM] ---
[7/19/2016, 3:41:42 PM] Loaded config.json with 1 accessories and 1 platforms.
[7/19/2016, 3:41:42 PM] ---
[7/19/2016, 3:41:42 PM] Loading 1 platforms...
[7/19/2016, 3:41:42 PM] [Domoticz] Initializing eDomoticz platform...
[7/19/2016, 3:41:42 PM] [Domoticz] Fetching Domoticz lights and switches...
[7/19/2016, 3:41:42 PM] Loading 1 accessories...
/usr/lib/node_modules/homebridge/lib/api.js:46
if (name.indexOf('.') == -1) {
^
TypeError: Cannot read property 'indexOf' of undefined
at API.accessory (/usr/lib/node_modules/homebridge/lib/api.js:46:11)
at Server._loadAccessories (/usr/lib/node_modules/homebridge/lib/server.js:233:42)
at Server.run (/usr/lib/node_modules/homebridge/lib/server.js:72:38)
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:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)