Closed stephandue closed 8 years ago
Hmm... something's amiss here, because you're loading an old version of the ZWayServer plugin from the legacy-plugins module. Can you npm list -g homebridge-legacy-plugins
and npm list -g homebridge-way
and post the result here?
Thanks for the quick feedback. Sure:
pi@raspberrypi ~ $ npm list -g homebridge-legacy-plugins /usr/local/lib └── homebridge-legacy-plugins@0.2.0
pi@raspberrypi ~ $ npm list -g homebridge-way /usr/local/lib └── (empty)
npm ERR! code 1
Thanks Stephan
Did you forget a z in the homebridge-way? If so here´s the result with the z: pi@raspberrypi ~ $ npm list -g homebridge-zway /usr/local/lib └── homebridge-zway@0.4.0
Just deinstalled the legacy plugins, still same result:
homebridge * WARNING * The program 'node' 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=node * WARNING * The program 'node' 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=node&f=DNSServiceRegister Loaded plugin: homebridge-zway Registering accessory 'homebridge-zway.ZWayServer'
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
┌────────────┐
│ 031-45-154 │
└────────────┘
Homebridge is running on port 51826.
Found the error. For some reason I named the file json.config instead of config.json. Best, Stephan
I just notices why I did that mistake. It´s wrong in your documentation:
sudo npm install -g homebridge (See the Homebridge project site for more information) sudo npm install -g homebridge-zway Edit ~/.homebridge/json.config and add the following:
That explains it, that's two of you to do that now. Will correct today.
Hi, I run zway and homebridge on a Paspberry Pi2. When I start the homebridge everything seems fine but my Smarhome App´s like "Eve" or "myHome" just see the homebridge no zway or any devices from there. I only installed a danalock in zway which works fine from there.
Here´s what I get when I run homebridge:
`pi@raspberrypi ~ $ homebridge * WARNING * The program 'node' 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=node * WARNING * The program 'node' 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=node&f=DNSServiceRegister Loaded plugin: homebridge-legacy-plugins Registering accessory 'homebridge-legacy-plugins.AD2USB' Registering accessory 'homebridge-legacy-plugins.Carwings' Registering accessory 'homebridge-legacy-plugins.ELKM1' Registering accessory 'homebridge-legacy-plugins.FileSensor' Registering accessory 'homebridge-legacy-plugins.GenericRS232Device' Registering accessory 'homebridge-legacy-plugins.HomeMatic' Registering accessory 'homebridge-legacy-plugins.HomeMaticThermo' Registering accessory 'homebridge-legacy-plugins.HomeMaticWindow' Registering accessory 'homebridge-legacy-plugins.HttpGarageDoorOpener' Registering accessory 'homebridge-legacy-plugins.HttpHygrometer' Registering accessory 'homebridge-legacy-plugins.HttpThermometer' Registering accessory 'homebridge-legacy-plugins.Tesla' Registering accessory 'homebridge-legacy-plugins.X10' Registering accessory 'homebridge-legacy-plugins.mpdclient' Registering platform 'homebridge-legacy-plugins.Domoticz' Registering platform 'homebridge-legacy-plugins.HomeAssistant' Registering platform 'homebridge-legacy-plugins.HomeSeer' Registering platform 'homebridge-legacy-plugins.ISY' Registering platform 'homebridge-legacy-plugins.LIFx' Registering platform 'homebridge-legacy-plugins.SmartThings' Registering platform 'homebridge-legacy-plugins.TelldusLive'
Registering platform 'homebridge-legacy-plugins.ZWayServer'
Loaded plugin: homebridge-zway Registering accessory 'homebridge-zway.ZWayServer'
Registering platform 'homebridge-zway.ZWayServer'
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
Homebridge is running on port 51826.`
And here´s my json.config: `{ "bridge": { "name": "Homebridge", "username": "CC:22:3D:E3:CE:30", "port": 51826, "pin": "031-45-154" },
}`
Many Thanks Stephan