Physical + IoT Switch (2way Switch)




Introduction: Physical + IoT Switch (2way Switch)

Cayenne ( is a web based service to quickly design ,prototype and commercialize IoT solutions.

Using Cayenne I have made a switch that can turn on/off a light using relay. The switching of device can be done through website or through mobile app.

The next part is where i have added two way switch to the relay and light setup.

Adding two way switch to this setup enables users to use their devices even if the internet connectivity is lost.

Two way switch is a fail-safe option to use your devices even if your internet of things goes down.

Note- You will be working with 240 volts supply so make sure you take all the precautions.

Step 1: List of Materials (hardware)

1. Arduino UNO with cable

2. Relay

3. Two way switch

4. Jumper Wires

5. Bulb holder with wire

6. Wires

7. Bulb

Step 2: Software

1. Cayenne (create your account)

2. Arduino IDE

3. Cayenne library .

Step 3: Software Side Setup Video

Step 4: Hardware Side Setup Video

Step 5: Working Video

Step 6: End Note

Hope you guys liked it .

Please do vote for this instructable !

Thank you

Lights Contest 2017

Participated in the
Lights Contest 2017

Internet of Things Contest 2017

Participated in the
Internet of Things Contest 2017

Be the First to Share


    • Jewelry Challenge

      Jewelry Challenge
    • One Board Contest

      One Board Contest
    • Fix It Speed Challenge

      Fix It Speed Challenge



    Question 9 months ago on Introduction

    Hi..i like your video of 2 way concept and i have developed 2 way connection with esp32 but I'm unable to get the manual switch response. In order to get the switch status i.e, on/off status in my android app the response from manual switch is must ..can u plz make a video on that..
    Regards in Advance


    Question 1 year ago on Step 2

    can u please give me the clear circuit diagram with relay pinout connection like NO, NC, CO......please send the whole circuit diagram including these thank you ....this is my mail id......


    4 years ago

    It is a good proof of concept, but if you really want to use it you will need an ethernet or wifi shield so arduino can be accessed from web. I suggest using esp8266-01 with arduino IDE (several instructables about it) and a tiny AC to 3.3V step-down power supply.