Fix problems with python 3.2
Add support for reporting sensor values