Secondary Menu

Lights Automation With a Sens'it and a Smart Plug

Introduction: Lights Automation With a Sens'it and a Smart Plug

Have you heard of the Sens'it. It is a small device, Sigfox Ready, that can help you in your daily life. It contains few sensors such as temperature, brightness, movement, magnetic field and a button. You can configure your Sens'it very easily using the sensit.io web app.

In this tutorial, we will see one possible use of the Sens'it. We will use the power of IFTTT service (If This, Then That) to turn on and off a light powered by a D-Link smart plug.

The concept is pretty simple. What I wanted to do is to turn on a light using a button and switch off that light when the room is bright enough.

How it works?

This tutorial will show you how to use a Sigfox device from anywhere, without 2G/3G/4G, Bluetooth, wifi to switch on / off a smart plug connected in wifi.

What is Sigfox?

Sigfox is a connectivity solution dedicated to the Internet of Things. The operated network is currently operating in +22 countries, on every continent. Focused on tiny messages (up to 12 bytes) & low energy consumption, it currently powers 7 million devices. Various Sigfox-compatible technical solutions are available, from different silicon vendors.

Subscriptions to the Sigfox service are free for developers ( development kits & evaluation boards). Otherwise, they range between 1€/month & 1€/year depending on the volume commitment.

You can flash the QR Code on it or you can configure it manually, I've chosen the easiest way, flashing the QR Code

Turn on the device

wait until the led on the side blink in orange

Then, you can choose the WPS methods or to configure it manually.As I don't have WPS authentification on my router, I had to do it manually...

The name of your device is up to you, I named it "smart plug"

It is all set, you can go to the next step to see how we will connect your Sens'it with your smart plug using IFTTT

Step 4: IFTTT - Connect the Services

IFTTT is a web service that allows you to do something if something else happens. What is interesting is that you can connect many different services. In our cases, we will use the Sens'it channel (note that the Sens'it channel is not yet available) and the D-Link one.

It is very easy and there is no coding involved (see the attached screenshots for further information).