{"action":"created","comment":{"url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/comments/53165318","id":53165318,"diff_hunk":"@@ -0,0 +1,111 @@\n+package org.openhab.binding.kostal.inverter;\n+\n+import java.io.IOException;\n+import java.util.ArrayList;\n+import java.util.Base64;\n+import java.util.Iterator;\n+import java.util.List;\n+import java.util.concurrent.ExecutorService;\n+import java.util.concurrent.Executors;\n+\n+import org.eclipse.smarthome.core.library.types.DecimalType;\n+import org.eclipse.smarthome.core.library.types.StringType;\n+import org.eclipse.smarthome.core.thing.Channel;\n+import org.eclipse.smarthome.core.thing.ChannelUID;\n+import org.eclipse.smarthome.core.thing.Thing;\n+import org.eclipse.smarthome.core.thing.ThingStatus;\n+import org.eclipse.smarthome.core.thing.binding.BaseThingHandler;\n+import org.eclipse.smarthome.core.types.Command;\n+import org.eclipse.smarthome.core.types.State;\n+import org.jsoup.Jsoup;\n+import org.jsoup.nodes.Document;\n+import org.jsoup.nodes.Element;\n+import org.slf4j.Logger;\n+import org.slf4j.LoggerFactory;\n+\n+public class WebscrapeHandler extends BaseThingHandler {\n+    private static Logger logger = LoggerFactory.getLogger(WebscrapeHandler.class);\n+    private boolean active;\n+    private SourceConfig config;\n+    private List<ChannelConfig> channelConfigs;\n+\n+    public WebscrapeHandler(Thing thing) {\n+        super(thing);\n+        channelConfigs = new ArrayList<>();","path":"addons/binding/org.openhab.binding.kostal.inverter/src/main/java/org/openhab/binding/kostal/inverter/WebscrapeHandler.java","position":34,"original_position":34,"commit_id":"357f8bf31936e5fd1ab30098802bd5c0d83f2c24","original_commit_id":"357f8bf31936e5fd1ab30098802bd5c0d83f2c24","user":{"login":"kaikreuzer","id":3244965,"avatar_url":"https://avatars.githubusercontent.com/u/3244965?v=3","gravatar_id":"","url":"https://api.github.com/users/kaikreuzer","html_url":"https://github.com/kaikreuzer","followers_url":"https://api.github.com/users/kaikreuzer/followers","following_url":"https://api.github.com/users/kaikreuzer/following{/other_user}","gists_url":"https://api.github.com/users/kaikreuzer/gists{/gist_id}","starred_url":"https://api.github.com/users/kaikreuzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaikreuzer/subscriptions","organizations_url":"https://api.github.com/users/kaikreuzer/orgs","repos_url":"https://api.github.com/users/kaikreuzer/repos","events_url":"https://api.github.com/users/kaikreuzer/events{/privacy}","received_events_url":"https://api.github.com/users/kaikreuzer/received_events","type":"User","site_admin":false},"body":"what is this good for? This is directly thrown away again or am I missing something?","created_at":"2016-02-17T13:51:09Z","updated_at":"2016-02-17T13:51:09Z","html_url":"https://github.com/openhab/openhab2-addons/pull/584#discussion_r53165318","pull_request_url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/584","_links":{"self":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/comments/53165318"},"html":{"href":"https://github.com/openhab/openhab2-addons/pull/584#discussion_r53165318"},"pull_request":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/584"}}},"pull_request":{"url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/584","id":54711837,"html_url":"https://github.com/openhab/openhab2-addons/pull/584","diff_url":"https://github.com/openhab/openhab2-addons/pull/584.diff","patch_url":"https://github.com/openhab/openhab2-addons/pull/584.patch","issue_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/584","number":584,"state":"open","locked":false,"title":"Initial version of kostal inverter binding","user":{"login":"cschneider","id":484584,"avatar_url":"https://avatars.githubusercontent.com/u/484584?v=3","gravatar_id":"","url":"https://api.github.com/users/cschneider","html_url":"https://github.com/cschneider","followers_url":"https://api.github.com/users/cschneider/followers","following_url":"https://api.github.com/users/cschneider/following{/other_user}","gists_url":"https://api.github.com/users/cschneider/gists{/gist_id}","starred_url":"https://api.github.com/users/cschneider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cschneider/subscriptions","organizations_url":"https://api.github.com/users/cschneider/orgs","repos_url":"https://api.github.com/users/cschneider/repos","events_url":"https://api.github.com/users/cschneider/events{/privacy}","received_events_url":"https://api.github.com/users/cschneider/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-29T09:09:40Z","updated_at":"2016-02-17T13:51:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e632c291abbd40ab8b96f139a07a77ccc9bb637f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/584/commits","review_comments_url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/584/comments","review_comment_url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/584/comments","statuses_url":"https://api.github.com/repos/openhab/openhab2-addons/statuses/357f8bf31936e5fd1ab30098802bd5c0d83f2c24","head":{"label":"cschneider:kostal_piko","ref":"kostal_piko","sha":"357f8bf31936e5fd1ab30098802bd5c0d83f2c24","user":{"login":"cschneider","id":484584,"avatar_url":"https://avatars.githubusercontent.com/u/484584?v=3","gravatar_id":"","url":"https://api.github.com/users/cschneider","html_url":"https://github.com/cschneider","followers_url":"https://api.github.com/users/cschneider/followers","following_url":"https://api.github.com/users/cschneider/following{/other_user}","gists_url":"https://api.github.com/users/cschneider/gists{/gist_id}","starred_url":"https://api.github.com/users/cschneider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cschneider/subscriptions","organizations_url":"https://api.github.com/users/cschneider/orgs","repos_url":"https://api.github.com/users/cschneider/repos","events_url":"https://api.github.com/users/cschneider/events{/privacy}","received_events_url":"https://api.github.com/users/cschneider/received_events","type":"User","site_admin":false},"repo":{"id":48732502,"name":"openhab2","full_name":"cschneider/openhab2","owner":{"login":"cschneider","id":484584,"avatar_url":"https://avatars.githubusercontent.com/u/484584?v=3","gravatar_id":"","url":"https://api.github.com/users/cschneider","html_url":"https://github.com/cschneider","followers_url":"https://api.github.com/users/cschneider/followers","following_url":"https://api.github.com/users/cschneider/following{/other_user}","gists_url":"https://api.github.com/users/cschneider/gists{/gist_id}","starred_url":"https://api.github.com/users/cschneider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cschneider/subscriptions","organizations_url":"https://api.github.com/users/cschneider/orgs","repos_url":"https://api.github.com/users/cschneider/repos","events_url":"https://api.github.com/users/cschneider/events{/privacy}","received_events_url":"https://api.github.com/users/cschneider/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cschneider/openhab2","description":"The next-generation open Home Automation Bus (openHAB)","fork":true,"url":"https://api.github.com/repos/cschneider/openhab2","forks_url":"https://api.github.com/repos/cschneider/openhab2/forks","keys_url":"https://api.github.com/repos/cschneider/openhab2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cschneider/openhab2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cschneider/openhab2/teams","hooks_url":"https://api.github.com/repos/cschneider/openhab2/hooks","issue_events_url":"https://api.github.com/repos/cschneider/openhab2/issues/events{/number}","events_url":"https://api.github.com/repos/cschneider/openhab2/events","assignees_url":"https://api.github.com/repos/cschneider/openhab2/assignees{/user}","branches_url":"https://api.github.com/repos/cschneider/openhab2/branches{/branch}","tags_url":"https://api.github.com/repos/cschneider/openhab2/tags","blobs_url":"https://api.github.com/repos/cschneider/openhab2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cschneider/openhab2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cschneider/openhab2/git/refs{/sha}","trees_url":"https://api.github.com/repos/cschneider/openhab2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cschneider/openhab2/statuses/{sha}","languages_url":"https://api.github.com/repos/cschneider/openhab2/languages","stargazers_url":"https://api.github.com/repos/cschneider/openhab2/stargazers","contributors_url":"https://api.github.com/repos/cschneider/openhab2/contributors","subscribers_url":"https://api.github.com/repos/cschneider/openhab2/subscribers","subscription_url":"https://api.github.com/repos/cschneider/openhab2/subscription","commits_url":"https://api.github.com/repos/cschneider/openhab2/commits{/sha}","git_commits_url":"https://api.github.com/repos/cschneider/openhab2/git/commits{/sha}","comments_url":"https://api.github.com/repos/cschneider/openhab2/comments{/number}","issue_comment_url":"https://api.github.com/repos/cschneider/openhab2/issues/comments{/number}","contents_url":"https://api.github.com/repos/cschneider/openhab2/contents/{+path}","compare_url":"https://api.github.com/repos/cschneider/openhab2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cschneider/openhab2/merges","archive_url":"https://api.github.com/repos/cschneider/openhab2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cschneider/openhab2/downloads","issues_url":"https://api.github.com/repos/cschneider/openhab2/issues{/number}","pulls_url":"https://api.github.com/repos/cschneider/openhab2/pulls{/number}","milestones_url":"https://api.github.com/repos/cschneider/openhab2/milestones{/number}","notifications_url":"https://api.github.com/repos/cschneider/openhab2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cschneider/openhab2/labels{/name}","releases_url":"https://api.github.com/repos/cschneider/openhab2/releases{/id}","deployments_url":"https://api.github.com/repos/cschneider/openhab2/deployments","created_at":"2015-12-29T06:50:54Z","updated_at":"2015-12-29T06:50:58Z","pushed_at":"2015-12-29T09:09:26Z","git_url":"git://github.com/cschneider/openhab2.git","ssh_url":"git@github.com:cschneider/openhab2.git","clone_url":"https://github.com/cschneider/openhab2.git","svn_url":"https://github.com/cschneider/openhab2","homepage":null,"size":160639,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"openhab:master","ref":"master","sha":"4cbd8f2d4904a30a697b30b7ff8f68e434d18c78","user":{"login":"openhab","id":1007353,"avatar_url":"https://avatars.githubusercontent.com/u/1007353?v=3","gravatar_id":"","url":"https://api.github.com/users/openhab","html_url":"https://github.com/openhab","followers_url":"https://api.github.com/users/openhab/followers","following_url":"https://api.github.com/users/openhab/following{/other_user}","gists_url":"https://api.github.com/users/openhab/gists{/gist_id}","starred_url":"https://api.github.com/users/openhab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openhab/subscriptions","organizations_url":"https://api.github.com/users/openhab/orgs","repos_url":"https://api.github.com/users/openhab/repos","events_url":"https://api.github.com/users/openhab/events{/privacy}","received_events_url":"https://api.github.com/users/openhab/received_events","type":"Organization","site_admin":false},"repo":{"id":19753195,"name":"openhab2-addons","full_name":"openhab/openhab2-addons","owner":{"login":"openhab","id":1007353,"avatar_url":"https://avatars.githubusercontent.com/u/1007353?v=3","gravatar_id":"","url":"https://api.github.com/users/openhab","html_url":"https://github.com/openhab","followers_url":"https://api.github.com/users/openhab/followers","following_url":"https://api.github.com/users/openhab/following{/other_user}","gists_url":"https://api.github.com/users/openhab/gists{/gist_id}","starred_url":"https://api.github.com/users/openhab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openhab/subscriptions","organizations_url":"https://api.github.com/users/openhab/orgs","repos_url":"https://api.github.com/users/openhab/repos","events_url":"https://api.github.com/users/openhab/events{/privacy}","received_events_url":"https://api.github.com/users/openhab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openhab/openhab2-addons","description":"The next-generation open Home Automation Bus (openHAB)","fork":false,"url":"https://api.github.com/repos/openhab/openhab2-addons","forks_url":"https://api.github.com/repos/openhab/openhab2-addons/forks","keys_url":"https://api.github.com/repos/openhab/openhab2-addons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openhab/openhab2-addons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openhab/openhab2-addons/teams","hooks_url":"https://api.github.com/repos/openhab/openhab2-addons/hooks","issue_events_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/events{/number}","events_url":"https://api.github.com/repos/openhab/openhab2-addons/events","assignees_url":"https://api.github.com/repos/openhab/openhab2-addons/assignees{/user}","branches_url":"https://api.github.com/repos/openhab/openhab2-addons/branches{/branch}","tags_url":"https://api.github.com/repos/openhab/openhab2-addons/tags","blobs_url":"https://api.github.com/repos/openhab/openhab2-addons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openhab/openhab2-addons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openhab/openhab2-addons/git/refs{/sha}","trees_url":"https://api.github.com/repos/openhab/openhab2-addons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openhab/openhab2-addons/statuses/{sha}","languages_url":"https://api.github.com/repos/openhab/openhab2-addons/languages","stargazers_url":"https://api.github.com/repos/openhab/openhab2-addons/stargazers","contributors_url":"https://api.github.com/repos/openhab/openhab2-addons/contributors","subscribers_url":"https://api.github.com/repos/openhab/openhab2-addons/subscribers","subscription_url":"https://api.github.com/repos/openhab/openhab2-addons/subscription","commits_url":"https://api.github.com/repos/openhab/openhab2-addons/commits{/sha}","git_commits_url":"https://api.github.com/repos/openhab/openhab2-addons/git/commits{/sha}","comments_url":"https://api.github.com/repos/openhab/openhab2-addons/comments{/number}","issue_comment_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/comments{/number}","contents_url":"https://api.github.com/repos/openhab/openhab2-addons/contents/{+path}","compare_url":"https://api.github.com/repos/openhab/openhab2-addons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openhab/openhab2-addons/merges","archive_url":"https://api.github.com/repos/openhab/openhab2-addons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openhab/openhab2-addons/downloads","issues_url":"https://api.github.com/repos/openhab/openhab2-addons/issues{/number}","pulls_url":"https://api.github.com/repos/openhab/openhab2-addons/pulls{/number}","milestones_url":"https://api.github.com/repos/openhab/openhab2-addons/milestones{/number}","notifications_url":"https://api.github.com/repos/openhab/openhab2-addons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openhab/openhab2-addons/labels{/name}","releases_url":"https://api.github.com/repos/openhab/openhab2-addons/releases{/id}","deployments_url":"https://api.github.com/repos/openhab/openhab2-addons/deployments","created_at":"2014-05-13T19:41:58Z","updated_at":"2016-02-17T13:40:27Z","pushed_at":"2016-02-17T12:44:17Z","git_url":"git://github.com/openhab/openhab2-addons.git","ssh_url":"git@github.com:openhab/openhab2-addons.git","clone_url":"https://github.com/openhab/openhab2-addons.git","svn_url":"https://github.com/openhab/openhab2-addons","homepage":null,"size":181623,"stargazers_count":358,"watchers_count":358,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":505,"mirror_url":null,"open_issues_count":54,"forks":505,"open_issues":54,"watchers":358,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/584"},"html":{"href":"https://github.com/openhab/openhab2-addons/pull/584"},"issue":{"href":"https://api.github.com/repos/openhab/openhab2-addons/issues/584"},"comments":{"href":"https://api.github.com/repos/openhab/openhab2-addons/issues/584/comments"},"review_comments":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/584/comments"},"review_comment":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/584/commits"},"statuses":{"href":"https://api.github.com/repos/openhab/openhab2-addons/statuses/357f8bf31936e5fd1ab30098802bd5c0d83f2c24"}}}}