Skip to content

Instantly share code, notes, and snippets.

View michaelmyers's full-sized avatar

Michael Myers michaelmyers

View GitHub Profile
'''
Post Raspberry Pi CPU Temperature to http://novum.io
getCPUtemperature() from http://www.raspberrypi.org/phpBB3/viewtopic.php?f=32&t=22180
@author: novum.io
'''
import os
import httplib
import time
@michaelmyers
michaelmyers / novum-raspberry-pi-ds18b20.py
Last active December 20, 2015 09:40
Post temperature data to http://novum.io on a Raspberry Pi using the DS18B20 1-wire temperature sensor See http://help.novum.io/index.php/posting-temperature-data-with-the-ds18b20/ for more information
'''
Post temperature data to novum.io on a Raspberry Pi using the DS18B20 1-wire temperature sensor
See http://help.novum.io/index.php/posting-temperature-data-with-the-ds18b20/ for more information
@author: novum.io
'''
import os
import glob
import time
import httplib
import urllib