-
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
v3.0.0.beta5 - customRotation doesn't work #61
Comments
It seems Somfy modified the command names to be sent for custom positioned elements. The customPosition was also affected for roller shutters. Below is a curl command that will list all your devices on your terminal. Could you please identify the device that should support the rotation and provide me the curl --location --request GET 'https://<gateway URL>/enduser-mobile-web/1/enduserAPI/setup' \
--header 'Authorization: Bearer <token>' (Please replace the and placeholders with the correct information. You can use the one generated within your node-red instance. Thanks! |
I hope it helps :)
|
Thank you, I will include that in the next update :) |
Hello, i was looking in to the commands part of what the tahoma read node returns.. changed rotation to setOrientation and it works
Finally a local control of my blinds!! FINALY!! :) .. thank you for your awesome contribution! |
@nikkow can you do the change in GIT? I will report if any other issues arise |
A created a pull request for that .. feel free to merge :) |
I had to reinstall the entire smart home. Unfortunately customRotation function seems to not working again. I tried your fix @marekhalmo marekhalamo by editing the tahoma.js file but it didn't help. I don't know if the problem is only with me, @marekhalmo - does Customrotation work for you? Version of node-red: v3.1.0. |
Everything broke for me just today after power outage.. I'm not sure what happened but it seems that my box got forced an update. I will try to check what is happening tomorrow and let you know... |
Thank you, I'm waiting to hear from you |
Any updates on this case? |
Hello everyone, is there an update on this yet? The turning can be set via Homekit. Perhaps something can be adopted here for the Node Red code? Tanks a lot |
Hello, if you know what to do you can take a look at my fork with the code where the rotation works flawlessly for the past 1+ years. I hope this helps. M. |
Hi, you mean this code? Unfortunately I have no idea where to put this.
|
Hello.. yes that is the fix.. you have to update that in your node-red tahoma node. /home/.../.node-red/node_modules/node-red-contrib-tahoma/dist/nodes/tahoma.js |
Once you open the file you will surely see where to put that snippet... |
I tried this fix but it didn't help. Let us know if it work for you. Anyway I made research but I didn't find any information about Somfy API. Do you know where can I find it? |
Hi, i have change the tahoma.js Thanks a lot. TaHoma Version: 1.21 @panjazzon |
Hi. I modyfied tahoma.js
Rebooted node-red, rebooted device and still no luck. Rotation doesn't work. @Murmelspieler |
What commands are you sending to the node? |
Commands are correct Looks like @Murmelspieler is 100% right - it WILL NOT WORK on Raspberry Pi platform. I moved my node-red installation to Synology Nas (installed in docker), modified tahoma.js and it works like charm. I don't know why it's not working on Raspberry. It looks like it's platform related issue, not the code itself. Thank you @Murmelspieler for pointing out the problem, it helped me a lot. Thank you @marekhalmo for your fix too, I hope someone, someday will integrate it to official stable release. |
I run .y system on RPI 3 for the past 4 yers and it works... let me check the command |
This is one of the commands I'm sending {"action":"customRotation","orientation":"25"} the problem is probaby that you are not sending string but number.. let me know if that works.. |
BTW I'm running my box in the dev mode (api accessible locally).. maybe that is also one of the things that needs to be done.. |
Other actions work ok? |
Yes, everything but rotation works. |
I think there was a way to get all api functions from the box... can't remember how.. it was somewhere on the tahoma developer account page... i can check that tomorrow if i i remember... Which box are you using? |
Hello.. i wanted to give you a command to fetch all connected devices from your tahoma box with their respective allowed commands. That way we could in theory see what devices are there and if the customRotation command is available for you.. but it seems that https://developer.somfy.com/ does not work anymore.. I can't remember anymore how i did this in the past (it is 2 years since i touched this topic).. I found this swagger api: https://somfy-developer.github.io/Somfy-TaHoma-Developer-Mode/ Post the response here so we can see what is going on, strip any security tokens if there are there and let me know which device you are trying to address.. M. |
Hi everyone, I couldn't get it to run in Docker (NAS - Synology) either, because I couldn't install the beta version. On my server I had to search and replace the TaHoma.js in the root folder. The files in the user do not work. I think the same is the problem with the PI. On my PI only the root folder is empty. PS: |
if you install the Tahoma app on your cell phone, you can only control the shutters and underneath, but you can also control the rotation of the external venetian blinds (2 controls). Maybe that will help |
@Murmelspieler - i was asking the technician about that as well. He said that the wind sensor does not connect to the central unit. It is bound directly to the blinds (same as standard remote). Check your processes to see what user is used for node red (using htop command) , login under that user and try to search for that... On my RPI i can go i can see the change there via F4 (build in editor).. |
@marekhalmo in my case Tahoma.js file was in
I think you should look for this file in docker folder, not in root or any user home folder |
here is my Tahoma.js on the PI. but I can change it as I like, nothing happens. Node red runs under the user I log in with. XXX@raspberrypi:~/node_modules/node-red-contrib-tahoma/dist/nodes |
Can you list the file after update? |
Sorry for the late response. |
Custom rotatin function seems to not working. For example syntax {"action":"customRotation","orientation":50}
gives no results. It was working on previous API, now the same flow isn't.
Setup:
Version of node-red: v1.2.7
Version of node-red-contrib-tahoma: 3.0.0.beta5
Version of node (node -v): v10.23.2
Version of npm (npm -v): 6.14.10
Where is node-red installed Raspberry
How is node-red installed: npm
The text was updated successfully, but these errors were encountered: