meg768 / homebridge-ikea-tradfri-gateway

homebridge-ikea-tradfri-gateway
GNU General Public License v3.0
73 stars 25 forks source link

Error on config #48

Open miquellaboria opened 4 years ago

miquellaboria commented 4 years ago

After install I get an error and homebridge left work...

On log:

[30/11/2019, 11:24:49] [Ikea Trådfri Gateway] Discovering gateway... [30/11/2019, 11:24:49] [Ikea Trådfri Gateway] Discovered host "gw-a0c9a0d9f411"

{ Error: The gateway did not respond in time. at TradfriClient.<anonymous> (/usr/local/lib/node_modules/homebridge-ikea-tradfri-gateway/node_modules/node-tradfri-client/build/tradfri-client.js:182:39) at Generator.next (<anonymous>) at fulfilled (/usr/local/lib/node_modules/homebridge-ikea-tradfri-gateway/node_modules/node-tradfri-client/build/tradfri-client.js:5:58) at process._tickCallback (internal/process/next_tick.js:68:7) code: 1 }

On error log:

2019-11-30T10:24:49.898Z node-tradfri-client [DEBUG] Connection failed. Reason: timeout

Thanks!

tsmedberg commented 4 years ago

I fixed this by specifying the Gateway's Ip-address. I went into my router to find the Ip. It is easier to find if you know the Gateway's Mac-address, which happens to be it's serial number. I then added the Gateway's Ip-address into the platform configuration by adding the following line. (Replace the Ip-address with your Gateway's) "host": "192.168.1.x",