adding thresholding
The sensor logger app that behaved as a server was not good enough. Need to write a server and then stuff over it.