To get temperature value in degree celsius
LM 35 connected to Arduino and bolt wifi module connected to Arduino through serial communication
setChartLibrary(‘google-chart’);
setChartTitle(‘SMART POLY HOUSE’);
var lineGraph1 = new boltGraph();
lineGraph1.setChartType(“lineGraph”);
lineGraph1.setAxisName(‘Time’,‘SOIL MOISTURE’);
lineGraph1.plotChart(‘time_stamp’,‘moisture’);
var lineGraph2 = new boltGraph();
lineGraph2.setChartType(“lineGraph”);
lineGraph2.setAxisName(‘Time’,‘HUMIDITY’);
lineGraph2.plotChart(‘time_stamp’,‘humidity’);
var lineGraph2 = new boltGraph();
lineGraph2.setChartType(“lineGraph”);
lineGraph2.setAxisName(‘Time’,‘LDR LIGHT’);
lineGraph2.plotChart(‘time_stamp’,‘ldr_sensor’);
var lineGraph2 = new boltGraph();
lineGraph2.setChartType(“lineGraph”);
lineGraph2.setAxisName(‘Time’,‘TEMPERTURE’);
lineGraph2.plotChart(‘time_stamp’,‘temp’);
var lineGraph2 = new boltGraph();
lineGraph2.setChartType(“lineGraph”);
lineGraph2.setAxisName(‘Time’,‘WATER LEVEL’);
lineGraph2.plotChart(‘time_stamp’,‘waterlevel’);
var lineGraph2 = new boltGraph();
lineGraph2.setChartType(“lineGraph”);
lineGraph2.setAxisName(‘Time’,‘SECURITY’);
lineGraph2.plotChart(‘time_stamp’,‘ir_sensor’);