{"action":"created","issue":{"url":"https://api.github.com/repos/Nickduino/Pi-Somfy/issues/9","repository_url":"https://api.github.com/repos/Nickduino/Pi-Somfy","labels_url":"https://api.github.com/repos/Nickduino/Pi-Somfy/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/Nickduino/Pi-Somfy/issues/9/comments","events_url":"https://api.github.com/repos/Nickduino/Pi-Somfy/issues/9/events","html_url":"https://github.com/Nickduino/Pi-Somfy/issues/9","id":307963428,"number":9,"title":"Timing and Frame repetition","user":{"login":"GKFR","id":37692011,"avatar_url":"https://avatars3.githubusercontent.com/u/37692011?v=4","gravatar_id":"","url":"https://api.github.com/users/GKFR","html_url":"https://github.com/GKFR","followers_url":"https://api.github.com/users/GKFR/followers","following_url":"https://api.github.com/users/GKFR/following{/other_user}","gists_url":"https://api.github.com/users/GKFR/gists{/gist_id}","starred_url":"https://api.github.com/users/GKFR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GKFR/subscriptions","organizations_url":"https://api.github.com/users/GKFR/orgs","repos_url":"https://api.github.com/users/GKFR/repos","events_url":"https://api.github.com/users/GKFR/events{/privacy}","received_events_url":"https://api.github.com/users/GKFR/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-23T09:53:27Z","updated_at":"2018-03-30T14:35:46Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nI used your code and succeeded in registering and controlling my Somfy shades using an Aurel Transceiver (433.42MHz). I also checked the PushStack blog with details about the RTS protocol your code is based on. I noticed that you use a different timing (640us per half bit instead of 604us documented in the PushStack blog). The PushStack blog mentions that the timing is not critical but I wonder if there a special reason for that? \r\nI have a few open questions, maybe you can help me:\r\n- Is it necessary to repeat the frame 3 times as you do in your code?\r\n- Do you have an idea how to implement a long press of the prog button to register/de-register a remote? Is this established by often repetition of the frame?\r\n- My original Somfy remote has a separate wheel (additionally to the 3+1 buttons) to adjust the angle of the blinds. My Somfy Telis 6 Chronis remote does not have this wheel but the angle can be adjusted by long pressing up or down. Do you have an idea how to implement this function? Is this a separate control code or is this established through frame repetition?\r\n\r\nThank you in advance!\r\n"},"comment":{"url":"https://api.github.com/repos/Nickduino/Pi-Somfy/issues/comments/377537327","html_url":"https://github.com/Nickduino/Pi-Somfy/issues/9#issuecomment-377537327","issue_url":"https://api.github.com/repos/Nickduino/Pi-Somfy/issues/9","id":377537327,"user":{"login":"GKFR","id":37692011,"avatar_url":"https://avatars3.githubusercontent.com/u/37692011?v=4","gravatar_id":"","url":"https://api.github.com/users/GKFR","html_url":"https://github.com/GKFR","followers_url":"https://api.github.com/users/GKFR/followers","following_url":"https://api.github.com/users/GKFR/following{/other_user}","gists_url":"https://api.github.com/users/GKFR/gists{/gist_id}","starred_url":"https://api.github.com/users/GKFR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GKFR/subscriptions","organizations_url":"https://api.github.com/users/GKFR/orgs","repos_url":"https://api.github.com/users/GKFR/repos","events_url":"https://api.github.com/users/GKFR/events{/privacy}","received_events_url":"https://api.github.com/users/GKFR/received_events","type":"User","site_admin":false},"created_at":"2018-03-30T14:35:46Z","updated_at":"2018-03-30T14:35:46Z","author_association":"NONE","body":"In a first attempt to answer my questions I played around with my program and could finally answer all my questions.\r\n- As you said, it is not necessary to repeat the frames at all. My blinds respond to single frames already. However, as you said, repetition of the frames raises the chances that at least one of the frames is received if there is interference.\r\n- I tried to send more repetitions of the same pulses to simulate the tilting function for the blinds. Sending more than two repetitions after the original frame means a button kept pressed and moves the blind in steps to adjust the tilt. Sending the original frame and three repetitions is the smallest adjustment, sending the original frame and more repetitions moves the blinds up/down for a longer time.\r\n- For the prog button the principle is the same. To activate the register (as with a long press on the prog button) you have to repeat the frame. I tried some repetitions and it seems that it is necessary to repeat the frame at least thirteen times after the original frame to activate the registration.\r\n\r\nThank you for your help and the motivation!"}}
{"actor":{"display_login":"GKFR"}}