loading

Welcome to this tutorial on Raspberry Pi. From the title itself, you got an idea of what we will be doing. What do you think about turning an AC and lights on just 5 mins before arriving home, and you get that heavenly feeling in an instant on opening the door after a tiring day. Sounds cool, isn’t it? So stick to this Instructables, and also have a look at our video. I am sure you will enjoy it.

Let's begin!

Step 1: What You Will Need?

Here is the list of components:

1. Raspberry Pi (we are using Pi 3 Model B)
2. Relay Module
3. Light Bulb
4. Plug
5. Jumpers

Step 2: Software!

If you haven't checked our Instructables on how to install Raspbian OS in your Pi, then Click here.

Sign up in Cayenne: mydevice

Download the App from PlayStore: Cayenne App

Step 3: Circuit

The circuit is very easy. No need to explain. Just make sure you are connecting the right GPIO pin that I will discuss in the next step.

Step 4: Follow the Steps in Cayenne

  • Open Cayenne my device. If you are not familiar with this IoT platform, then please watch our 1st video on it by clicking here.
  • After logging in, make sure you care connected to your Pi.
  • Then click on Add New, followed by Device/Widget.
  • Search for Digital output and add it. Name it as Switch and select the GPIO number correctly.
  • Give the icon of a bulb and press Add Actuator.

Step 5: It's Done!

Now open your Cayenne App in your mobile and touch the switch to turn the light ON and OFF. This method will light up any home appliances from any corner of the world as long as you are connected to the internet.

So simple! If you are new, then do subscribe to our YouTube channel Being Engineers for more cool Arduino and Raspberry Pi projects. It really helps us a lot. Follow us on Instagram and Facebook for more updates. I will catch you guys later. Peace :)

<p>Perhaps your instructable should have covered &quot;cayenne.&quot; </p>
Yeah. Somehow the url didn't include Cayenne completely.

About This Instructable

3,452views

69favorites

License:

Bio: We run YouTube channel and provide some video tutorials on electronics and programming and also videos on cool projects - how to make them, tech news ... More »
More by Being Engineers:How to Communicate With Arduino From a Python Script HACKED! Google Chrome Offline T-Rex Game How to Install MinGW GCC/G++ Compiler in Windows XP/7/8/8.1/10 
Add instructable to: