Problème liaison Edomoticz
Publié : 26 avr. 2020, 12:22
Bonjour,
Je viens de faire une installation domotique pour la 1re fois.
J’ai suivi les vidéos/Tutos des frères poulains sur YouTube.
J’ai donc pris 2 sonoff commandés par tasmota en MQTT. Un Raspberry 4 avec Domoticz, Homebridge et mosquitto installé dessus.
Le MQTT entre l’interface Tasmota et domoticz fonctionne bien. Mais la liaison entre Homebridge et Domoticz ne se fait pas…
Voici mon code dans config :
Et la Réponse de HomeBridge :
Si je change mon port en 8741, j’obtiens
Et si je mets mon port local 1883 :
Je n’ai jamais réussi à les liés, j’ai cherché un peu partout et je n’ai rien trouvé de concret à mon problème…
J’espère que vous pourriez m’aider à résoudre mon problème.
En vous remerciant !!!
Je viens de faire une installation domotique pour la 1re fois.
J’ai suivi les vidéos/Tutos des frères poulains sur YouTube.
J’ai donc pris 2 sonoff commandés par tasmota en MQTT. Un Raspberry 4 avec Domoticz, Homebridge et mosquitto installé dessus.
Le MQTT entre l’interface Tasmota et domoticz fonctionne bien. Mais la liaison entre Homebridge et Domoticz ne se fait pas…
Voici mon code dans config :
Code : Tout sélectionner
{
"bridge": {
"name": "Homebridge",
"username": "DC:A6:32:38:4C:7F",
"port": 51826,
"pin": "031-45-154"
},
"platforms": [
{
"name": "eDomoticz",
"server": "127.0.0.1",
"port": "8080",
"roomid": 2,
"mqtt": true,
"ssl": false,
"dimFix": 0,
"platform": "eDomoticz"
},
{
"name": "Config",
"port": 8581,
"platform": "config"
}
],
"accessories": []
} Code : Tout sélectionner
[2020-4-26 12:12:08] [eDomoticz] synchronizeAccessories in progress...
[2020-4-26 12:12:08] Homebridge is running on port 51826.
[2020-4-26 12:12:08] [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>
[2020-4-26 12:12:08] [eDomoticz] There was an error while getting the MQTT Hardware Device from Domoticz.
Please verify that you have added the MQTT Hardware Device and that the hardware device is enabled. Code : Tout sélectionner
[2020-4-26 12:16:19] [eDomoticz] synchronizeAccessories in progress...
[2020-4-26 12:16:19] Homebridge is running on port 51826.
[2020-4-26 12:16:19] [eDomoticz] There was a problem connecting to Domoticz.
- Error: connect ECONNREFUSED 127.0.0.1:8741
[2020-4-26 12:16:19] [eDomoticz] There was an error while getting the MQTT Hardware Device from Domoticz.
Please verify that you have added the MQTT Hardware Device and that the hardware device is enabled. Code : Tout sélectionner
[2020-4-26 12:20:54] [eDomoticz] There was a problem connecting to Domoticz.
- Error: read ECONNRESET
[2020-4-26 12:20:54] [eDomoticz] There was an error while getting the MQTT Hardware Device from Domoticz.
Please verify that you have added the MQTT Hardware Device and that the hardware device is enabled.Je n’ai jamais réussi à les liés, j’ai cherché un peu partout et je n’ai rien trouvé de concret à mon problème…
J’espère que vous pourriez m’aider à résoudre mon problème.
En vous remerciant !!!