I just installed Homebridge using this page:
https://www.domoticz.com/wiki/Homekit_Siri
I followed it to the letter, but when I start homebridge and check the log, I see al lot of these messages:
0|homebrid | <html><head><title>Unauthorized</title></head><body><h1>401 Unauthorized</h1></body></html>
0|homebrid | [1/19/2018, 10:44:32 PM] [Domoticz] There was a problem connecting to Domoticz. (HTTP Status code 401)
It looks like a very clear message (authorization issue), but I'm not able to solve it. I tried:
- add my Domoticz userid/pass to the config.json file
- allow local networks without userid/password (via settings, in Domoticz)
- start homebridge as root, via sudo
- Try the SSL port instead of the default port 8080
- Change the 127.0.0.1 loopback address to the real ip address of the Pi
But nothing helps. I have googled, of course, but didn't find any solution that works for me.
Anyone who can help me?
My current config.json file:
- Spoiler: show
Pieter