nikkow / node-red-contrib-tahoma

Node-RED module to control a Somfy Tahoma box (Roller shutters...). Used for home automation flows.
Apache License 2.0
19 stars 11 forks source link

[COLABORATION] The session expired issue #49

Closed marekhalmo closed 2 years ago

marekhalmo commented 3 years ago

Hello,

I'm here to solve the messy session expired issue once for all. The goal:

Motivation:

@nikkow i know you are busy - but please assist - at least you could push a new version/release when this is done

panjazzon commented 2 years ago

Hi marekhalmo, did you make any progres on your project?

marekhalmo commented 2 years ago

Hello @panjazzon, not much progress so far.. I'm kinda busy now..

marekhalmo commented 2 years ago

Hello,

i have a working login in soapui now.. have to rewrite it to JS to make it work first

marekhalmo commented 2 years ago

I have trouble deploying the package to my local node-red windows .. any help?

If i try to integrate with https://nodered.org/docs/creating-nodes/first-node#testing-your-node-in-node-red i will get an error loading some list..

same with npm run build

marekhalmo commented 2 years ago

I have a working soapui example where i get to the point the api is redirecting me to a page with valid token to fetch access and refresh tokens (the stuff you need to click manually when your tokens get expired.

Going to try to reimplement this to javascript now..

nikkow commented 2 years ago

Hello,

Sorry for the long time with no response. Somfy recently announced a new API (yeah... another one) that would allow this node to discuss directly with the Tahoma box without having to deal with any server-side API (apart from the setup). The first tests are very promising and I am pretty confident that this new announcement is the long-expected solution.

Best, N.

nandibrenna commented 2 years ago

Hello, is there any progress with the new API? Anything to test?

nikkow commented 2 years ago

The beta version of 3.0.0 was released a few minutes ago. If you feel like testing it, please install it from the beta channel (from the node-red folder, from your terminal):

npm i node-red-contrib-tahoma@beta

Please note that this is a beta version. You might encounter issues while using it (as it is not considered as being ready for production).

Best, N.

marekhalmo commented 2 years ago

Yes.. yes yes!.. i will check this out! Thank you! This is probably the last issue that is bugging me with my smart house ...

marekhalmo commented 2 years ago

Hello.. i checked last develop yesterday.. after fixing the custom rotation issue (https://github.com/nikkow/node-red-contrib-tahoma/issues/61) everything seems to be working fine..

Because this works on the local api i think it is not necessary to fix this issue here. Thank you! CLOSED