Remotely switch On/Off an LED using PubNub and Raspberry PI

Have you ever wanted to control your electrical devices with just the touch of a screen. This can be done via Internet of Things.

The Internet of things (IoT) is the inter-networking of physical devices, vehicles (also referred to as “connected devices” and “smart devices”), buildings, and other items embedded with electronics, software, sensors, actuators, and network connectivity which enable these objects to collect and exchange data.

In this tutorial you will learn how to control a led bulb using your phone or computer from anywhere. The Internet of things (IoT) is the inter-networking of physical devices, vehicles (also referred to as “connected devices” and “smart devices”), buildings, and other items embedded with electronics, software, sensors, actuators, and network connectivity which enable these objects to collect and exchange data.For setup you will need :

2 Replies to “Remotely switch On/Off an LED using PubNub and Raspberry PI”

I am trying to do a project for school which essentially would be to turn on and off a gpio on the raspberry pi through the web. However whenever I am trying to run the python code it says the pubnub package does not exist, I have downloaded the package already and it still gives me that error message.