dominicusmento / CSharpTradFriLibrary

This is a .NET Standard (2.0) library to communicate with the IKEA Home (Tradfri) ZigBee-based Gateway.
GNU General Public License v3.0
37 stars 20 forks source link

New GW-Firmware with new Authentication #9

Closed marioqx closed 6 years ago

marioqx commented 6 years ago

tomidix,

first I would like to thank you for the cool library. I'm about to create a disco-light using NAudio and your tradfri-library.

While doing so I cam acrosse the following: https://github.com/home-assistant/home-assistant/issues/10252

IKEA apparently changed authentication in order not to require to save the GW-key in every app for apparent security reasons.

Instead, the introduce a connection oriented authentication with a connection-name and connection-key. This pair needs to be once obtained with the use of the GW-key.

Could you please adapt your library accordingly.

Thanks Marioqx

dominicusmento commented 6 years ago

Thanks for the info, I'll look at it as soon as I find some time.

marioqx commented 6 years ago

Thanks for picking this up. I've created a repository with one application building on your library in return. I do have some further suggested changes/commits to your library if desired.

dominicusmento commented 6 years ago

I've added you as a collaborator, you should be able to fork the repo and make pull requests if you have any suggestions.. feel free to do it

dominicusmento commented 6 years ago

this is solved in v0.3.0.18