Re: Domoticz, Homebridge et Homekit
Publié : 26 janv. 2017, 10:16
Chez moi il fonctionne toujours.
Reprenez le contrôle de votre domotique
https://easydomoticz.com/forum/
Code : Tout sélectionner
{
"bridge": {
"name": "Homebridge",
"username": "B8:27:EB:08:42:D0",
"port": 51826,
"pin": "031-45-154"
},
"description": "Configuration file for (e)xtended Domoticz platform.",
"platforms": [
{
"platform": "eDomoticz",
"name": "eDomoticz",
"server": "127.0.0.1",
"port": "8080",
"ssl": 0,
"roomid": <3>,
"mqtt": 1
}
],
Code : Tout sélectionner
*** 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>
[2017-02-16 15:27:30] Loaded plugin: homebridge-edomoticz
[2017-02-16 15:27:30] Registering accessory 'homebridge-edomoticz.eDomoticz'
[2017-02-16 15:27:30] Registering platform 'homebridge-edomoticz.eDomoticz'
[2017-02-16 15:27:30] ---
[2017-02-16 15:27:30] config.json (/home/pi/.homebridge/config.json) not found.
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
┌────────────┐
│ 031-45-154 │
└────────────┘
/usr/lib/node_modules/homebridge/node_modules/mdns/lib/advertisement.js:56
dns_sd.DNSServiceRegister(self.serviceRef, flags, ifaceIdx, name,
^
Error: dns service error: name conflict
at new Advertisement (/usr/lib/node_modules/homebridge/node_modules/mdns/lib/advertisement.js:56:10)
at Object.create [as createAdvertisement] (/usr/lib/node_modules/homebridge/node_modules/mdns/lib/advertisement.js:64:10)
at Advertiser.startAdvertising (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Advertiser.js:43:30)
at Bridge.Accessory._onListening (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:539:20)
at emitOne (events.js:96:13)
at HAPServer.emit (events.js:189:7)
at HAPServer._onListening (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:190:8)
at emitOne (events.js:96:13)
at EventedHTTPServer.emit (events.js:189:7)
at EventedHTTPServer.<anonymous> (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/eventedhttp.js:65:10)Code : Tout sélectionner
*** 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>
[2017-02-16 17:56:44] Loaded plugin: homebridge-edomoticz
[2017-02-16 17:56:44] Registering accessory 'homebridge-edomoticz.eDomoticz'
[2017-02-16 17:56:44] Registering platform 'homebridge-edomoticz.eDomoticz'
[2017-02-16 17:56:44] ---
[2017-02-16 17:56:44] Loaded config.json with 0 accessories and 1 platforms.
[2017-02-16 17:56:44] ---
[2017-02-16 17:56:44] Loading 1 platforms...
[2017-02-16 17:56:44] [eDomoticz] Initializing eDomoticz platform...
[2017-02-16 17:56:44] Loading 0 accessories...
[2017-02-16 17:56:44] [eDomoticz] Initializing platform accessory 'Télévision'...
[2017-02-16 17:56:44] [eDomoticz] Initializing platform accessory 'bureau'...
[2017-02-16 17:56:44] [eDomoticz] Initializing platform accessory 'lampe'...
[2017-02-16 17:56:44] [eDomoticz] Initializing platform accessory 'prise 4'...
[2017-02-16 17:56:44] [eDomoticz] Initializing platform accessory 'prise 5'...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
┌────────────┐
│ 000-00-000 │
└────────────┘
/usr/lib/node_modules/homebridge/node_modules/mdns/lib/advertisement.js:56
dns_sd.DNSServiceRegister(self.serviceRef, flags, ifaceIdx, name,
^
Error: dns service error: name conflict
at new Advertisement (/usr/lib/node_modules/homebridge/node_modules/mdns/lib/advertisement.js:56:10)
at Object.create [as createAdvertisement] (/usr/lib/node_modules/homebridge/node_modules/mdns/lib/advertisement.js:64:10)
at Advertiser.startAdvertising (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Advertiser.js:43:30)
at Bridge.Accessory._onListening (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:539:20)
at emitOne (events.js:96:13)
at HAPServer.emit (events.js:189:7)
at HAPServer._onListening (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:190:8)
at emitOne (events.js:96:13)
at EventedHTTPServer.emit (events.js:189:7)
at EventedHTTPServer.<anonymous> (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/eventedhttp.js:65:10)Code : Tout sélectionner
*** 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>
[2017-02-16 20:41:08] Loaded plugin: homebridge-edomoticz
[2017-02-16 20:41:08] Registering accessory 'homebridge-edomoticz.eDomoticz'
[2017-02-16 20:41:08] Registering platform 'homebridge-edomoticz.eDomoticz'
[2017-02-16 20:41:08] ---
[2017-02-16 20:41:08] Loaded config.json with 0 accessories and 1 platforms.
[2017-02-16 20:41:08] ---
[2017-02-16 20:41:08] Loading 1 platforms...
[2017-02-16 20:41:08] [eDomoticz] Initializing eDomoticz platform...
[2017-02-16 20:41:08] Loading 0 accessories...
[2017-02-16 20:41:08] [eDomoticz] Initializing platform accessory 'Télé'...
[2017-02-16 20:41:08] [eDomoticz] Initializing platform accessory 'bureau'...
[2017-02-16 20:41:08] [eDomoticz] Initializing platform accessory 'lampe'...
[2017-02-16 20:41:08] [eDomoticz] Initializing platform accessory 'prise 4'...
[2017-02-16 20:41:08] [eDomoticz] Initializing platform accessory 'prise 5'...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
┌────────────┐
│ 000-00-000 │
└────────────┘
events.js:161
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE :::51826
at Object.exports._errnoException (util.js:1023:11)
at exports._exceptionWithHostPort (util.js:1046:20)
at Server._listen2 (net.js:1261:14)
at listen (net.js:1297:10)
at Server.listen (net.js:1375:9)
at EventedHTTPServer.listen (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/eventedhttp.js:60:19)
at HAPServer.listen (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:158:20)
at Bridge.Accessory.publish (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:496:16)
at Server._publish (/usr/lib/node_modules/homebridge/lib/server.js:114:16)
at Server.<anonymous> (/usr/lib/node_modules/homebridge/lib/server.js:372:14)Code : Tout sélectionner
echo 1 > /sys/class/gpio/gpio1/active_low && echo 1 > /sys/class/gpio/gpio2/active_low && echo 1 > /sys/class/gpio/gpio3/active_low && echo 1 > /sys/class/gpio/gpio4/active_low && echo 1 > /sys/class/gpio/gpio5/active_low