Skip to content

Questions about capturedBinary #1

@geekdave

Description

@geekdave

Hello!

First of all, thank you so much for the great tutorial, and for sharing this code! I was able to get everything working quickly.

I am working on extending this project further, and sending the sensor data to a prometheus timeseries database, and graphing it with grafana. I'll share the blog post when I've got it all working properly. (I'm almost there!)

I had a couple of questions about this:

        // First bit in capturedBinary represents the sensor identifier
        std::string sensor = capturedBinary.substr(0, 8);
  1. Is this possibly a typo, where it should say First byte instead of First bit?
  2. 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.

Thanks!
Dave

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions