Sunday, 22 January 2017

Telemetry (Sense Hat)

I have recently started trying out my Sense Hat module for the Raspberry Pi; it has a number of sensors built in to play with and support for reading and writing data through a Python library. There are a number of libraries out there, but I chose this one as it allowed me to recycle some of my old code.

I mostly just recycled the database creation and writing code for SQLite, and I am storing the data as a blob (JSON string) so that I can continue revising my data objects without having to mess around with my database at all.

I'm planning on calling this and processing the data through a service I'm working on as well.