working tessel client code with a watchdog that checks GATD and restarts the tessel via wemo if it stops sending data