working get-allsensors-data word now... more testing needed
need to add db test for reading and writing to sensor to get-allsensors-data yet