{"action":"created","comment":{"url":"https://api.github.com/repos/viegener/Telegram-fhem/pulls/comments/69375762","id":69375762,"diff_hunk":"@@ -571,23 +573,22 @@ sub SOMFY_Parse($$) {\n       \t\t# update the state and log it\n \t\t\t\t\t### NEEDS to be deactivated due to the state being maintained by the timer\n \t\t\t\t\t# readingsSingleUpdate($lh, \"state\", $newstate, 1);\n+\t\t\t\t\treadingsSingleUpdate($lh, \"enc_key\", $encKey, 1);\n+\t\t\t\t\treadingsSingleUpdate($lh, \"rolling_code\", $rolling, 1);\n \t\t\t\t\treadingsSingleUpdate($lh, \"parsestate\", $newstate, 1);\n \n \t\t\tLog3 $name, 4, \"SOMFY $name $newstate\";\n \n \t\t\tpush(@list, $name);\n \t\t}\n-\t\t# return list of affected devices\n-\t\treturn @list;\n \n-\t} else {\n-\t\t# rolling code and enckey\n-\t\tmy $rolling = substr($msg, 6, 4);\n-\t\tmy $encKey = substr($msg, 2, 2);\n-\t\t\n-\t\tLog3 $hash, 1, \"SOMFY Unknown device $address ($encKey $rolling), please define it\";\n-\t\treturn \"UNDEFINED SOMFY_$address SOMFY $address $encKey $rolling\";\n+\t\t# return list of affected devices\n+\t\t# otherwise goto autocreate","path":"Somfy/10_SOMFY.pm","position":96,"original_position":96,"commit_id":"725a2ec3ce5dc00d2e49cdc85b88b8edf299f964","original_commit_id":"725a2ec3ce5dc00d2e49cdc85b88b8edf299f964","user":{"login":"habeIchVergessen","id":3988506,"avatar_url":"https://avatars.githubusercontent.com/u/3988506?v=3","gravatar_id":"","url":"https://api.github.com/users/habeIchVergessen","html_url":"https://github.com/habeIchVergessen","followers_url":"https://api.github.com/users/habeIchVergessen/followers","following_url":"https://api.github.com/users/habeIchVergessen/following{/other_user}","gists_url":"https://api.github.com/users/habeIchVergessen/gists{/gist_id}","starred_url":"https://api.github.com/users/habeIchVergessen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/habeIchVergessen/subscriptions","organizations_url":"https://api.github.com/users/habeIchVergessen/orgs","repos_url":"https://api.github.com/users/habeIchVergessen/repos","events_url":"https://api.github.com/users/habeIchVergessen/events{/privacy}","received_events_url":"https://api.github.com/users/habeIchVergessen/received_events","type":"User","site_admin":false},"body":"slightly different handling for device detecting","created_at":"2016-07-02T09:32:16Z","updated_at":"2016-07-02T09:32:16Z","html_url":"https://github.com/viegener/Telegram-fhem/pull/6#discussion_r69375762","pull_request_url":"https://api.github.com/repos/viegener/Telegram-fhem/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/viegener/Telegram-fhem/pulls/comments/69375762"},"html":{"href":"https://github.com/viegener/Telegram-fhem/pull/6#discussion_r69375762"},"pull_request":{"href":"https://api.github.com/repos/viegener/Telegram-fhem/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/viegener/Telegram-fhem/pulls/6","id":70674434,"html_url":"https://github.com/viegener/Telegram-fhem/pull/6","diff_url":"https://github.com/viegener/Telegram-fhem/pull/6.diff","patch_url":"https://github.com/viegener/Telegram-fhem/pull/6.patch","issue_url":"https://api.github.com/repos/viegener/Telegram-fhem/issues/6","number":6,"state":"open","locked":false,"title":"Parse: update readings enc_key + rolling_code; Anpassung autocreate","user":{"login":"habeIchVergessen","id":3988506,"avatar_url":"https://avatars.githubusercontent.com/u/3988506?v=3","gravatar_id":"","url":"https://api.github.com/users/habeIchVergessen","html_url":"https://github.com/habeIchVergessen","followers_url":"https://api.github.com/users/habeIchVergessen/followers","following_url":"https://api.github.com/users/habeIchVergessen/following{/other_user}","gists_url":"https://api.github.com/users/habeIchVergessen/gists{/gist_id}","starred_url":"https://api.github.com/users/habeIchVergessen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/habeIchVergessen/subscriptions","organizations_url":"https://api.github.com/users/habeIchVergessen/orgs","repos_url":"https://api.github.com/users/habeIchVergessen/repos","events_url":"https://api.github.com/users/habeIchVergessen/events{/privacy}","received_events_url":"https://api.github.com/users/habeIchVergessen/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-19T10:59:24Z","updated_at":"2016-07-02T09:32:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a959c4401fd2770d96de0f4657ce13acafb6851c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/viegener/Telegram-fhem/pulls/6/commits","review_comments_url":"https://api.github.com/repos/viegener/Telegram-fhem/pulls/6/comments","review_comment_url":"https://api.github.com/repos/viegener/Telegram-fhem/pulls/comments{/number}","comments_url":"https://api.github.com/repos/viegener/Telegram-fhem/issues/6/comments","statuses_url":"https://api.github.com/repos/viegener/Telegram-fhem/statuses/725a2ec3ce5dc00d2e49cdc85b88b8edf299f964","head":{"label":"habeIchVergessen:dev","ref":"dev","sha":"725a2ec3ce5dc00d2e49cdc85b88b8edf299f964","user":{"login":"habeIchVergessen","id":3988506,"avatar_url":"https://avatars.githubusercontent.com/u/3988506?v=3","gravatar_id":"","url":"https://api.github.com/users/habeIchVergessen","html_url":"https://github.com/habeIchVergessen","followers_url":"https://api.github.com/users/habeIchVergessen/followers","following_url":"https://api.github.com/users/habeIchVergessen/following{/other_user}","gists_url":"https://api.github.com/users/habeIchVergessen/gists{/gist_id}","starred_url":"https://api.github.com/users/habeIchVergessen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/habeIchVergessen/subscriptions","organizations_url":"https://api.github.com/users/habeIchVergessen/orgs","repos_url":"https://api.github.com/users/habeIchVergessen/repos","events_url":"https://api.github.com/users/habeIchVergessen/events{/privacy}","received_events_url":"https://api.github.com/users/habeIchVergessen/received_events","type":"User","site_admin":false},"repo":{"id":58671718,"name":"Telegram-fhem","full_name":"habeIchVergessen/Telegram-fhem","owner":{"login":"habeIchVergessen","id":3988506,"avatar_url":"https://avatars.githubusercontent.com/u/3988506?v=3","gravatar_id":"","url":"https://api.github.com/users/habeIchVergessen","html_url":"https://github.com/habeIchVergessen","followers_url":"https://api.github.com/users/habeIchVergessen/followers","following_url":"https://api.github.com/users/habeIchVergessen/following{/other_user}","gists_url":"https://api.github.com/users/habeIchVergessen/gists{/gist_id}","starred_url":"https://api.github.com/users/habeIchVergessen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/habeIchVergessen/subscriptions","organizations_url":"https://api.github.com/users/habeIchVergessen/orgs","repos_url":"https://api.github.com/users/habeIchVergessen/repos","events_url":"https://api.github.com/users/habeIchVergessen/events{/privacy}","received_events_url":"https://api.github.com/users/habeIchVergessen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/habeIchVergessen/Telegram-fhem","description":"Telegram module for usage in FHEM","fork":true,"url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem","forks_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/forks","keys_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/teams","hooks_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/hooks","issue_events_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/issues/events{/number}","events_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/events","assignees_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/assignees{/user}","branches_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/branches{/branch}","tags_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/tags","blobs_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/git/refs{/sha}","trees_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/statuses/{sha}","languages_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/languages","stargazers_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/stargazers","contributors_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/contributors","subscribers_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/subscribers","subscription_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/subscription","commits_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/commits{/sha}","git_commits_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/git/commits{/sha}","comments_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/comments{/number}","issue_comment_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/issues/comments{/number}","contents_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/contents/{+path}","compare_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/merges","archive_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/downloads","issues_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/issues{/number}","pulls_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/pulls{/number}","milestones_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/milestones{/number}","notifications_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/labels{/name}","releases_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/releases{/id}","deployments_url":"https://api.github.com/repos/habeIchVergessen/Telegram-fhem/deployments","created_at":"2016-05-12T19:44:14Z","updated_at":"2016-05-12T19:44:15Z","pushed_at":"2016-07-01T13:17:20Z","git_url":"git://github.com/habeIchVergessen/Telegram-fhem.git","ssh_url":"git@github.com:habeIchVergessen/Telegram-fhem.git","clone_url":"https://github.com/habeIchVergessen/Telegram-fhem.git","svn_url":"https://github.com/habeIchVergessen/Telegram-fhem","homepage":null,"size":443,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"viegener:master","ref":"master","sha":"24fc5bc73f0cd94679287cb517968a55cfcc62d7","user":{"login":"viegener","id":5160676,"avatar_url":"https://avatars.githubusercontent.com/u/5160676?v=3","gravatar_id":"","url":"https://api.github.com/users/viegener","html_url":"https://github.com/viegener","followers_url":"https://api.github.com/users/viegener/followers","following_url":"https://api.github.com/users/viegener/following{/other_user}","gists_url":"https://api.github.com/users/viegener/gists{/gist_id}","starred_url":"https://api.github.com/users/viegener/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viegener/subscriptions","organizations_url":"https://api.github.com/users/viegener/orgs","repos_url":"https://api.github.com/users/viegener/repos","events_url":"https://api.github.com/users/viegener/events{/privacy}","received_events_url":"https://api.github.com/users/viegener/received_events","type":"User","site_admin":false},"repo":{"id":37777011,"name":"Telegram-fhem","full_name":"viegener/Telegram-fhem","owner":{"login":"viegener","id":5160676,"avatar_url":"https://avatars.githubusercontent.com/u/5160676?v=3","gravatar_id":"","url":"https://api.github.com/users/viegener","html_url":"https://github.com/viegener","followers_url":"https://api.github.com/users/viegener/followers","following_url":"https://api.github.com/users/viegener/following{/other_user}","gists_url":"https://api.github.com/users/viegener/gists{/gist_id}","starred_url":"https://api.github.com/users/viegener/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viegener/subscriptions","organizations_url":"https://api.github.com/users/viegener/orgs","repos_url":"https://api.github.com/users/viegener/repos","events_url":"https://api.github.com/users/viegener/events{/privacy}","received_events_url":"https://api.github.com/users/viegener/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/viegener/Telegram-fhem","description":"Telegram module for usage in FHEM","fork":false,"url":"https://api.github.com/repos/viegener/Telegram-fhem","forks_url":"https://api.github.com/repos/viegener/Telegram-fhem/forks","keys_url":"https://api.github.com/repos/viegener/Telegram-fhem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/viegener/Telegram-fhem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/viegener/Telegram-fhem/teams","hooks_url":"https://api.github.com/repos/viegener/Telegram-fhem/hooks","issue_events_url":"https://api.github.com/repos/viegener/Telegram-fhem/issues/events{/number}","events_url":"https://api.github.com/repos/viegener/Telegram-fhem/events","assignees_url":"https://api.github.com/repos/viegener/Telegram-fhem/assignees{/user}","branches_url":"https://api.github.com/repos/viegener/Telegram-fhem/branches{/branch}","tags_url":"https://api.github.com/repos/viegener/Telegram-fhem/tags","blobs_url":"https://api.github.com/repos/viegener/Telegram-fhem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/viegener/Telegram-fhem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/viegener/Telegram-fhem/git/refs{/sha}","trees_url":"https://api.github.com/repos/viegener/Telegram-fhem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/viegener/Telegram-fhem/statuses/{sha}","languages_url":"https://api.github.com/repos/viegener/Telegram-fhem/languages","stargazers_url":"https://api.github.com/repos/viegener/Telegram-fhem/stargazers","contributors_url":"https://api.github.com/repos/viegener/Telegram-fhem/contributors","subscribers_url":"https://api.github.com/repos/viegener/Telegram-fhem/subscribers","subscription_url":"https://api.github.com/repos/viegener/Telegram-fhem/subscription","commits_url":"https://api.github.com/repos/viegener/Telegram-fhem/commits{/sha}","git_commits_url":"https://api.github.com/repos/viegener/Telegram-fhem/git/commits{/sha}","comments_url":"https://api.github.com/repos/viegener/Telegram-fhem/comments{/number}","issue_comment_url":"https://api.github.com/repos/viegener/Telegram-fhem/issues/comments{/number}","contents_url":"https://api.github.com/repos/viegener/Telegram-fhem/contents/{+path}","compare_url":"https://api.github.com/repos/viegener/Telegram-fhem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/viegener/Telegram-fhem/merges","archive_url":"https://api.github.com/repos/viegener/Telegram-fhem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/viegener/Telegram-fhem/downloads","issues_url":"https://api.github.com/repos/viegener/Telegram-fhem/issues{/number}","pulls_url":"https://api.github.com/repos/viegener/Telegram-fhem/pulls{/number}","milestones_url":"https://api.github.com/repos/viegener/Telegram-fhem/milestones{/number}","notifications_url":"https://api.github.com/repos/viegener/Telegram-fhem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/viegener/Telegram-fhem/labels{/name}","releases_url":"https://api.github.com/repos/viegener/Telegram-fhem/releases{/id}","deployments_url":"https://api.github.com/repos/viegener/Telegram-fhem/deployments","created_at":"2015-06-20T16:36:33Z","updated_at":"2016-04-22T08:42:37Z","pushed_at":"2016-07-01T13:17:20Z","git_url":"git://github.com/viegener/Telegram-fhem.git","ssh_url":"git@github.com:viegener/Telegram-fhem.git","clone_url":"https://github.com/viegener/Telegram-fhem.git","svn_url":"https://github.com/viegener/Telegram-fhem","homepage":null,"size":447,"stargazers_count":1,"watchers_count":1,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/viegener/Telegram-fhem/pulls/6"},"html":{"href":"https://github.com/viegener/Telegram-fhem/pull/6"},"issue":{"href":"https://api.github.com/repos/viegener/Telegram-fhem/issues/6"},"comments":{"href":"https://api.github.com/repos/viegener/Telegram-fhem/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/viegener/Telegram-fhem/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/viegener/Telegram-fhem/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/viegener/Telegram-fhem/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/viegener/Telegram-fhem/statuses/725a2ec3ce5dc00d2e49cdc85b88b8edf299f964"}}}}
{"actor":{"display_login":"habeIchVergessen"}}