<commit_before>---
title: Send Free SMS in your IOT Project
excerpt: From an unlikely source
description: Telstra SMS API useful for IOT Projects
image: https://github.com/raspberrypisig/raspberrypisig.github.io/raw/master/assets/images/telstrasmsapi.jpg
categories: iot
---<commit_msg>Update 2017-1-28-free-sms-iot.md<commit_after>---
title: Send Free SMS in your IOT Project
excerpt: From an unlikely source
description: Telstra SMS API useful for IOT Projects
image: https://github.com/raspberrypisig/raspberrypisig.github.io/raw/master/assets/images/telstrasmsapi.jpg
categories: iot
---
There are times in your IOT projects when you want to send notifications of certain interesting event, example intruder detected. Sending an SMS is one such mechanism.

There is an excellent service called Twilio, but it is a paid service.

Enter Telstra (they are always there to help!) . It has a free limit of 1000 SMS messages a month. Sweet!


Basic Steps:
1. Register, then create an "app" in their backend, this will give you the "API Keys" you need
2. You first make a HTTP request for an authentication token (OAuth2)
3. With the token in hand, you make another HTTP Request which sends the SMS.


Introduction and Setup [here](https://dev.telstra.com/content/sms-api-0)
User Guide [here](https://dev.telstra.com/content/sms-getting-started)
{'fraction_non_alphanumeric': 0.08420268256333831, 'fraction_numerical': 0.011922503725782414, 'mean_word_length': 4.504098360655738, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4100228', 'n_tokens_mistral': 419, 'n_tokens_neox': 384, 'n_words': 167}