Open BillGOH opened 2 years ago
This issue has been mentioned on openHAB Community. There might be relevant details there:
Hi @BillGOH, can you please sniff the communication using the Chrome browser and F12 key? All I need is you to 1) open a new blank page in chrome 2) log into www.tahomalink.com 3) press F12 (a developer window opens) 4) navigate to a network tab in the developer window 5) move your device to MY position 6) provide me with the request of the apply command, it should look like this (I do not have MY position in the Tahoma web for my devices)
thanks.
Hello @octa22, thanks again for your help and happy new year. Unfortunately I cannot login to www.tahomalink.com (could not do this in the past as well). The site always says wrong username or password. I am using Microsoft Edge (based on chrome). Regards BillGOH
OK, then in which application you are able to move your shutters to the MY position? Edge doesn't matter, but you really need to log into www.tahomalink.com portal...
Hi, I am using the Tahoma app. Unfortunately I never could log into www.tahomalink.com via web browser (Maybe there is a connection to the use of the Somfy connectivity kit?). Is there a possibility to "sniff" via openHAB?
Unfortunately you can't use openHAB for this sniffing, you need to get the communication from their original web or mobile app. The web is the easiest way, mobile app is possible as well, but you need a MITM proxy or simular tool to sniff the communication. But it is weird, my openHAB binding by default uses tahomalink.com server address for communicating, have you changed it to some other address in the bridge settings?
It is indeed weird. I use tahomalink.com in openHAB; using the same credentials on the website (redirected to https://www.tahomalink.com/enduser-mobile-web/steer-html5-client/tahoma/) - error. I have to discuss the issue with Somfy. There are some reports on the net having similar issues.
Got a reply from Somfy. Webaccess via tahomalink.com is not possible if you have a Connectivity Kit. Cloud API can be used, however.
Maybe we can find a user with the full Tahoma box and RTS products?
I have the same set up and tried it. I also get the same error message. Would be awesome if somebody with a full Tahoma could support. Somfy only has one szenario would be nice if that would work...
I have a Tahoma box with RTS products, what can I do for you @BillGOH and @sleugner.
Hello @BasvanH, your help would be great. See https://github.com/openhab/openhab-addons/issues/13061#issuecomment-1368220917 for instructions. @octa22 can use these information to adjust the binding.
@BillGOH alright, I have executed this and moved a blind to its My position.
This was the request URL:
https://www.tahomalink.com/enduser-mobile-web/enduserAPI//exec/apply
This was the payload:
{
"label": "Keuken - Klein raam - My positie - TaHoma PC",
"actions": [
{
"deviceURL": "rts://1227-9296-2479/16740924",
"commands": [
{
"name": "my",
"parameters": []
}
]
}
]
}
This was the response:
{"execId":"74d598af-ac10-3e01-7852-75434d82465c"}
Thank you very much for your help. I hope that @octa22 can make use of this and solve the problem.
This issue has been mentioned on openHAB Community. There might be relevant details there:
With openHAB 3.3 the Somfy Connectivity kit is supported. However, one issue remains: I cannot use the MY-position. In theory this should work like the remote control where stop and my is the same, i.e. if I "press" the stop-button in openHAB an rollershutter should go to the MY-position. However, nothing happens.
The problem is only relevant for Somfy products using the RTS protocol, because there you have no possibility to give the rollershutter an exact position/orientation via openHAB. It is no problem with the io-protocol.