Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot authenticate via Rexel since they moved to their own identity system (Azure B2C) #591

Open
1 task done
steve41200 opened this issue Oct 3, 2021 · 19 comments
Open
1 task done
Labels
blocked bug: auth_issue Authentication issue due to vendor moving to their own authentication schema bug Something isn't working

Comments

@steve41200
Copy link

Did you read the instructions?

The problem

I try for the first time your integration for Rexe (Econnect2)l, and he won't connect. I have login or password incorrect. I don't know if it is due to the same problem.
I have a new heater IO (I have plug a zigbeeswitch behind the other), but him is in a bathroom and I will give a shot to your integration.
A long time ago I've try lot of thing to control my Rexel box from HA and II have an old VM f with Homebridge on it (and plug in Tahoma and it will always works to control Rexel Box via HA, the login and pass are good. The plug in is not update since long time)
I have try to a long time ago via Node Red with Overkill node directly, but I don't found them, I've erase them I think...

What version of this integration (ha-tahoma) has the issue?

the last

What version of Home Assistant Core has the issue?

core-2021.9.6

Which gateway / hub do you use?

Rexel

Device model

No response

Home Assistant log

No response

Additional information

No response

@steve41200 steve41200 added the bug Something isn't working label Oct 3, 2021
@iMicknl
Copy link
Owner

iMicknl commented Oct 4, 2021

Thanks! Can you share which app or website you currently use to login?

And can you double check which Homebridge integration you are running?

@steve41200
Copy link
Author

steve41200 commented Oct 4, 2021 via email

@iMicknl
Copy link
Owner

iMicknl commented Oct 11, 2021

Would you be able to work with me via Discord (iMick #1903) so we can speed up the development? Easiest would be if you could temporary change your password and send your credentials, so I can do some live debugging on my machine.

However, this won't be a quick process due to my limited time.

@iMicknl iMicknl added the bug: auth_issue Authentication issue due to vendor moving to their own authentication schema label Oct 11, 2021
@iMicknl
Copy link
Owner

iMicknl commented Oct 18, 2021

@steve41200 it seems that Rexel did move to their own authentication system powered by Azure B2C. I have done some tests / reverse engineering, however I couldn't get it working yet. It seems that they didn't enable the user/password flow, thus only support OAuth 2. I don't think we can implement this, without them providing us with an OAuth client id and a redirect URL for nabu casa.

I faced the same issue with @HerveLeMen. For now, I don't have a solution for the new Rexel authentication.

@steve41200
Copy link
Author

steve41200 commented Oct 20, 2021 via email

@iMicknl iMicknl changed the title Rexel box (Econnect2) cannot connect Cannot authenticate via Rexel since they moved to their own identity system (Azure B2C) Oct 27, 2021
@nico39570
Copy link

Hello,

Thank you for your feedback.

I have the same problem as steeve41200.

From what I read, you have already seen the authentication problem.

I managed to work around my problem by using the devices that work on the Tahoma but I still have two "Yokis" devices (lights) left which are not compatible with Tahoma and which I cannot integrate into home assistant.

I currently have two ways to control them outside of Home Assistant: either with the rexel box (because I have a Yokis key connected behind the rexel box: Yokis Key

or with the "Yokis Hub" which is the Yokis brand home automation box.
It can be controlled via a mobile application: Yokis Hub

If only I could add the rexel box with the "Overkiz (by Somfy) - Custom component" integration on HACS or with the new official "Overkiz (by Somfy)" integration, I could control my "Yokis" lights from home assistant .

But at the moment I don't have a solution.

I also tried to do it with IFTTT (without feedback on or off), it works on my computer with webhooks but I couldn't get it to work in home assistant, it's too complicated for me.

Another solution for me would be to be able to integrate the "Yokis Hub" into home assistant, but I couldn't find a topic on this brand in the Home Assistant forums.

If you move forward on the subject or if you find another solution for Yokis, I'm interested.

Thank you for your involvement.

Have a good evening

@steve41200
Copy link
Author

steve41200 commented Feb 12, 2022 via email

@nico39570
Copy link

Bonjour steve41200,

Merci beaucoup pour tes réponses.

Je vois que tu est français, alors je continu dans notre langue :-)
Intéressant les bidouillages, je vais regarder ca de plus prêt.

@Veher-el
Copy link

Veher-el commented Apr 5, 2022

Hello everyone,

@iMicknl
have we to consider that Rexel solution is not more supported definitely or could we hope a solution with the auth factory ?

Thank you
Hervé

@iMicknl
Copy link
Owner

iMicknl commented Apr 5, 2022

@HerveLeMen for now it seems that Rexel is not supported, until they open up their authentication mechanism for us. You could try to contact them / get them in touch with us...

If that doesn't work, what you could do is create an extra local account, if you are able to hijack your session temporarily and execute another request. However that won't be simple :-).

@Veher-el
Copy link

Veher-el commented Apr 5, 2022

Thank you for you quick answser.
Let me negociate with them even if I have not to much hope...
Definitely, I have not the level for the 2nd solution. ;)

Do we know if there is a workaround by requesting directly overkiz API ?

@iMicknl
Copy link
Owner

iMicknl commented Apr 5, 2022

@HerveLeMen there are rumors that Somfy will come with a local API soon, thus perhaps you can ask them about their plans as well.

In the mean-time, they are the only non supported vendor on the Overkiz platform, so perhaps they would like to be compatible with the Home Assistant userbase.

@dubocr
Copy link

dubocr commented Apr 5, 2022

@HerveLeMen there are rumors that Somfy will come with a local API soon, thus perhaps you can ask them about their plans as well.

Hi @iMicknl !
Someone at Somfy confirm me that a Local API will be available in the next months. Should be in 2 month max.
I will keep you informed.

@dubocr
Copy link

dubocr commented Apr 7, 2022

Here is the documentation of the new Local API : https://github.com/Somfy-Developer/Somfy-TaHoma-Developer-Mode

@iMicknl
Copy link
Owner

iMicknl commented Apr 7, 2022

Thanks @dubocr, we track this in #796 :).

@qelanhari

This comment was marked as off-topic.

@iMicknl
Copy link
Owner

iMicknl commented Apr 7, 2022

@qelanhari please ask HomeBridge questions in the HomeBridge repository. This repository is for the Home Assistant integration.

@cloom
Copy link

cloom commented Apr 26, 2022

Hello all,

I have something weird. Everything was working fine for my cousin's husband until few weeks ago and then it stopped working. I am surprised it actually worked... Any idea if they migrated their users by chunks and he was maybe in the last one to have login/password working?

This is putting a big stop on him using Home Assistant, he was getting super excited and I was also happy to help a newbie getting some cool features in his home!

@iMicknl
Copy link
Owner

iMicknl commented Apr 28, 2022

@cloom it seems that they indeed just migrated most of their users... It has been reported on core as well: home-assistant/core#70869 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked bug: auth_issue Authentication issue due to vendor moving to their own authentication schema bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants