Send SMS when temperature is of setpoint

Hi, I'm new at both this forum and to arduino, so please bare with me if I do semething wrong ;D

I have a small brewery and I do the fermetation in rooms with different temperatures, the temperatures need to be accurate or the beer will not be as planed. I am using and Arduino Uno and a esp8266 to connect to the web, so that I can monitor the temperatures from wherever. The thing I'm having trouble with is, I want the Arduino to send me a sms if the temperature gets too much off my set temperature. A simple text message that tells me what the temperature is every half hour or so until the temperature is back within the limits.

Is this possible, and can anyone help me with a Sketch?

Do you have a facility to send SMS from the web?

dannable: Do you have a facility to send SMS from the web?

I forgot to mention that I have a gsm/gprs shield for the Arduino :)

Read about ‘Blink without delay’.

Every 30 minutes compare temperature.

If over limit send sms.

Convert temperature to string, ie dtostrf()

AT+CMGS = “recipients number
Send message to GSM shield, finish with ctrl+z

I have no idea how to do that, I'm an Arduino noob, but thanks for the tip.

Have you got your GSM shield working?

Yes, I've got the shield working, I can send text messages to my phone, but I have to manually type the message in the serial thingie....

serial thingie? That’ll be the techincal term then?

Crude but working code:

#include <SoftwareSerial.h>

SoftwareSerial SIM900(7, 8);

String outMessage = "Hello world!";
String destinationNumber = "+447751123456";

void setup()
  delay(20000); // give time to log on to network.
  SIM900.println("AT + CMGS = \"" + destinationNumber +"\"");

void loop()

Amend as necessary. (Recipients number, SoftwareSerial pins…)

This is probably a stupid question, but how will this helpe me receive a sms when the temperature is over or under a set threshold?

I don't mean to be rude, I simply just don't know :)

What code have you got so far? If you are wanting someone to provide a turnkey system you need to advertise in the Gigs and Collaborations section.

I have no code, that is the problem. I wil try the Gig and collaboration section. Thank you for your help.