remove some noise from the received packets

* also make make sure that -1 values from failed sensor readings are converted into strings because JSON.parse can not handle them
* added log rotation on a daily basis