refresh device state every 10 seconds
clean up a lot of logging