treban/pimatic-tradfri

Gateway not reachable

sweebee opened this issue · 6 comments

Since some time the gateway is always not reachable, everything works fine though. I get:

18:55:14.918 [pimatic-tradfri] error: Gateway is not reachable!
18:55:14.924 [pimatic-tradfri] error: { [Error: No reply in 6s] retransmitTimeout: 6 }

It's pretty hard to say what it could be.
I guess the gateway is accessible and controllable with the APP?
Can pimatic connect after a restart or does the error occur directly?

Delete the PSK from the Config. This creates a new session.
maybe that should be enough.

Not sure if it's the same issue but his morning I also could not access the gateway from pimatic. Then noticed that the IKEA Tradfri app could not access the gateway as well. The IKEA light switches worked well though.
I solved the problem by restarting the gateway.

Ikea App works fine. A friend of mine has the same problem. the error is only shown once, and everything works fine. although the hub device keeps saying the hub is absent.

oh ok, only the hub device has the error. the light control works?
i will check the code and try to reproduce the problem.

I have the problem that when the gateway becomes unreachable it crashes pimatic and eventually the whole pi. This happens when the hub loses it's internet connection for some reason. Pimatic also doesn't boot without the hub being on/ reachable.