PatchworkBoy / homebridge-edomoticz

Domoticz Homebridge-Plugin
Other
118 stars 44 forks source link

[Domoticz] There was a problem connecting to Domoticz. - Error: socket hang up #244

Open cam-verhoeven opened 2 years ago

cam-verhoeven commented 2 years ago

Hi !

I am working on DIY installation of home automation in my home. I've an old computer running 24/24 on Debian, on which I installed Domoticz and Mosquitto MQTT. I've a Sonoff Basic running on Tasmota. Everything is good for Domoticz, MQTT protocol and Tasmota connection. I can switch the Sonoff on/off with Domoticz.

The next step, and the reason I am writing to you, is to install Homebridge, connect Domoticz to it and connect HomeKit or Google Home to it. So I installed Homebridge on my Debian computer, without any issue. I can connect Homebridge to HomeKit and Google Home without problem too.

The only issue that I'm facing off is that I can't connect Domoticz to Homebridge. Using home bridge-edomoticz, well configured, I've always the same error : [Domoticz] There was a problem connecting to Domoticz. - Error: socket hang up

I think I tried all that I was capable of, so I'm asking you if you have any idea of solution. I tried to change every parameters in the configuration, uninstall & reinstall home bridge-edomoticz, same for home bridge, nodejs... Maybe the solution is stupid and it's been jumping out at me all along, but even looking around (I may have looked wrong) I couldn't find anyone with a solution.

I hope you have the solution, thank you very much to those who will try to help me!

PatchworkBoy commented 2 years ago

What is the URL and port number for your Domoticz installation? What authentication options do you have set in Domoticz?

cam-verhoeven commented 2 years ago

URL is 192.168.1.81, port is 890, only in https and I didn't change any other authentication options in Domoticz.