Closed jeylites closed 6 years ago
UPDATE on Homebridge Logs
homesensor_1 | [2018-2-27 13:40:50] [Garage Door] ERROR in _checkStates() - ERROR in _determineDoorState() - An error occurred during the HTTP request: getaddrinfo ENOTFOUND garagedoorcontroller.local garagedoorcontroller.local:80
homesensor_1 | [2018-2-27 13:40:54] [Garage Door] ERROR in _checkStates() - ERROR in _determineDoorState() - An error occurred during the HTTP request: getaddrinfo ENOTFOUND garagedoorcontroller.local garagedoorcontroller.local:80
homesensor_1 | [2018-2-27 13:40:58] [Garage Door] ERROR in _checkStates() - ERROR in _determineDoorState() - An error occurred during the HTTP request: getaddrinfo ENOTFOUND garagedoorcontroller.local garagedoorcontroller.local:80
@jeylites Exactly as per the error message:
An error occurred during the HTTP request: getaddrinfo ENOTFOUND garagedoorcontroller.local garagedoorcontroller.local:80
garagedoorcontroller.local cannot be found on your network, maybe mDNS isn't working properly, change your HomeBridge config (httpHost) to your controllers direct IP address (192.168.1.72).
After doing some digging, I got it working with homebridge. However, on a different RaspberryPi, I'm currently running homebridge in docker mode that's when it doesn't.
UPDATE
gave it a static IP and deleted the persist folder and it fixed everything... Thank you.
@washcroft
Where in the Arduino script I have to change to give it a static IP?
@jeylites
Where in the Arduino script I have to change to give it a static IP?
Don't change the script, set the correct config.
"httpHost":"garagedoorcontroller.local",
"httpHost":"192.168.100.123",
Edit: This project isn't an Arduino project, it's a HomeBridge script/plugin.
I had this working in the past but now with version 2.0 I'm unable to troubleshoot what is causing it not to work on Homekit App. Below is my setup.
CONFIG.JSON
ARDUINO SERIAL PRINT (Wemos D1)