{"action":"created","comment":{"url":"https://api.github.com/repos/eclipse/smarthome/pulls/comments/177853683","pull_request_review_id":107800559,"id":177853683,"diff_hunk":"@@ -0,0 +1,73 @@\n+# MQTT Binding\n+\n+    MQTT is a machine-to-machine (M2M)/\"Internet of Things\" connectivity protocol. It was designed as an extremely lightweight publish/subscribe messaging transport.\n+\n+This binding allows to bind a MQTT topic to a Thing. A Broker connection needs to be already defined for example by using the MQTTBroker binding.\n+\n+If your MQTT device follows a specific MQTT topic specification, you may want to use a specialized MQTT binding instead of this generic one, so that auto discovery of things is available.\n+\n+## Supported Bridge\n+\n+* **brokerconnection**: This bridge represents a broker connection. Because broker connections are not managed by this binding, you only need to provide the connection name for the bridge to work.\n+\n+## Supported Thing\n+\n+There is one thing available (\"topic\"), where you can add the following channels to:\n+\n+## Supported Channels\n+\n+* **text**: This channel can show the received text on the given topic and can send text to a given topic.\n+* **number**: This channel can show the received number on the given topic and can send a number to a given topic. The thing can have a min, max and step value.\n+* **onoff**: This channel represents a on/off state of a given topic and can send an on/off value to a given topic.\n+\n+## Discovery\n+\n+Broker connections are automatically discovered and presented as bridges. MQTT provides no means to enumerate available topics though, therefore things representing topics cannot be automatically discovered.","path":"extensions/binding/org.eclipse.smarthome.binding.mqtt.generic/README.md","position":25,"original_position":25,"commit_id":"97b277f0474f1b1ab4a20079ee92291a5e164d4c","original_commit_id":"97b277f0474f1b1ab4a20079ee92291a5e164d4c","user":{"login":"maggu2810","id":204670,"avatar_url":"https://avatars2.githubusercontent.com/u/204670?v=4","gravatar_id":"","url":"https://api.github.com/users/maggu2810","html_url":"https://github.com/maggu2810","followers_url":"https://api.github.com/users/maggu2810/followers","following_url":"https://api.github.com/users/maggu2810/following{/other_user}","gists_url":"https://api.github.com/users/maggu2810/gists{/gist_id}","starred_url":"https://api.github.com/users/maggu2810/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maggu2810/subscriptions","organizations_url":"https://api.github.com/users/maggu2810/orgs","repos_url":"https://api.github.com/users/maggu2810/repos","events_url":"https://api.github.com/users/maggu2810/events{/privacy}","received_events_url":"https://api.github.com/users/maggu2810/received_events","type":"User","site_admin":false},"body":"> Because broker connections are not managed by this binding, ...","created_at":"2018-03-28T18:49:17Z","updated_at":"2018-03-28T18:52:19Z","html_url":"https://github.com/eclipse/smarthome/pull/5101#discussion_r177853683","pull_request_url":"https://api.github.com/repos/eclipse/smarthome/pulls/5101","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/eclipse/smarthome/pulls/comments/177853683"},"html":{"href":"https://github.com/eclipse/smarthome/pull/5101#discussion_r177853683"},"pull_request":{"href":"https://api.github.com/repos/eclipse/smarthome/pulls/5101"}}},"pull_request":{"url":"https://api.github.com/repos/eclipse/smarthome/pulls/5101","id":169622727,"html_url":"https://github.com/eclipse/smarthome/pull/5101","diff_url":"https://github.com/eclipse/smarthome/pull/5101.diff","patch_url":"https://github.com/eclipse/smarthome/pull/5101.patch","issue_url":"https://api.github.com/repos/eclipse/smarthome/issues/5101","number":5101,"state":"open","locked":false,"title":"MQTT Generic Binding","user":{"login":"sjka","id":2592443,"avatar_url":"https://avatars1.githubusercontent.com/u/2592443?v=4","gravatar_id":"","url":"https://api.github.com/users/sjka","html_url":"https://github.com/sjka","followers_url":"https://api.github.com/users/sjka/followers","following_url":"https://api.github.com/users/sjka/following{/other_user}","gists_url":"https://api.github.com/users/sjka/gists{/gist_id}","starred_url":"https://api.github.com/users/sjka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjka/subscriptions","organizations_url":"https://api.github.com/users/sjka/orgs","repos_url":"https://api.github.com/users/sjka/repos","events_url":"https://api.github.com/users/sjka/events{/privacy}","received_events_url":"https://api.github.com/users/sjka/received_events","type":"User","site_admin":false},"body":"This is a rebased version of #3876 with commits on top which\r\n\r\n* incorporate (my...) review feedback (see https://github.com/eclipse/smarthome/pull/3876#pullrequestreview-90852418)\r\n* update the license headers\r\n* adaptation to mockito 2\r\n* adding the binding to the docu structure\r\n* Eclipse & Karaf features\r\n\r\nFor details & discussion about the binding please see #3876.\r\n\r\nAlso-by: David Gräff <david.graeff@web.de>\r\nAlso-by: Henning Treu <henning.treu@telekom.de>\r\nSigned-off-by: Simon Kaufmann <simon.kfm@googlemail.com>\r\n","created_at":"2018-02-16T13:21:44Z","updated_at":"2018-03-28T18:52:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"851aeb27bcb8a1e3173222c0041108554f5b6cc8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":294421266,"url":"https://api.github.com/repos/eclipse/smarthome/labels/Binding","name":"Binding","color":"f7c6c7","default":false},{"id":534085353,"url":"https://api.github.com/repos/eclipse/smarthome/labels/New%20Contribution","name":"New Contribution","color":"0052cc","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/eclipse/smarthome/pulls/5101/commits","review_comments_url":"https://api.github.com/repos/eclipse/smarthome/pulls/5101/comments","review_comment_url":"https://api.github.com/repos/eclipse/smarthome/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eclipse/smarthome/issues/5101/comments","statuses_url":"https://api.github.com/repos/eclipse/smarthome/statuses/97b277f0474f1b1ab4a20079ee92291a5e164d4c","head":{"label":"sjka:mqttThingsRebased","ref":"mqttThingsRebased","sha":"97b277f0474f1b1ab4a20079ee92291a5e164d4c","user":{"login":"sjka","id":2592443,"avatar_url":"https://avatars1.githubusercontent.com/u/2592443?v=4","gravatar_id":"","url":"https://api.github.com/users/sjka","html_url":"https://github.com/sjka","followers_url":"https://api.github.com/users/sjka/followers","following_url":"https://api.github.com/users/sjka/following{/other_user}","gists_url":"https://api.github.com/users/sjka/gists{/gist_id}","starred_url":"https://api.github.com/users/sjka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjka/subscriptions","organizations_url":"https://api.github.com/users/sjka/orgs","repos_url":"https://api.github.com/users/sjka/repos","events_url":"https://api.github.com/users/sjka/events{/privacy}","received_events_url":"https://api.github.com/users/sjka/received_events","type":"User","site_admin":false},"repo":{"id":37527739,"name":"smarthome","full_name":"sjka/smarthome","owner":{"login":"sjka","id":2592443,"avatar_url":"https://avatars1.githubusercontent.com/u/2592443?v=4","gravatar_id":"","url":"https://api.github.com/users/sjka","html_url":"https://github.com/sjka","followers_url":"https://api.github.com/users/sjka/followers","following_url":"https://api.github.com/users/sjka/following{/other_user}","gists_url":"https://api.github.com/users/sjka/gists{/gist_id}","starred_url":"https://api.github.com/users/sjka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjka/subscriptions","organizations_url":"https://api.github.com/users/sjka/orgs","repos_url":"https://api.github.com/users/sjka/repos","events_url":"https://api.github.com/users/sjka/events{/privacy}","received_events_url":"https://api.github.com/users/sjka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sjka/smarthome","description":"Eclipse SmartHome project","fork":true,"url":"https://api.github.com/repos/sjka/smarthome","forks_url":"https://api.github.com/repos/sjka/smarthome/forks","keys_url":"https://api.github.com/repos/sjka/smarthome/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sjka/smarthome/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sjka/smarthome/teams","hooks_url":"https://api.github.com/repos/sjka/smarthome/hooks","issue_events_url":"https://api.github.com/repos/sjka/smarthome/issues/events{/number}","events_url":"https://api.github.com/repos/sjka/smarthome/events","assignees_url":"https://api.github.com/repos/sjka/smarthome/assignees{/user}","branches_url":"https://api.github.com/repos/sjka/smarthome/branches{/branch}","tags_url":"https://api.github.com/repos/sjka/smarthome/tags","blobs_url":"https://api.github.com/repos/sjka/smarthome/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sjka/smarthome/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sjka/smarthome/git/refs{/sha}","trees_url":"https://api.github.com/repos/sjka/smarthome/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sjka/smarthome/statuses/{sha}","languages_url":"https://api.github.com/repos/sjka/smarthome/languages","stargazers_url":"https://api.github.com/repos/sjka/smarthome/stargazers","contributors_url":"https://api.github.com/repos/sjka/smarthome/contributors","subscribers_url":"https://api.github.com/repos/sjka/smarthome/subscribers","subscription_url":"https://api.github.com/repos/sjka/smarthome/subscription","commits_url":"https://api.github.com/repos/sjka/smarthome/commits{/sha}","git_commits_url":"https://api.github.com/repos/sjka/smarthome/git/commits{/sha}","comments_url":"https://api.github.com/repos/sjka/smarthome/comments{/number}","issue_comment_url":"https://api.github.com/repos/sjka/smarthome/issues/comments{/number}","contents_url":"https://api.github.com/repos/sjka/smarthome/contents/{+path}","compare_url":"https://api.github.com/repos/sjka/smarthome/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sjka/smarthome/merges","archive_url":"https://api.github.com/repos/sjka/smarthome/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sjka/smarthome/downloads","issues_url":"https://api.github.com/repos/sjka/smarthome/issues{/number}","pulls_url":"https://api.github.com/repos/sjka/smarthome/pulls{/number}","milestones_url":"https://api.github.com/repos/sjka/smarthome/milestones{/number}","notifications_url":"https://api.github.com/repos/sjka/smarthome/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sjka/smarthome/labels{/name}","releases_url":"https://api.github.com/repos/sjka/smarthome/releases{/id}","deployments_url":"https://api.github.com/repos/sjka/smarthome/deployments","created_at":"2015-06-16T12:08:22Z","updated_at":"2017-11-14T16:50:12Z","pushed_at":"2018-03-28T14:30:18Z","git_url":"git://github.com/sjka/smarthome.git","ssh_url":"git@github.com:sjka/smarthome.git","clone_url":"https://github.com/sjka/smarthome.git","svn_url":"https://github.com/sjka/smarthome","homepage":null,"size":39950,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"epl-2.0","name":"Eclipse Public License 2.0","spdx_id":"EPL-2.0","url":"https://api.github.com/licenses/epl-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"eclipse:master","ref":"master","sha":"ebbfb6ae96bdbf27560b592a395401377a9efb8d","user":{"login":"eclipse","id":56974,"avatar_url":"https://avatars1.githubusercontent.com/u/56974?v=4","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"repo":{"id":15778981,"name":"smarthome","full_name":"eclipse/smarthome","owner":{"login":"eclipse","id":56974,"avatar_url":"https://avatars1.githubusercontent.com/u/56974?v=4","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eclipse/smarthome","description":"Eclipse SmartHome™ project","fork":false,"url":"https://api.github.com/repos/eclipse/smarthome","forks_url":"https://api.github.com/repos/eclipse/smarthome/forks","keys_url":"https://api.github.com/repos/eclipse/smarthome/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eclipse/smarthome/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eclipse/smarthome/teams","hooks_url":"https://api.github.com/repos/eclipse/smarthome/hooks","issue_events_url":"https://api.github.com/repos/eclipse/smarthome/issues/events{/number}","events_url":"https://api.github.com/repos/eclipse/smarthome/events","assignees_url":"https://api.github.com/repos/eclipse/smarthome/assignees{/user}","branches_url":"https://api.github.com/repos/eclipse/smarthome/branches{/branch}","tags_url":"https://api.github.com/repos/eclipse/smarthome/tags","blobs_url":"https://api.github.com/repos/eclipse/smarthome/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eclipse/smarthome/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eclipse/smarthome/git/refs{/sha}","trees_url":"https://api.github.com/repos/eclipse/smarthome/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eclipse/smarthome/statuses/{sha}","languages_url":"https://api.github.com/repos/eclipse/smarthome/languages","stargazers_url":"https://api.github.com/repos/eclipse/smarthome/stargazers","contributors_url":"https://api.github.com/repos/eclipse/smarthome/contributors","subscribers_url":"https://api.github.com/repos/eclipse/smarthome/subscribers","subscription_url":"https://api.github.com/repos/eclipse/smarthome/subscription","commits_url":"https://api.github.com/repos/eclipse/smarthome/commits{/sha}","git_commits_url":"https://api.github.com/repos/eclipse/smarthome/git/commits{/sha}","comments_url":"https://api.github.com/repos/eclipse/smarthome/comments{/number}","issue_comment_url":"https://api.github.com/repos/eclipse/smarthome/issues/comments{/number}","contents_url":"https://api.github.com/repos/eclipse/smarthome/contents/{+path}","compare_url":"https://api.github.com/repos/eclipse/smarthome/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eclipse/smarthome/merges","archive_url":"https://api.github.com/repos/eclipse/smarthome/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eclipse/smarthome/downloads","issues_url":"https://api.github.com/repos/eclipse/smarthome/issues{/number}","pulls_url":"https://api.github.com/repos/eclipse/smarthome/pulls{/number}","milestones_url":"https://api.github.com/repos/eclipse/smarthome/milestones{/number}","notifications_url":"https://api.github.com/repos/eclipse/smarthome/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eclipse/smarthome/labels{/name}","releases_url":"https://api.github.com/repos/eclipse/smarthome/releases{/id}","deployments_url":"https://api.github.com/repos/eclipse/smarthome/deployments","created_at":"2014-01-09T20:47:19Z","updated_at":"2018-03-28T12:42:40Z","pushed_at":"2018-03-28T18:28:26Z","git_url":"git://github.com/eclipse/smarthome.git","ssh_url":"git@github.com:eclipse/smarthome.git","clone_url":"https://github.com/eclipse/smarthome.git","svn_url":"https://github.com/eclipse/smarthome","homepage":"https://www.eclipse.org/smarthome/","size":50452,"stargazers_count":666,"watchers_count":666,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":647,"mirror_url":null,"archived":false,"open_issues_count":429,"license":{"key":"epl-2.0","name":"Eclipse Public License 2.0","spdx_id":"EPL-2.0","url":"https://api.github.com/licenses/epl-2.0"},"forks":647,"open_issues":429,"watchers":666,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eclipse/smarthome/pulls/5101"},"html":{"href":"https://github.com/eclipse/smarthome/pull/5101"},"issue":{"href":"https://api.github.com/repos/eclipse/smarthome/issues/5101"},"comments":{"href":"https://api.github.com/repos/eclipse/smarthome/issues/5101/comments"},"review_comments":{"href":"https://api.github.com/repos/eclipse/smarthome/pulls/5101/comments"},"review_comment":{"href":"https://api.github.com/repos/eclipse/smarthome/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eclipse/smarthome/pulls/5101/commits"},"statuses":{"href":"https://api.github.com/repos/eclipse/smarthome/statuses/97b277f0474f1b1ab4a20079ee92291a5e164d4c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"maggu2810"}}