Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Internet of Things with Blynk

You're reading from   Hands-On Internet of Things with Blynk Build on the power of Blynk to configure smart devices and build exciting IoT projects

Arrow left icon
Product type Paperback
Published in May 2018
Publisher Packt
ISBN-13 9781788995061
Length 271 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Pradeeka Seneviratne Pradeeka Seneviratne
Author Profile Icon Pradeeka Seneviratne
Pradeeka Seneviratne
Arrow right icon
View More author details
Toc

Notification widget

The Notification widget allows you to send push notifications from your Raspberry Pi to your smartphone or tablet.

This has the following limitations:

  • The maximum message length is 128 characters (mix of alphanumeric and symbols)
  • You can send only one notification per 15 seconds

However, you can increase the message length by including the following statement at the beginning of the code:

#define BLYNK_MAX_SENDBYTES 256 // Default is 128

You can add a Notification widget onto your project canvas using the Widget Box. The Notification widget also consumes 0 units of energy from your energy bank. Only one notification widget is allowed for a project:

Notification widget is added next to the Twitter widget

Configuring the Notification widget

...
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 $19.99/month. Cancel anytime
Banner background image