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

The ability to set the blinds orientation. #37

Open panjazzon opened 3 years ago

panjazzon commented 3 years ago

I will love to have possibility to set the blinds orientation (rotation) with the tahoma node. Is there any chances to implement this future into your node?

marekhalmo commented 3 years ago

Hello @panjazzon, this feature is already implemented using "customRotation" action with the "orientation" parameter.. I'm not sure if it is latest release but you can try to send {"action":"customRotation","orientation":"25"}

(i originally added this feature and it seems to be merged to master and is working on my setup)

panjazzon commented 3 years ago

Hi @marekhalmo. I have tested it without succes. It seems to not working. The node is not responding for "customRotation" action.

marekhalmo commented 3 years ago

@panjazzon it might not be in the latest release .. @nikkow can you push it to a new release?

marekhalmo commented 3 years ago

@panjazzon you can also overwrite the files you have installed on your machine.. (not sure if everything works properly)

nikkow commented 3 years ago

Hello, A new version fixing several issues and including this feature is planned to be released within the next few days 🙂

marekhalmo commented 3 years ago

Great thanx!

panjazzon commented 3 years ago

I'm very happy to hear it. Thank you very much :)

nikkow commented 3 years ago

Hello @panjazzon, @marekhalmo,

This should be part of release 2.0.3, can you please test again? Unfortunately, I have no devices that support orientation to test this feature.

Thanks!

panjazzon commented 3 years ago

Hello @nikkow. I'm on the vacation now. I will test it around 7th september when I get back.

nikkow commented 3 years ago

No problems, I will keep this ticket open until someone can confirm that it is working as expected :) Enjoy your vacation!

marekhalmo commented 3 years ago

Hello @nikkow .. the code i committed is running fine for past 2+ months on my setup (only my commit).. so i guess it is tested.. i just wanted to share it..

I will migrate to 2.0.3 as soon as you release it (because of the "good enough posittion" feature) but i don't want to mess up my installation untill then (wife does not like issues :) )

marekhalmo commented 3 years ago

Hello @panjazzon .. were you able to test test the feature? @nikkow will you do a new release anytime soon?

panjazzon commented 3 years ago

Unfortunately, I haven't had a chance to test this feature yet. I will be able to do it the fastest in the second half of January. I will let you know as soon as I can do it. Thanks for your help.

Wiadomość napisana przez marekhalmo notifications@github.com w dniu 30.12.2020, o godz. 15:08:

Hello @panjazzon https://github.com/panjazzon .. were you able to test test the feature? @nikkow https://github.com/nikkow will you do a new release anytime soon?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nikkow/node-red-contrib-tahoma/issues/37#issuecomment-752634295, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQQ2E556MF4YQE2WSVPHW3DSXMX4BANCNFSM4PWVKQQQ.

marekhalmo commented 3 years ago

@nikkow Hello, can you make a new release? This feature works on my build since aug 2020 :(

panjazzon commented 3 years ago

I came back to my installation, updated node to v 2.0.3 and have no success with get it working at all. Tahoma node linked to my previously created somfy app shows "no devices". New created app doesn't link, and says:

An error has occurred Please try again. If the problem persists, please contact our technical support team.

Problem persist for 10 days.

panjazzon commented 3 years ago

A few days ago without any action from me, everything started working. I can confirm that setting orientation is working fine. Does anyone knows how to set position and orientation at the same time with one action? For example, how send comand to blinds to move to "position":50 and then immediately set "orientation":25?

marekhalmo commented 3 years ago

Because of how the api for this nodes is constructed there is no way to set both position and orientation,... you have to make 2 calls