What We Learned From The First Full Night Tracking Calvin’s Sleep Metrics
So I’ve setup two motion detection zones in Calvin’s bedroom. The pink zone is the top of his bed and some of the outside area, and captures any movement in bed or out of bed. The red zone is the area outside of his bed where he typically tries to go to the bathroom.
I’ve configured Home Assistant to send a motion event when it detects motion. This means that when the Nest Cam detects motion in either zone, it will send an event to both zones, otherwise just the pink zone if it’s just bed movement.
Here’s the chart I came up with this morning (in Grafana):
How do we read this chart?
- The numbers on the left refer to the total number of movement events within a 15-minute period. For example, he went to bed at 9:15, so you can see it took him a bit to get settled.
- Pink is bed or outside bed movement — less than 5 indicates that he’s rustling a bit
- Red is outside the bed movement — zero means he’s in bed
- Yellow is the defines the area where he is most active — that’s just a first swag after one night . . . this will probably change
And what’s next?
As we’re collecting data every night, over the next few weeks, I’d like to look for some key trends:
- Are there specific times he’s waking up?
- Does he stay away for the same amount of time?
- What/when did he eat/drink in relation to his sleep pattern?
- Are there any pink movements that indicate red movements? (Does he move around in bed a lot before he wake up)
- Can we predict sleep behavior based on any specific factors?
- What other data points should we add? Room temperature, outside weather, computer time?
I’ll be publishing this dashboard as soon as I get a few more widgets created so you can check in on Calvin day or night at your leisure.