Abusing the Internet of Things

(Rick Simeone) #1

FIGURE 7-15. Selecting the SMS action channel


Click on Activate to activate the SMS channel. You will be asked to enter a valid cellular
phone number capable of receiving SMS messages (Figure 7-16). Click on Send PIN to have
the number sent to your phone. Once you receive the PIN, enter it into the website, click on
Activate, and then click on Done below the SMS Activated! message. Then click on Continue
to the next step.
Now click on Send me an SMS under the Choose your Action section. You can now edit
the message you will receive when someone rings the doorbell. In Figure 7-17, we see an
example of a custom SMS message that will result in the text “Hey, someone pressed me! -
Sincerely, SMS_Door_Bell.”
Click on Create Action, pick a title for the recipe, and then click on Create Recipe. That’s
it—our recipe is active!


Oops, We Forgot the Button!


Wait a second. We forgot to add the button module to represent the doorbell. Oops! Our
project isn’t very complete if there isn’t an actual button to represent a doorbell. But fear not:
instances like these are the reason that littleBits is such an elegant prototyping platform. We
are going to add in a button without losing any of the work we have already done.
If you look closely at the button module (Figure 7-3), you will see that it has a right arrow
on its top. This means that the module to its right will receive a trigger when the button is
pressed. Therefore, the button module needs to be on the left side of our cloudBit.


INTRODUCING THE CLOUDBIT STARTER KIT 201
Free download pdf