"description": "This is an example configuration file with one fake accessory and one fake plat$
"accessories": [
{
"accessory": "SalonLight",
"name": "Salon"
},
{
"accessory": "SalleAMangerLight",
"name": "Salle à manger"
},
{
"accessory": "CuisineLight",
"name": "Cuisine"
},
{
"accessory": "TeleSalon",
"name": "Television du salon"
},
{
"accessory": "HCSalon",
"name": "Cinema Maison du salon"
},
{
"accessory": "MagicHome",
"name": "Ambiance du salon",
"ip": "192.168.1.50",
"setup": "RGBWW",
"purewhite": false
}
]
}
Here is my terminal when starting homebridge :
pi@raspberrypi:~/.homebridge $ sudo 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
[3/3/2017, 8:58:32 PM] Loaded plugin: homebridge-cmdswitch2
[3/3/2017, 8:58:32 PM] Registering platform 'homebridge-cmdswitch2.cmdSwitch2'
[3/3/2017, 8:58:32 PM] ---
[3/3/2017, 8:58:33 PM] Loaded plugin: homebridge-cuisine
[3/3/2017, 8:58:33 PM] Registering accessory 'homebridge-cuisine.CuisineLight'
[3/3/2017, 8:58:33 PM] ---
[3/3/2017, 8:58:34 PM] Loaded plugin: homebridge-hcsalon
[3/3/2017, 8:58:34 PM] Registering accessory 'homebridge-hcsalon.HCSalon'
[3/3/2017, 8:58:34 PM] ---
[3/3/2017, 8:58:35 PM] Loaded plugin: homebridge-http
[3/3/2017, 8:58:35 PM] Registering accessory 'homebridge-http.Http'
[3/3/2017, 8:58:35 PM] ---
[3/3/2017, 8:58:36 PM] Loaded plugin: homebridge-led
[3/3/2017, 8:58:36 PM] Registering accessory 'homebridge-led.PiLight'
[3/3/2017, 8:58:36 PM] ---
[3/3/2017, 8:58:36 PM] Loaded plugin: homebridge-magichome
homebridge API version: 2.1
[3/3/2017, 8:58:36 PM] Registering accessory 'homebridge-magichome.MagicHome'
[3/3/2017, 8:58:36 PM] ---
[3/3/2017, 8:58:37 PM] Loaded plugin: homebridge-salon
[3/3/2017, 8:58:37 PM] Registering accessory 'homebridge-salon.SalonLight'
[3/3/2017, 8:58:37 PM] ---
[3/3/2017, 8:58:38 PM] Loaded plugin: homebridge-sam
[3/3/2017, 8:58:38 PM] Registering accessory 'homebridge-sam.SalleAMangerLight'
[3/3/2017, 8:58:38 PM] ---
[3/3/2017, 8:58:39 PM] Loaded plugin: homebridge-telesalon
[3/3/2017, 8:58:39 PM] Registering accessory 'homebridge-telesalon.TeleSalon'
[3/3/2017, 8:58:39 PM] ---
[3/3/2017, 8:58:39 PM] Loaded config.json with 5 accessories and 0 platforms.
[3/3/2017, 8:58:39 PM] ---
[3/3/2017, 8:58:39 PM] Loading 5 accessories...
[3/3/2017, 8:58:39 PM] [Salon] Initializing SalonLight accessory...
[3/3/2017, 8:58:39 PM] [Salle à manger] Initializing SalleAMangerLight accessory...
[3/3/2017, 8:58:39 PM] [Cuisine] Initializing CuisineLight accessory...
[3/3/2017, 8:58:39 PM] [Television du salon] Initializing TeleSalon accessory...
[3/3/2017, 8:58:39 PM] [Cinema Maison du salon] Initializing HCSalon accessory...
Load homebridge-cmdswitch2.cmdSwitch2
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
┌────────────┐
│ XXXXXXXXXXXXXXXXX
└────────────┘
[3/3/2017, 8:58:40 PM] Homebridge is running on port 51826.
^C[3/3/2017, 8:59:29 PM] Got SIGINT, shutting down Homebridge...
The interesting part is where MagicHome is registered but not loading...
I tried to remove the bridge frome homekit, deleting the persist folder... What I am doing wrong ?
Thank you for any kind of help someone could provide !
Nevermind, had the wrong config.json.
In case other has the same issue, on the raspberry pi the config.json for homebridge is located in the root user folder, not "pi".
Hi,
I just added the MagicHome plugin (https://github.com/steve228uk/homebridge-magichome) to my homebridge on Raspberry Pi 3.
Here is my config.json :
{ "bridge": { "name": "Homebridge", "username": "XXX", "port": XXX, "pin": "XXX" },
}
Here is my terminal when starting homebridge :
pi@raspberrypi:~/.homebridge $ sudo 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 [3/3/2017, 8:58:32 PM] Loaded plugin: homebridge-cmdswitch2 [3/3/2017, 8:58:32 PM] Registering platform 'homebridge-cmdswitch2.cmdSwitch2' [3/3/2017, 8:58:32 PM] --- [3/3/2017, 8:58:33 PM] Loaded plugin: homebridge-cuisine [3/3/2017, 8:58:33 PM] Registering accessory 'homebridge-cuisine.CuisineLight' [3/3/2017, 8:58:33 PM] --- [3/3/2017, 8:58:34 PM] Loaded plugin: homebridge-hcsalon [3/3/2017, 8:58:34 PM] Registering accessory 'homebridge-hcsalon.HCSalon' [3/3/2017, 8:58:34 PM] --- [3/3/2017, 8:58:35 PM] Loaded plugin: homebridge-http [3/3/2017, 8:58:35 PM] Registering accessory 'homebridge-http.Http' [3/3/2017, 8:58:35 PM] --- [3/3/2017, 8:58:36 PM] Loaded plugin: homebridge-led [3/3/2017, 8:58:36 PM] Registering accessory 'homebridge-led.PiLight' [3/3/2017, 8:58:36 PM] --- [3/3/2017, 8:58:36 PM] Loaded plugin: homebridge-magichome homebridge API version: 2.1 [3/3/2017, 8:58:36 PM] Registering accessory 'homebridge-magichome.MagicHome' [3/3/2017, 8:58:36 PM] --- [3/3/2017, 8:58:37 PM] Loaded plugin: homebridge-salon [3/3/2017, 8:58:37 PM] Registering accessory 'homebridge-salon.SalonLight' [3/3/2017, 8:58:37 PM] --- [3/3/2017, 8:58:38 PM] Loaded plugin: homebridge-sam [3/3/2017, 8:58:38 PM] Registering accessory 'homebridge-sam.SalleAMangerLight' [3/3/2017, 8:58:38 PM] --- [3/3/2017, 8:58:39 PM] Loaded plugin: homebridge-telesalon [3/3/2017, 8:58:39 PM] Registering accessory 'homebridge-telesalon.TeleSalon' [3/3/2017, 8:58:39 PM] --- [3/3/2017, 8:58:39 PM] Loaded config.json with 5 accessories and 0 platforms. [3/3/2017, 8:58:39 PM] --- [3/3/2017, 8:58:39 PM] Loading 5 accessories... [3/3/2017, 8:58:39 PM] [Salon] Initializing SalonLight accessory... [3/3/2017, 8:58:39 PM] [Salle à manger] Initializing SalleAMangerLight accessory... [3/3/2017, 8:58:39 PM] [Cuisine] Initializing CuisineLight accessory... [3/3/2017, 8:58:39 PM] [Television du salon] Initializing TeleSalon accessory... [3/3/2017, 8:58:39 PM] [Cinema Maison du salon] Initializing HCSalon accessory... Load homebridge-cmdswitch2.cmdSwitch2 Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
[3/3/2017, 8:58:40 PM] Homebridge is running on port 51826. ^C[3/3/2017, 8:59:29 PM] Got SIGINT, shutting down Homebridge...
The interesting part is where MagicHome is registered but not loading... I tried to remove the bridge frome homekit, deleting the persist folder... What I am doing wrong ?
Thank you for any kind of help someone could provide !