{"action":"created","comment":{"url":"https://api.github.com/repos/anthill/pheromon/pulls/comments/41404434","id":41404434,"diff_hunk":"@@ -98,7 +120,11 @@ By default, sensor has measurement capabilities (for wifi and bluetooth). Every\n - [sensor] wraps collected information into `measurementContent` and sends `measurementContent` on `measurement/mySensorSimId/measurementType` topic.\n - [maestro] receives message, check `mySensorSimId` in DB, creates Sensor if needed, and then creates Measurement in DB.\n \n-## Command sending sequence\n+### Command sending sequence\n+\n+You can send [commands](https://github.com/anthill/pheromon/api/clients/Admin/ReadMe.md) to the sensors.\n+\n+**Sequence**\n \n - [some admin client] sends a `command` to `[mySensorSimId]` through socketIO.\n - [maestro] receives `command` from client, and forwards it to the corresponding sensors through MQTT.","path":"README.md","position":114,"original_position":114,"commit_id":"6e371bc114ea08542be5613206224e4a6f93fbf0","original_commit_id":"6e371bc114ea08542be5613206224e4a6f93fbf0","user":{"login":"iOiurson","id":8417814,"avatar_url":"https://avatars.githubusercontent.com/u/8417814?v=3","gravatar_id":"","url":"https://api.github.com/users/iOiurson","html_url":"https://github.com/iOiurson","followers_url":"https://api.github.com/users/iOiurson/followers","following_url":"https://api.github.com/users/iOiurson/following{/other_user}","gists_url":"https://api.github.com/users/iOiurson/gists{/gist_id}","starred_url":"https://api.github.com/users/iOiurson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iOiurson/subscriptions","organizations_url":"https://api.github.com/users/iOiurson/orgs","repos_url":"https://api.github.com/users/iOiurson/repos","events_url":"https://api.github.com/users/iOiurson/events{/privacy}","received_events_url":"https://api.github.com/users/iOiurson/received_events","type":"User","site_admin":false},"body":"Right, i updated the ReadMe directly through Github","created_at":"2015-10-07T15:27:12Z","updated_at":"2015-10-07T15:27:12Z","html_url":"https://github.com/anthill/pheromon/pull/51#discussion_r41404434","pull_request_url":"https://api.github.com/repos/anthill/pheromon/pulls/51","_links":{"self":{"href":"https://api.github.com/repos/anthill/pheromon/pulls/comments/41404434"},"html":{"href":"https://github.com/anthill/pheromon/pull/51#discussion_r41404434"},"pull_request":{"href":"https://api.github.com/repos/anthill/pheromon/pulls/51"}}},"pull_request":{"url":"https://api.github.com/repos/anthill/pheromon/pulls/51","id":47029272,"html_url":"https://github.com/anthill/pheromon/pull/51","diff_url":"https://github.com/anthill/pheromon/pull/51.diff","patch_url":"https://github.com/anthill/pheromon/pull/51.patch","issue_url":"https://api.github.com/repos/anthill/pheromon/issues/51","number":51,"state":"closed","locked":false,"title":"Detailed ReadMe","user":{"login":"iOiurson","id":8417814,"avatar_url":"https://avatars.githubusercontent.com/u/8417814?v=3","gravatar_id":"","url":"https://api.github.com/users/iOiurson","html_url":"https://github.com/iOiurson","followers_url":"https://api.github.com/users/iOiurson/followers","following_url":"https://api.github.com/users/iOiurson/following{/other_user}","gists_url":"https://api.github.com/users/iOiurson/gists{/gist_id}","starred_url":"https://api.github.com/users/iOiurson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iOiurson/subscriptions","organizations_url":"https://api.github.com/users/iOiurson/orgs","repos_url":"https://api.github.com/users/iOiurson/repos","events_url":"https://api.github.com/users/iOiurson/events{/privacy}","received_events_url":"https://api.github.com/users/iOiurson/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-07T13:49:49Z","updated_at":"2015-10-07T15:27:12Z","closed_at":"2015-10-07T13:54:50Z","merged_at":"2015-10-07T13:54:50Z","merge_commit_sha":"3848b2d656eebc49e64382c52473cd4a2e38faeb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/anthill/pheromon/pulls/51/commits","review_comments_url":"https://api.github.com/repos/anthill/pheromon/pulls/51/comments","review_comment_url":"https://api.github.com/repos/anthill/pheromon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/anthill/pheromon/issues/51/comments","statuses_url":"https://api.github.com/repos/anthill/pheromon/statuses/6e371bc114ea08542be5613206224e4a6f93fbf0","head":{"label":"iOiurson:master","ref":"master","sha":"6e371bc114ea08542be5613206224e4a6f93fbf0","user":{"login":"iOiurson","id":8417814,"avatar_url":"https://avatars.githubusercontent.com/u/8417814?v=3","gravatar_id":"","url":"https://api.github.com/users/iOiurson","html_url":"https://github.com/iOiurson","followers_url":"https://api.github.com/users/iOiurson/followers","following_url":"https://api.github.com/users/iOiurson/following{/other_user}","gists_url":"https://api.github.com/users/iOiurson/gists{/gist_id}","starred_url":"https://api.github.com/users/iOiurson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iOiurson/subscriptions","organizations_url":"https://api.github.com/users/iOiurson/orgs","repos_url":"https://api.github.com/users/iOiurson/repos","events_url":"https://api.github.com/users/iOiurson/events{/privacy}","received_events_url":"https://api.github.com/users/iOiurson/received_events","type":"User","site_admin":false},"repo":{"id":42229956,"name":"pheromon","full_name":"iOiurson/pheromon","owner":{"login":"iOiurson","id":8417814,"avatar_url":"https://avatars.githubusercontent.com/u/8417814?v=3","gravatar_id":"","url":"https://api.github.com/users/iOiurson","html_url":"https://github.com/iOiurson","followers_url":"https://api.github.com/users/iOiurson/followers","following_url":"https://api.github.com/users/iOiurson/following{/other_user}","gists_url":"https://api.github.com/users/iOiurson/gists{/gist_id}","starred_url":"https://api.github.com/users/iOiurson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iOiurson/subscriptions","organizations_url":"https://api.github.com/users/iOiurson/orgs","repos_url":"https://api.github.com/users/iOiurson/repos","events_url":"https://api.github.com/users/iOiurson/events{/privacy}","received_events_url":"https://api.github.com/users/iOiurson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iOiurson/pheromon","description":"","fork":true,"url":"https://api.github.com/repos/iOiurson/pheromon","forks_url":"https://api.github.com/repos/iOiurson/pheromon/forks","keys_url":"https://api.github.com/repos/iOiurson/pheromon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iOiurson/pheromon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iOiurson/pheromon/teams","hooks_url":"https://api.github.com/repos/iOiurson/pheromon/hooks","issue_events_url":"https://api.github.com/repos/iOiurson/pheromon/issues/events{/number}","events_url":"https://api.github.com/repos/iOiurson/pheromon/events","assignees_url":"https://api.github.com/repos/iOiurson/pheromon/assignees{/user}","branches_url":"https://api.github.com/repos/iOiurson/pheromon/branches{/branch}","tags_url":"https://api.github.com/repos/iOiurson/pheromon/tags","blobs_url":"https://api.github.com/repos/iOiurson/pheromon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iOiurson/pheromon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iOiurson/pheromon/git/refs{/sha}","trees_url":"https://api.github.com/repos/iOiurson/pheromon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iOiurson/pheromon/statuses/{sha}","languages_url":"https://api.github.com/repos/iOiurson/pheromon/languages","stargazers_url":"https://api.github.com/repos/iOiurson/pheromon/stargazers","contributors_url":"https://api.github.com/repos/iOiurson/pheromon/contributors","subscribers_url":"https://api.github.com/repos/iOiurson/pheromon/subscribers","subscription_url":"https://api.github.com/repos/iOiurson/pheromon/subscription","commits_url":"https://api.github.com/repos/iOiurson/pheromon/commits{/sha}","git_commits_url":"https://api.github.com/repos/iOiurson/pheromon/git/commits{/sha}","comments_url":"https://api.github.com/repos/iOiurson/pheromon/comments{/number}","issue_comment_url":"https://api.github.com/repos/iOiurson/pheromon/issues/comments{/number}","contents_url":"https://api.github.com/repos/iOiurson/pheromon/contents/{+path}","compare_url":"https://api.github.com/repos/iOiurson/pheromon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iOiurson/pheromon/merges","archive_url":"https://api.github.com/repos/iOiurson/pheromon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iOiurson/pheromon/downloads","issues_url":"https://api.github.com/repos/iOiurson/pheromon/issues{/number}","pulls_url":"https://api.github.com/repos/iOiurson/pheromon/pulls{/number}","milestones_url":"https://api.github.com/repos/iOiurson/pheromon/milestones{/number}","notifications_url":"https://api.github.com/repos/iOiurson/pheromon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iOiurson/pheromon/labels{/name}","releases_url":"https://api.github.com/repos/iOiurson/pheromon/releases{/id}","created_at":"2015-09-10T07:41:23Z","updated_at":"2015-09-11T18:02:35Z","pushed_at":"2015-10-07T13:49:11Z","git_url":"git://github.com/iOiurson/pheromon.git","ssh_url":"git@github.com:iOiurson/pheromon.git","clone_url":"https://github.com/iOiurson/pheromon.git","svn_url":"https://github.com/iOiurson/pheromon","homepage":null,"size":386,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"anthill:master","ref":"master","sha":"8526b017457bb4906b9bd2528c63ad11830550b2","user":{"login":"anthill","id":7281593,"avatar_url":"https://avatars.githubusercontent.com/u/7281593?v=3","gravatar_id":"","url":"https://api.github.com/users/anthill","html_url":"https://github.com/anthill","followers_url":"https://api.github.com/users/anthill/followers","following_url":"https://api.github.com/users/anthill/following{/other_user}","gists_url":"https://api.github.com/users/anthill/gists{/gist_id}","starred_url":"https://api.github.com/users/anthill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthill/subscriptions","organizations_url":"https://api.github.com/users/anthill/orgs","repos_url":"https://api.github.com/users/anthill/repos","events_url":"https://api.github.com/users/anthill/events{/privacy}","received_events_url":"https://api.github.com/users/anthill/received_events","type":"Organization","site_admin":false},"repo":{"id":42229949,"name":"pheromon","full_name":"anthill/pheromon","owner":{"login":"anthill","id":7281593,"avatar_url":"https://avatars.githubusercontent.com/u/7281593?v=3","gravatar_id":"","url":"https://api.github.com/users/anthill","html_url":"https://github.com/anthill","followers_url":"https://api.github.com/users/anthill/followers","following_url":"https://api.github.com/users/anthill/following{/other_user}","gists_url":"https://api.github.com/users/anthill/gists{/gist_id}","starred_url":"https://api.github.com/users/anthill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthill/subscriptions","organizations_url":"https://api.github.com/users/anthill/orgs","repos_url":"https://api.github.com/users/anthill/repos","events_url":"https://api.github.com/users/anthill/events{/privacy}","received_events_url":"https://api.github.com/users/anthill/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/anthill/pheromon","description":"Deploy, administrate and harvest data from a swarm of sensors","fork":false,"url":"https://api.github.com/repos/anthill/pheromon","forks_url":"https://api.github.com/repos/anthill/pheromon/forks","keys_url":"https://api.github.com/repos/anthill/pheromon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anthill/pheromon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anthill/pheromon/teams","hooks_url":"https://api.github.com/repos/anthill/pheromon/hooks","issue_events_url":"https://api.github.com/repos/anthill/pheromon/issues/events{/number}","events_url":"https://api.github.com/repos/anthill/pheromon/events","assignees_url":"https://api.github.com/repos/anthill/pheromon/assignees{/user}","branches_url":"https://api.github.com/repos/anthill/pheromon/branches{/branch}","tags_url":"https://api.github.com/repos/anthill/pheromon/tags","blobs_url":"https://api.github.com/repos/anthill/pheromon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anthill/pheromon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anthill/pheromon/git/refs{/sha}","trees_url":"https://api.github.com/repos/anthill/pheromon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anthill/pheromon/statuses/{sha}","languages_url":"https://api.github.com/repos/anthill/pheromon/languages","stargazers_url":"https://api.github.com/repos/anthill/pheromon/stargazers","contributors_url":"https://api.github.com/repos/anthill/pheromon/contributors","subscribers_url":"https://api.github.com/repos/anthill/pheromon/subscribers","subscription_url":"https://api.github.com/repos/anthill/pheromon/subscription","commits_url":"https://api.github.com/repos/anthill/pheromon/commits{/sha}","git_commits_url":"https://api.github.com/repos/anthill/pheromon/git/commits{/sha}","comments_url":"https://api.github.com/repos/anthill/pheromon/comments{/number}","issue_comment_url":"https://api.github.com/repos/anthill/pheromon/issues/comments{/number}","contents_url":"https://api.github.com/repos/anthill/pheromon/contents/{+path}","compare_url":"https://api.github.com/repos/anthill/pheromon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anthill/pheromon/merges","archive_url":"https://api.github.com/repos/anthill/pheromon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anthill/pheromon/downloads","issues_url":"https://api.github.com/repos/anthill/pheromon/issues{/number}","pulls_url":"https://api.github.com/repos/anthill/pheromon/pulls{/number}","milestones_url":"https://api.github.com/repos/anthill/pheromon/milestones{/number}","notifications_url":"https://api.github.com/repos/anthill/pheromon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anthill/pheromon/labels{/name}","releases_url":"https://api.github.com/repos/anthill/pheromon/releases{/id}","created_at":"2015-09-10T07:41:08Z","updated_at":"2015-09-29T13:39:17Z","pushed_at":"2015-10-07T15:26:34Z","git_url":"git://github.com/anthill/pheromon.git","ssh_url":"git@github.com:anthill/pheromon.git","clone_url":"https://github.com/anthill/pheromon.git","svn_url":"https://github.com/anthill/pheromon","homepage":"","size":571,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":12,"forks":4,"open_issues":12,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/anthill/pheromon/pulls/51"},"html":{"href":"https://github.com/anthill/pheromon/pull/51"},"issue":{"href":"https://api.github.com/repos/anthill/pheromon/issues/51"},"comments":{"href":"https://api.github.com/repos/anthill/pheromon/issues/51/comments"},"review_comments":{"href":"https://api.github.com/repos/anthill/pheromon/pulls/51/comments"},"review_comment":{"href":"https://api.github.com/repos/anthill/pheromon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/anthill/pheromon/pulls/51/commits"},"statuses":{"href":"https://api.github.com/repos/anthill/pheromon/statuses/6e371bc114ea08542be5613206224e4a6f93fbf0"}}}}