-
Notifications
You must be signed in to change notification settings - Fork 11
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
Auth Problem non-matching callback #39
Comments
Just saw similar problem #24 being closed! Lucky jemmail! I am glad for you. However, I just tried again with same approach, but to no avail. |
Same problem here. I have redmatic installed on Homematic CCU3, successfully added your Tahoma node, registered the redmatic app with Somfy, entered key and secret to Tahoma-config. Any solution? |
I am suffering something similiar. Getting the permission from Somfy, but being unable to retrieve the tokens. Tried all combination of the callback url so far. |
Hello, |
Thanks, Somfy is really very unreliable. I use the Somfy Tahoma API also within my Mediola Neo Creator setting. Today same issue there (again) connection was lost and he to be re-enabled. Nothing I want to have within a Smarthome setup. |
Thank you all again too. I have also left a message for tech support on their site as well ... |
Thanks to @hmwelsch's help, we kind of sorted this out with Somfy. For now, they are still investigating the issue, but it seems they found out the root cause (quoting them: Issue is on our side when syncing As of today, the only workaround is to contact them through this contact form, so they can manually fix each affected callback in their database. |
I am having this issue as well. I spent nearly £300 on the Tahoma box and I can't log in!!! I have tried to set this up using the webhook example and the local network address example. Just to clarify. The callback url should be an externally accessable url should it? This is the url the somfy server calls to send the access token to? If that is the case I think that the page here needs to be updated to make this clear and possibly include the webhooks example. I for one do not expose my node-red server to the external internet at all. |
Hi, thank you for this great job. For me the local callback url is somehow working. Its possible to call API once and the blind are working as expected. The issue I have currently is that a second call later doesn't work anymore, like about 1 hour later. If I do the registration with new token manually again it works again for a while (1 hour). Does somehow have any clue how to solve this issue? Thanks in advance. |
still no reply from Somfy. Not even an automated response saying they got my support request. I phoned them and they had no idea how to contact the developer team. How long has it taken for people to get responses from the support form? Does anyone have an e-mail address they can share we me that I can try? Thanks |
Sad as it is, but see nikkows comment from Aug. 25 above: |
Yeah but I've RP4 and the initial set up somehow is working to get the token. I'm able to execute commands in Node red. After a while less than 2 hours, its not working anymore. Is this same issue as you are referring to? If I request new token manually same as before, works next 1-2 hours....😩 |
Possible solution:
|
Not working for me :( Any news about this fu... problem ? |
What is your callback url in the apps when you login to https://developer.somfy.com/user/me/apps |
Hi :) I am using home assistant virtual machine, i am behind an apache2 virtual host proxy. In the somfy website i use : "https://homeassistant.xxx.com/auth/somfy/callback" in my apache log i have this :
apache conf :
and nothing in my apache error log Thanks for helping ! |
Tried this : no success so far... EDIT : wait wait wait !!! 1880 ?? this is the node red port ! |
Yes 1880 is my node red port Then approve update and deploy. |
Yes i think this is my problem, i didn't think about this is not home assistant ! Will check/correct my proxy conf, will return my result ! thanks ! |
Could be that you are into a good route now:) |
I still can't make it to work 😿
When I try to link Somfy, I get error page from Somfy (with HTTP 404), the url is: |
Thats weird. Is this your node-red installation ? http://192.168.86.3:1880/ with ip and port of your node red? Do you get the popup window for retrieving your access token in node red? |
Yes, http://192.168.86.3:1880 is my running node-red installation. If I click the link, it opens up. Yes, I get the popup, I can log in, but I get that error and 404. In the devtools, I can see there is no request to 192.168.86.3, so I guess there is something wrong on Somfy's side? FYI, I can control my blinds with TaHoma Android app and Google Home Mini voice assistant. |
Try to make a callback url by using webhook.site , and copy the url to your somfy app, to see if that works instead of your local. You still need to login to your somfy account in node red, when you authorize. |
Suggestion for workarounds I had also tried myself in 2020 with direct coupling of Somfy Tahoma API with Node-Red, but then left it. I found the following workarounds:
I hope that I have given you new ideas before you despair of the problem 😉 |
@frankis78 Webhook.site is nice, thanks for the tip. But, I changed it at Somfy's website and tried it right away. With same result. But then I noticed there is still my IP in callback parameter in URL. So I went to bed and let it be over the night and now, 12+ hours later, tried it again. But it is the same. The URL opened from Node RED is still I'm wondering, if the |
Is it possible to replace the callback url with the webhook.site url, before you Approve it? |
Yes, I can, and the result is the same. Also, I don't even get to the Approve button, I get the error page immediately after login. |
Coming back to this after nearly a year and exactly the same. I had thought that maybe they might have fixed it. This really annoys me because it's a ridiculously over priced bit of kit and their support is non-existent. |
I did get a response from Somfy 10 months after my first support request. Their response:
6 months after that it's still not working. |
I am currently migrating my Node-Red installation from one machine (RPI3) to another one (RPI4 8GB). Setup is to the best of my knowledge identical. Migration to NR via import in RPI4 after fresh install. NR runs on the same local host (RPI3 or RPI4, but never concurrent). All else works fine.
Somfy on RPI3 OK (with http://127.0.0.1:1880/somfy/callback) as usual :-)
Somfy on RPI4 FAILS with non-matching callback error :-(((
I have of course also read issue #27 and tried all permutations suggested there as well.
The result is always identical (non-matching callback), no matter what I do.
I have also waited for 24h to give time for potentially needed processing with the new Somfy app: same result.
I would appreciate very much any help on how to further debug/proceed on this issue.
BTW: I am very grateful for the excellent work on this contrib! For me this is the best solution to integrate Somfy at all.
The text was updated successfully, but these errors were encountered: