Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Internet of Things with Arduino Cookbook

You're reading from   Internet of Things with Arduino Cookbook Build exciting IoT projects using the Arduino platform

Arrow left icon
Product type Paperback
Published in Sep 2016
Publisher Packt
ISBN-13 9781785286582
Length 188 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Marco Schwartz Marco Schwartz
Author Profile Icon Marco Schwartz
Marco Schwartz
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Internet of Things with Arduino Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
1. Connecting an Arduino to the Web 2. Cloud Data Monitoring FREE CHAPTER 3. Interacting with Web Services 4. Machine-to-Machine Interactions 5. Home Automation Projects 6. Fun Internet of Things Projects 7. Mobile Robot Applications Index

Sending push notifications


In this recipe, we are going to see how to send push notifications from your Arduino boards, via IFTTT. As we are slowly discovering the IFTTT service, we are only going to build a simple alert system here.

Getting ready

To start, you need to connect to the Pushover channel, which is a service to send notifications to your mobile device. If you don't have a Pushover account yet, create one by downloading the app on your mobile device.

Then, add the channel inside IFTTT:

Next, we are going to need some sensors connected to your Arduino board. Please see the previous chapter to see how to connect a photocell and the DHT11 sensor to your Arduino board.

How to do it...

We are now going to create our first IFTTT recipe:

  1. Create a new recipe, and select the Maker channel as the trigger:

  2. Name the event alert:

  3. Next, select Pushover as the action channel:

  4. As for the notification, we'll simply name it Alert, and write the following message:

  5. You can now create the recipe that will appear...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime
Visually different images