{"action":"closed","issue":{"url":"https://api.github.com/repos/bwssytems/ha-bridge/issues/849","repository_url":"https://api.github.com/repos/bwssytems/ha-bridge","labels_url":"https://api.github.com/repos/bwssytems/ha-bridge/issues/849/labels{/name}","comments_url":"https://api.github.com/repos/bwssytems/ha-bridge/issues/849/comments","events_url":"https://api.github.com/repos/bwssytems/ha-bridge/issues/849/events","html_url":"https://github.com/bwssytems/ha-bridge/issues/849","id":282988338,"number":849,"title":"Somfy Devices not working","user":{"login":"snakevalley","id":3228241,"avatar_url":"https://avatars3.githubusercontent.com/u/3228241?v=4","gravatar_id":"","url":"https://api.github.com/users/snakevalley","html_url":"https://github.com/snakevalley","followers_url":"https://api.github.com/users/snakevalley/followers","following_url":"https://api.github.com/users/snakevalley/following{/other_user}","gists_url":"https://api.github.com/users/snakevalley/gists{/gist_id}","starred_url":"https://api.github.com/users/snakevalley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snakevalley/subscriptions","organizations_url":"https://api.github.com/users/snakevalley/orgs","repos_url":"https://api.github.com/users/snakevalley/repos","events_url":"https://api.github.com/users/snakevalley/events{/privacy}","received_events_url":"https://api.github.com/users/snakevalley/received_events","type":"User","site_admin":false},"labels":[{"id":241628914,"url":"https://api.github.com/repos/bwssytems/ha-bridge/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2017-12-18T19:08:25Z","updated_at":"2018-03-14T19:17:20Z","closed_at":"2018-03-14T19:17:20Z","author_association":"NONE","body":"I used Ha-bridge 5.1.0 and connected the bridge to the Tahoma Box. The bridge can login and shows me the device list. If I pick up a device from the list and click the \"build item\" button, I can see the requests for on (Shuttor open) and off (Shuttor close). So, thats fine.\r\n\r\nIf I save the device, and use the test buttons, I get the following log messages. Please note, that I have replaced the rts content URL with zeros for privacy reasons.\r\n\r\n`2017-12-18 19:36:48,202 [qtp1182900595-17] DEBUG com.bwssystems.HABridge.plugins.http.HTTPHandler - doHttpRequest with url: https://www.tahomalink.com/enduser-mobile-web/enduserAPI/exec/apply with http command: POST with body: \"{\\\"label\\\":\\\"Label that is ignored probably\\\",\\\"actions\\\":[{\\\"deviceURL\\\":\\\"rts://0000-0000-0000/00000000\\\",\\\"commands\\\":[{\\\"name\\\":\\\"open\\\",\\\"parameters\\\":[]}]}]}\"\r\n\r\n2017-12-18 19:36:48,206 [qtp1182900595-17] DEBUG com.bwssystems.HABridge.plugins.http.HTTPHandler - Making outbound call in doHttpRequest: <<<POST https://www.tahomalink.com/enduser-mobile-web/enduserAPI/exec/apply HTTP/1.1>>>\r\n\r\n2017-12-18 19:36:48,237 [qtp1182900595-17] DEBUG com.bwssystems.HABridge.plugins.http.HTTPHandler - POST execute (0) on URL responded: 400\r\n\r\n2017-12-18 19:36:48,263 [qtp1182900595-17] WARN  com.bwssystems.HABridge.plugins.http.HTTPHandler - HTTP response code was not an expected successful response of between 200 - 299, the code was: HTTP/1.1 400 Bad Request`\r\n\r\nIf I copy the printed body string to a REST client tool (e.g. Postman), the Shuttor is opened correctly.\r\n\r\nI tried to switch the loglevel to trace, but I was not able to see the response body. So it is unclear, why Somfy say \"BAD REQUEST\""}}
{"actor":{"display_login":"bwssytems"}}