{"action":"opened","issue":{"url":"https://api.github.com/repos/timleland/temperaturesensor/issues/1","repository_url":"https://api.github.com/repos/timleland/temperaturesensor","labels_url":"https://api.github.com/repos/timleland/temperaturesensor/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/timleland/temperaturesensor/issues/1/comments","events_url":"https://api.github.com/repos/timleland/temperaturesensor/issues/1/events","html_url":"https://github.com/timleland/temperaturesensor/issues/1","id":353425756,"node_id":"MDU6SXNzdWUzNTM0MjU3NTY=","number":1,"title":"Questions about capturedBinary","user":{"login":"geekdave","id":1438478,"node_id":"MDQ6VXNlcjE0Mzg0Nzg=","avatar_url":"https://avatars3.githubusercontent.com/u/1438478?v=4","gravatar_id":"","url":"https://api.github.com/users/geekdave","html_url":"https://github.com/geekdave","followers_url":"https://api.github.com/users/geekdave/followers","following_url":"https://api.github.com/users/geekdave/following{/other_user}","gists_url":"https://api.github.com/users/geekdave/gists{/gist_id}","starred_url":"https://api.github.com/users/geekdave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekdave/subscriptions","organizations_url":"https://api.github.com/users/geekdave/orgs","repos_url":"https://api.github.com/users/geekdave/repos","events_url":"https://api.github.com/users/geekdave/events{/privacy}","received_events_url":"https://api.github.com/users/geekdave/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-23T15:06:35Z","updated_at":"2018-08-23T15:06:35Z","closed_at":null,"author_association":"NONE","body":"Hello!\r\n\r\nFirst of all, thank you so much for the great tutorial, and for sharing this code!  I was able to get everything working quickly.\r\n\r\nI am working on extending this project further, and sending the sensor data to a [prometheus](https://prometheus.io) timeseries database, and graphing it with [grafana](https://grafana.com).  I'll share the blog post when I've got it all working properly.  (I'm almost there!)\r\n\r\nI had a couple of questions about this:\r\n\r\n```\r\n        // First bit in capturedBinary represents the sensor identifier\r\n        std::string sensor = capturedBinary.substr(0, 8);\r\n```\r\n\r\n1. Is this possibly a typo, where it should say `First byte` instead of `First bit`?\r\n2. Do you have any ideas about what the remaining bytes/bits represent?  I seemed to notice that the remaining bits remained constant unless I moved the sensor to a different location, which leads me to believe that perhaps part of them represent signal strength.\r\n\r\nThanks!\r\nDave"}}
{"actor":{"display_login":"geekdave"}}