mjwwit / node-red-contrib-ikea-tradfri

Node-RED nodes to get updates from and control devices connected to an IKEA TRADFRI gateway
3 stars 3 forks source link

Did IKEA Home Smart 1.17.0 Update (Gateway 1.15.34) kill the GW connection - SOLVED With TEMP FIX #12

Closed Soiski71 closed 3 years ago

Soiski71 commented 3 years ago

Hi, Suddenly I lost all connection to IKEA GW. Might the update screw up something. Official APP still works but the connection to GW is lost and if trying to reconnect / authenticate I get this error

image

Can anyone else confirm that their GW is working in the new 1.15.34 version ?

mattes8612 commented 3 years ago

Hello, i have the same problem with gateway firmware 1.15.34.

AlCalzone already workes on the issue.

https://github.com/AlCalzone/node-tradfri-client/issues/517

I hope there will be a fix for node red soon…

Soiski71 commented 3 years ago

Excellent,( I mean for once I did not screw up anything by my self :)

Soiski71 commented 3 years ago

Seems that some sort of workaround has been able to implement.

https://github.com/AlCalzone/node-tradfri-client/issues/517

Michael, any ideas when you can import the fix ?

tomgidden commented 3 years ago

For what it's worth, I just did npm install node-tradfri-client@3.0.1 in node_modules/node-red-contrib-ikea-tradfri, restarted Node-RED and for my setup it works fine now. That's not a comprehensive test by any stretch, but it does mean I'm no longer stuck in the dark. :)

Soiski71 commented 3 years ago

Tom, Can you give the excat (command line) method you installed this update (in Linux... I asume) ?

I dont want to be testing :) as everything else works at the moment and not a guru in Linux/Ubuntu.

Thanks in advance.

muleooo commented 3 years ago

For what it's worth, I just did npm install node-tradfri-client@3.0.1 in node_modules/node-red-contrib-ikea-tradfri, restarted Node-RED and for my setup it works fine now. That's not a comprehensive test by any stretch, but it does mean I'm no longer stuck in the dark. :)

image Worked for me, thanks 👍

Soiski71 commented 3 years ago

Hmm.. So googled how to install to specif folder and found this. Run it ...but still the same issue. Node-Red restarted , did not work. Machine rebooted , still no change.

npm install node-tradfri-client@3.0.1 --prefix node_modules/node-red-contrib-ikea-tradfri

Did you @muleooo or @tomgidden actually created a new gateway connection or used your old ones ? In my search for fix I deleted all my old connection and needed to now create a new one ...and still failing ?

How could one check that the update actually wnet through to correct place ( i.e what file to check at what location that it has 3.0.1 version now). Any ideas ?

tomgidden commented 3 years ago

@Soiski71 sorry, I was having a nap, so didn't see your message :)

For me, on an Ubuntu box:

cd ~/.node-red/node_modules/node-red-contrib-ikea-tradfri 
npm install node-tradfri-client@3.0.1

was enough

muleooo commented 3 years ago

use cd to change directory to that folder, then install

cd ~/.node-red/node_modules/node-red-contrib-ikea-tradfri
npm install node-tradfri-client@3.0.1
Soiski71 commented 3 years ago

Excellent works now also for me !! Thank both Tom and mulee !!

Tom, Naps are excellent, Had mine also when waiting ... ;)

muleooo commented 3 years ago

Uhh I think you should leave this issue open, it's just a temporary fix

Soiski71 commented 3 years ago

Agree :)

mjwwit commented 3 years ago

I'm terribly sorry for my late response, I've had a busy week... I will be releasing an update to fix this issue today.

mjwwit commented 3 years ago

I've just release version 0.4.7 which contains node-tradfri-client 3.0.1. It may take a bit before this update shows up in your Node-RED palette.