Open ststefa opened 3 years ago
same here
Same error. Reverted to v1.2.32
TradfriError: The gateway did not respond in time.
at TradfriClient.
I had the same problem suddenly appearing after a Homebridge upgrade/restart yesterday.
In my case though explicitly configuring the host IP of the gateway circumvented the problem. For some reason, even though the gateway is correctly detected on the network, it seems the CoAP library fails to resolve the IP correctly. A problem that never happened before.
Same here, rollback to v1.2.32 and it works again.
Hi guys, thanks for the info here, but still not working for me, with the latest version or the mention above.
The error I have is this:
[9/18/2022, 8:37:14 PM] [Ikea Trådfri Gateway] Discovered host "gw-xxxxxxxxxxxx"
TradfriError: The gateway did not respond in time.
at TradfriClient.<anonymous> (/volume2/homebridge/node_modules/homebridge-ikea-tradfri-gateway/node_modules/node-tradfri-client/build/tradfri-client.js:190:39)
at Generator.next (<anonymous>)
at fulfilled (/volume2/homebridge/node_modules/homebridge-ikea-tradfri-gateway/node_modules/node-tradfri-client/build/tradfri-client.js:5:58)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 1
}
The configuration for the module is like this:
"platforms": [
{
"name": "Config",
"port": 8581,
"platform": "config"
},
{
"platform": "Ikea Trådfri Gateway",
"name": "Ikea Trådfri Gateway",
"securityCode": "secret",
"expose": [
"lightbulbs",
"outlets",
"blinds"
]
}
]
I'm missing something, anything else is required @a-camacho ? How do you get the IP of the Ikea Gateway @takerukoushirou ?
Got the same issue recently and I can fix it by restarting the Tradfri Bridge. However, I had to do this once a month/quarter or so - but recently I have to reboot the Tradfri Bridge almost every day. The really bad thing is, that this failure causes the HombeBridge instance to restart indefinitely with a corresponding CPU and wattage peak. Very inconvenient; I think it would be better if HomeBridge would be able to run although this plugin fails loading than ending up in an infinite boot loop rendering everything useless. My plan is to try and get a Zigbee stick for the Raspi in order to remove the Tradfri Bridge alltogether.
Edit: I have checked the configuration and it is setup as recommended with a fixed IP. Everything else up to date. Tradfry Bridge only 12 months old with just a few lights.
How do you get the IP of the Ikea Gateway
You have to open up your router settings. Depending on the make/model check your local network and make sure that the IP doesn't change, if it's set to dynamic. Then you can just copy and paste your local IP.
I abandoned the IKEA Tradfri Bridge a long time ago. Now using a Homey which is compatible with Philips Hue, Nexa, Telldus, IKEA, whatever. But I will try to continue to update and merge new pull requests.
I just wanted to let you know that I have a problem with using the latest v1.2.33 in Homebridge. It complains...
I reverted back to v1.2.32 and everything works fine.
My configuration looks like so (excerpt)
I tried ...
host
Cannot autodetect...
" kind of errorNone of these could make v1.2.33 work for me.