Bonjour à tous
J'ai suivi le tuto du site
https://www.domoticz.com/wiki/Homekit_Siri
L’installation se passe bien. Par contre lorsque je lance homebridge ou même sudo homebridge j'ai un retour 401
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=libdn ... ceRegister>
[2017-5-27 18:42:17] Loaded plugin: homebridge-edomoticz
[2017-5-27 18:42:18] Registering accessory 'homebridge-edomoticz.eDomoticz'
[2017-5-27 18:42:18] Registering platform 'homebridge-edomoticz.eDomoticz'
[2017-5-27 18:42:18] ---
[2017-5-27 18:42:18] Loaded config.json with 0 accessories and 1 platforms.
[2017-5-27 18:42:18] ---
[2017-5-27 18:42:18] Loading 1 platforms...
[2017-5-27 18:42:18] [eDomoticz] Initializing eDomoticz platform...
[2017-5-27 18:42:18] Loading 0 accessories...
[2017-5-27 18:42:18] [eDomoticz] There was a problem connecting to Domoticz. (HTTP Status code 401)
<html><head><title>Unauthorized</title></head><body><h1>401 Unauthorized</h1></body></html>
Mon fichier config.json ressemble à çà
{
"bridge": {
"name": "homebridge",
"username": "B8:27:EB:4F:22:F9",
"port": 51826,
"pin": "031-45-154"
},
"description": "Configuration file for (e)xtended Domoticz platform.",
"platforms": [
{
"platform": "eDomoticz",
"name": "eDomoticz",
"server": "192.168.0.19",
"port": "8084",
"ssl": 0,
"roomid": 2,
"mqttenable": 1,
"mqttuser": "xxxxxxxx",
"mqttpass": "xxxxxxxxx"
}
],
"accessories": []
}
Domoticz est configuré sur le port 8084 et l'ip de la machine est 192.168.0.9