Ikea Trådfri - some problems

Building and connecting hardware to OpenNethome
Post Reply
soundsgood
Posts: 15
Joined: Sun Aug 27, 2017 4:02 pm

Ikea Trådfri - some problems

Post by soundsgood » Sun Sep 10, 2017 11:02 am

Hi!

I get a lot of these messages in the log:

17.09.10 10:59:31
IkeaGatewayClient
Failed request for IKEA GW (coaps://192.168.0.47:5684/15001/65537), error: 4.04
When this happens, I can't control the lamps..

Any idea?

/Lennart

stefangsbb
Site Admin
Posts: 311
Joined: Sun Nov 30, 2014 2:16 pm

Re: Ikea Trådfri - some problems

Post by stefangsbb » Sun Sep 10, 2017 1:30 pm

Hmm, the 404 (4.04) indicates that the Gateway cannot find a lamp that Nethome is trying to get information from. Could it be so that you have created a HomeItem for a lamp, that later has been removed from the Gateway or that you have reset the Gateway? It looks like Nethome has a lamp Item which has Identity 65537, but that the Gateway no longer knows about this lamp.

soundsgood
Posts: 15
Joined: Sun Aug 27, 2017 4:02 pm

Re: Ikea Trådfri - some problems

Post by soundsgood » Mon Sep 11, 2017 6:32 am

Hmm.. might be the same problem as in the thread "Support for IKEA Trådfri".

I have only one lamp connected to Trådfri, and from the start it worked perfectly.
I haven't reset the gateway and haven't added or removed any lamps. It just stopped working.
Sometimes, the connection to the gateway shows up as "Connected" in the gui, but later gets disconnected.

Any more thoughts? (The lamp works if I use the remote from Ikea).

stefangsbb
Site Admin
Posts: 311
Joined: Sun Nov 30, 2014 2:16 pm

Re: Ikea Trådfri - some problems

Post by stefangsbb » Mon Sep 11, 2017 8:42 pm

Well, the issue in "Support for IKEA Trådfri" proved to be insufficient power supply for the gateway (or a bad gateway), so that was a bit special. When it stops working, can you still control it via the app?

soundsgood
Posts: 15
Joined: Sun Aug 27, 2017 4:02 pm

Re: Ikea Trådfri - some problems

Post by soundsgood » Tue Sep 12, 2017 6:36 am

I have to check. It works with the Ikea remote, and the status is updated in OpenNetHome! The problem occurs when I try to update the lamp from ONH...

stefangsbb
Site Admin
Posts: 311
Joined: Sun Nov 30, 2014 2:16 pm

Re: Ikea Trådfri - some problems

Post by stefangsbb » Tue Sep 12, 2017 5:08 pm

Hmmm, if the status in ONH is updated than it is even more strange, because that is the only case when you can get the 4,04 errors. The fact that it works with the remote does not say anything since then the remote communicates directly with the lamp without using the gateway. ONH and the app goes via the gateway.

soundsgood
Posts: 15
Joined: Sun Aug 27, 2017 4:02 pm

Re: Ikea Trådfri - some problems

Post by soundsgood » Thu Sep 14, 2017 5:30 pm

Yes, it is strange.

I reset everything (Ikea stuff) and started from scratch. Works for now.
Though I can see this in the log:

Unexpected error occurred while processing record from peer [/192.168.0.47:5684]

Maybe nothing to worry about. I have to wait and see if I get the 404 back again or if it stays up this time..

Post Reply