Skip to content

Project using Raspberry Pi, the SenseHat module, and Dweet.io

Notifications You must be signed in to change notification settings

Emchesso/Dweeit.io-sensor-array-stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Dweet.io sensor array live stream

project using Raspberry Pi, the SenseHat module, and Dweet.io

Here is an example of one of our code blocks. We first start by interfacing with the SenseHat module and pulling system and sensor information using some repeatable functions. These are just examples of the data that can be collected, but can range from any number of system level statistics or other sensor data from the module. We then begin a loop, periodically collecting the data, packing it into a dictionary object, and then sending it to our dweet.io site using the dweepy module. The default dweet API requires that you concatenate your data in a string with the url of your specific dweet.io extension. This makes it very unwieldy to append large amounts of data to be posted, while the dweepy module allows you to add your data as a dictionary object in the dweet_for args. We then run the sleep() command to define how often our readings are taken.

About

Project using Raspberry Pi, the SenseHat module, and Dweet.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages