var sensorLib = context.global.dht;
sensorLib.initialize(11, 4);
var readout = sensorLib.read();
var temperature readout.temperature.toFixed(2);
var humidity = readout.humidity.toFixed(2);
context.global.data.d.humidity = humidity;
context.global.data.d.temperature = temperature ;
var readout = sensorLib.readSpec(11,4);
var temperature readout.temperature.toFixed(2);
var humidity = readout.humidity.toFixed(2);
context.global.data.d.humidity = humidity;
context.global.data.d.temperature = temperature ;