Pritam Naskar
Published © GPL3+

Temperature Monitoring via SMS Alerting

How helpful it can be if you can make a project out of which you can easily know temperature of your surroundings through your mobile SMS.

IntermediateFull instructions provided1 hour1,246
Temperature Monitoring via SMS Alerting

Things used in this project

Hardware components

Bolt WiFi Module
Bolt IoT Bolt WiFi Module
Temperature Sensor
Temperature Sensor
Male/Female Jumper Wires
Male/Female Jumper Wires

Software apps and online services

Bolt Cloud
Bolt IoT Bolt Cloud
SMS Messaging API
Twilio SMS Messaging API


Read more


Hardware components used in this project

To make a Temperature Monitoring Device

Complete Hardware Connection

Complete Hardware Connection with Stable Power and Internet Source.
Blue light indicates it connected with power source and green one indicates it connected with stable internet connection.


Code for getting SMS in mobile phone when the temperature crosses the assigned thresholds

It is a python code . Which I use to get real time temperature alert in my very own device.
import conf
from boltiot import Sms, Bolt
import json, time
minimum_limit = 400
maximum_limit = 600
mybolt = Bolt(conf.API_KEY, conf.DEVICE_ID)
sms = Sms(conf.SID, conf.AUTH_TOKEN, conf.TO_NUMBER, conf.FROM_NUMBER)
while True:
     print ("Reading sensor value")    
response = mybolt.analogRead('A0')     
data = json.loads(response)     
print("Sensor value is: " + str(data['value']))    
         sensor_value = int(data['value'])        
 if sensor_value > maximum_limit or sensor_value < minimum_limit:
            print("Making request to Twilio to send a SMS")           
 response = sms.send_sms("The Current temperature sensor value is " +str(sensor_value))           
 print("Response received from Twilio is: " + str(response))           
 print("Status of SMS at Twilio is :" + str(response.status))    
except Exception as e:         
print ("Error occured: Below are the details")        
print (e)   


Pritam Naskar

Pritam Naskar

1 project • 0 followers
I am pursuing my B.Tech in Electronics and Communication Engineering. I like to make creative things. Attracted towards modern inventions.