Python Thing Class for doing metrics on IoT frameworks