Controlling your kitchen lights has never been this easy!

One of the exciting projects you can do with Internet of Things is to control devices wirelessly. With Meeo’s Toggle Widget, you can turn on or off your devices anywhere in the world as long as you have an Internet connection!

HOLD YOUR HORSES! To get started with your first awesome project with this widget, start off by reading the Introduction. You’ll understand what Meeo is all about. If you already read it, then let us proceed 🤘.

If you have chosen to add this awesome widget from the Widget Menu, you can give a specific name to your widget by typing on the “Name” field. You do not need to type anything on the “Channel” field for now because anything you type on the “Name” field is reflected on the “Channel” field (everything is in small caps and each word is separated with a dash sign “-”). If you really want to have a specific channel for your widget, then you can type the channel name you want. In case you are wondering what is the difference between the “Name” and “Channel” field, the first field lets you give a cool name to your widget. The second field is used as a channel for your devices to subscribe to or to publish data on. If you are happy with the name of your widget, you can now click/press the “Save” button.

“Kitchen Lights” has been suggested as a name for your Toggle Widget

Toggle Widget Information

In order for your device to connect to your widget, you need to know the widget’s information. To access this, each widget has an “Option” icon on the top right corner. Click/press the icon and you will see the Widget Information Box as shown on the image below:

Widget Information Box

The Widget Information Box holds the most important information of a widget; the topic. If you would notice, the topic is separated by a “/”. The phrase on the left is called the namespace while the phrase on the right is called the channel (remember the “Channel” field?). You should take note of these because it is needed by the Meeo Arduino Library.

Toggle Widget Data

With your Toggle Widget up and running, it is best if you know what the Toggle State means. If the Toggle Widget looks like the image below, then your device is turned off. The widget has sent 0 to the channel.

Toggle State: Off

If the Toggle Widget looks like the image below, then your device is turned on. The widget has sent 1 to the channel.

Toggle State: On

You can also publish or send data to your Toggle Widget! The following data can be used to set the Toggle State to on:

  • 1
  • true
  • on
  • set

The following data can be used to set the Toggle State to off:

  • 0
  • false
  • off
  • unset or reset

Control your devices!

Now that you know the intricacies of the Toggle Widget, you can now control any IoT device! Just take note that having an Internet connection is crucial! Lastly, with great power, comes great responsibilities 😂. You might use it to scare the heck out of your friends by turning on/off your lights remotely 😂.


A Beginner’s Platform for Internet of Things

Terence Anton Dela Fuente

Written by

Co-founder and CTO at Circuitrocks | Tinkerer at ❤



A Beginner’s Platform for Internet of Things

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade