pytemper: Read USB TEMPer in Python
2008-11-27 17:49 - Programming
Based partially on the C program from Tollef Fog Heen, which I described my discovery of a few weeks back, but mostly on reverse engineering from the software included with the device, I now have a Python script capable of reading temperatures from the USB TEMPer device.
My intent is to build the thermostat system I've been talking about in Python. Removing the requirement to repeatedly shell out to a C executable is quite nice. You can download the raw source (MOVED, see below). It relies on pySerial to control the serial port. Right now I've just got what appear to be TEMPer "v2" devices, so that is all it's expected to work with at the moment.
2008-11-24 18:03 - arantius
After running this code for a while, I've found that it's buggy -- it will spike to wrong values occasionally. I over simplified, and cut out too many things that seemed nonessential. I'll work over this more carefully and report back!