Configuration of Somfy Tahoma Consumer Key & Secret

Hi there,

I'm totaly new to Node-RED and did try to create an interface to Somfy Tahoma.

  1. I did install the node-red-contrib-tahoma with this documentation: https://flows.nodered.org/node/node-red-contrib-tahoma
  2. For the Configuration I did follow this link:
    https://github.com/nikkow/node-red-contrib-tahoma/wiki/How-to-create-an-Somfy-Open-API-app%3F

I do not understand point 5: "Copy and paste the Consumer Key and Consumer Secret information to your node-red installation" where do I have to copy/paste the Consumer Key and Secret in Node Red?

Meanwhile I did open Node "Tahoma Readable Element" and in the Properties section i did create a Name called Node-RED and past the API Key and API Secret. If I press the Link Node-Red to Tahoma button I can enter my Tahoma E-mail adress and password and after login I got the error message. An error occured, try again. If this issue happens again please contact technical support.

In the Node Red Debug of the tahoma node I got the issue "error: Property "servicekey" is required.

Any ideas?
Chris

Welcome to the forum.

If you configured the application on the somfy website correctly (the callback url needs to match), then in node-red paste the details, then deploy first and after that try to link it. If that doesnt work, it would perhaps be better to create an issue on github.

I used this node for a while, but once the developer switched over to the oauth2 method (which is the correct way of dealing with the API) I started having issues with the keys expiring every day (there is still an open issue on github about this). In the end I switched (back) to the homebridge plugin, which works without any issues.

Can I test the callback url ? In my case it is http://myserverurl:1880/somfy/callback
If I enter this url into a browser from the internet a blank white page appears.

What exactly do you mean by "in node-red paste the details"? can you please explain step by step what you did?

If I try to deploy the configured tahoma read node I get the error message "
The workspace contains some nodes that are not configured properly:"

  • Give it a name.
  • Paste in your details: API key and secret
  • deploy
  • doubleclick the node again
  • click the "link node-red to tahoma"

This will open a popup, login, click authorize.
If this works, the node will work (for now).

Thanks , that is what I did before.

Do you also get an error message while deploying called "
The workspace contains some nodes that are not configured properly:" ?

If I try the link node red to tahoma button I get another error message: An error has occurred
Please try again. If the problem persists, please contact our technical support team.

I can login with my tahoma credentials but I'm getting this error message next.

Apperently the developer has changed some things (i havent used it for a while as it doesn't work reliable for me)

Enter your api key + secret and click the link button

Click yes, and the key+secret field will change,
click update
click ok
click deploy
doubleclick the node again, you will see the devices:

As soon as I click the Link Node Red to Tahoma button, After successfull login with my Tahoma credentials I'm getting the error message: An error has occurred
Please try again. If the problem persists, please contact our technical support team.

When I try to open the given link in the Tahoma browser window "http://myserverurl:1880/somfy/callback&state=setup&grant_type=authorization_code" in a dedicated browser window, then this error appears:
Cannot GET /somfy/callback&state=setup&grant_type=authorization_code

Did you try a different browser ? And no that link will not work in your browser, it is a callback.

I got the same issue with Edge and Firefox too.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.