Somfy-Developer / Somfy-TaHoma-Developer-Mode

A collection of requests to use a local API with Somfy TaHoma gateways
130 stars 11 forks source link

[Switzerland] Where can I activate the developer mode? #111

Open gonz05 opened 1 year ago

gonz05 commented 1 year ago

Sorry, the question is hopefully not too stupid: Can you please tell me where exactly (which URL) I can find the MyAccount, where I can activate the developer mode? I could not find this option so far on any somfy page I could log in.

I am using Tahom DIN-Rail.

rwzdoorn commented 12 months ago

There are no stupid questions:

Do you have a Tahoma Box or only the DIN rail?

Go to your Somfy website (for dutch Somfy.nl) . Login with your username and password. If you are logged in you should see your Tahoma box. When you click on it you can enable the developer mode.

gonz05 commented 12 months ago

Thanks rwzdoorn!

I just went to somfy.ch (I live in Switzerland) and logged in there. On the overview page of my account I can see a subtitle "my products", but nothing is listed here. On the right hand side of that page there is a link "show my connected devices". When I click on it, I am forwarded to www.somfy-connect.com.

By the way: I tried to log in to the account on somfy.nl, but could not log in with my credentials.

Any further idea?

BernoldNL commented 12 months ago

Wow, that is actually a very good question. I'm also getting there through my local country site (somfy.nl). If I try any other site I get forwarded to classictahomalink.com with errors. If I try somfy.de my account does not work. You would expect there should be some worldwide entry point.. I would love to hear it, too.

I may have a workaround. I'm playing with the cloud API and may have found something that sounds good, but it's poorly documented so I'm not sure. So use it at your own risk.

Go to https://www.tahomalink.com/enduser-mobile-web/enduserAPI/doc Use the POST for /login Use its Test operation, enter your userId and userPassword and Submit Then reload the API page for more options. Try POST /config/{gatewayId}/local/openPairing Use its Test operation, enter your gatewayId with no timeout and Submit.

I have no idea how you can check if it worked. Maybe it shows in the result text.

tanelvakker commented 8 months ago

I tried this, but it did not enable local API. I have contacted local support - someone said in another issue that local support was able to turn this on

BernoldNL commented 8 months ago

Too bad that didn't work. Now we know.

Yeah, I have had users of my integration contact their local support for this too.

By the way, what's also too bad is that no Somfy developers have reacted here since 6 months.. :(

shanempope commented 7 months ago

You can go here: https://www.somfysystems.com/en-us/tahoma-account/my-automation-box and inspect the source. Search for developer mode. Delete the class and is in this div: image A modal will show up with a button that has the activate button. Hit it and it'll turn green and tell you it was successful eventually.

llavorel-somfy commented 6 months ago

Hi @gonz05

Would you be able to share a screenshot of what you are seeing in somfy.ch please ?

BernoldNL commented 6 months ago

Hi @gonz05

Would you be able to share a screenshot of what you are seeing in somfy.ch please ?

FYI, a user of my integration had the same issue from Romania (somfy.ro?).

gonz05 commented 6 months ago

Hi @gonz05

Would you be able to share a screenshot of what you are seeing in somfy.ch please ?

That's how it looks:

somfy ch

So, no product listed.

gonz05 commented 6 months ago

You can go here: https://www.somfysystems.com/en-us/tahoma-account/my-automation-box and inspect the source. Search for developer mode. Delete the class and is in this div: image A modal will show up with a button that has the activate button. Hit it and it'll turn green and tell you it was successful eventually.

Sorry, I overlooked this post. I am not able to login with my account on this domain.

gonz05 commented 5 months ago

I finally contacted the support by mail. The first responded, that the were not able to activate the developer mode. After I mentioned this discussion the could remotely activate it. Funny.

However, I still can't see my device in my Somfy account.

llavorel-somfy commented 2 months ago

Hi @gonz05 can you see it now ?

gonz05 commented 2 months ago

Hi @gonz05 can you see it now ?

No. I can't see it in my account. However, as mentioned a few weeks ago, the develpoer mode was activated by the support Team.

jasonthefirs commented 1 month ago

You can go here: https://www.somfysystems.com/en-us/tahoma-account/my-automation-box and inspect the source. Search for developer mode. Delete the class and is in this div: image A modal will show up with a button that has the activate button. Hit it and it'll turn green and tell you it was successful eventually.

So I'm trying to follow these instructions but I can't seem to get it to work... do you think you could be a bit more specific here about exactly what I need to delete in order to get the 'Activate' button to show up? Thanks!

shanempope commented 1 month ago

So I'm trying to follow these instructions but I can't seem to get it to work... do you think you could be a bit more specific here about exactly what I need to delete in order to get the 'Activate' button to show up? Thanks!

I just took a look at the source again on that page and it looks like they properly deleted it now. So that won't work anymore.

jasonthefirs commented 1 month ago

Well, rats.

Thanks for checking and the prompt reply! If you ever figure something out to get it working again please lmk! :)

BernoldNL commented 1 month ago

Well, rats.

Thanks for checking and the prompt reply! If you ever figure something out to get it working again please lmk! :)

Have you tried the regular way first (Somfy's webpage in your country)? Otherwise just contact support to enable Developer Mode for you, just like people above?