OK, I'm getting closer! I've got it stable with the homebridge http plugin with Json commands. However, I'm trying to get it working with the plugin this is the error I get.
This is my config file http://pastebin.com/G3qNhYsi
I see it says 1 platform and no accessories...I should definitely have 4 accessories.
PHP Code:
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>
[3/1/2017, 6:37:17 AM] Loaded plugin: homebridge-homeseer
[3/1/2017, 6:37:17 AM] Registering accessory 'homebridge-homeseer.HomeSeer'
[3/1/2017, 6:37:17 AM] Registering platform 'homebridge-homeseer.HomeSeer'
[3/1/2017, 6:37:17 AM] ---
[3/1/2017, 6:37:18 AM] Loaded plugin: homebridge-homeseer-plugin
homebridge API version: 2.1
[3/1/2017, 6:37:18 AM] Registering platform 'homebridge-HomeSeerPlatform.HomeSeer'
[3/1/2017, 6:37:18 AM] ---
[3/1/2017, 6:37:18 AM] Loaded plugin: homebridge-http
[3/1/2017, 6:37:18 AM] Registering accessory 'homebridge-http.Http'
[3/1/2017, 6:37:18 AM] ---
[3/1/2017, 6:37:18 AM] Loaded config.json with 0 accessories and 1 platforms.
[3/1/2017, 6:37:18 AM] ---
[3/1/2017, 6:37:18 AM] Loading 1 platforms...
/usr/lib/node_modules/homebridge/lib/api.js:115
throw new Error("The requested platform '" + name + "' has been registered multiple times. Please be more specific by writing one of: " + found.join(", "));
^
Error: The requested platform 'HomeSeer' has been registered multiple times. Please be more specific by writing one of: homebridge-homeseer.HomeSeer, homebridge-HomeSeerPlatform.HomeSeer
at API.platform (/usr/lib/node_modules/homebridge/lib/api.js:115:13)
at Server._loadPlatforms (/usr/lib/node_modules/homebridge/lib/server.js:284:45)
at Server.run (/usr/lib/node_modules/homebridge/lib/server.js:80:36)
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: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)
I see it says 1 platform and no accessories...I should definitely have 4 accessories.
Comment