Smart Stuff

Smart Stuff

© Images: Distributed Organisms B.V.

© Images: Distributed Organisms B.V.

Article from Issue 181/2015
Author(s):

Tired of waiting for the Internet of Things? DoBots' new product promises to give you a headstart.

The Internet of Things promises smart appliances that can be controlled from phone apps. However, many of those appliances have yet to be built, and many of those that do exist cannot yet interact with each other. DoBots [1], a Dutch robotics company, is challenging both of these limitations with Crownstone, a device that turns the appliances plugged into an electrical outlet into smart devices. Currently in the middle of a Kickstarter campaign [2], the Crownstone is available for both European and North American outlets and can either plug into an outlet or be built into one.

DoBots is a spin-off from Almende [3], an institute that researches robotics, artificial intelligence, and related subjects. DoBots itself develops robots and algorithms for autonomous systems. Free software projects that DoBots has contributed to include Replicator [4], a self-reconfigurable robot, for which it developed a lightweight version of YARP [5]; SwarmControl [6], an app for managing multiple robots; and robots for cleaning and detecting fire.

According to Peet van Tooren, DoBots' CTO, the Crownstone itself is intended to be "both open hardware and software," aside from the use of the nRF51822 semiconductor from Nordic [7] and its SDK, neither of which DoBots owns. However, Anne van Rossum, Dobots' COO, notes that, "Nordic is slowly transitioning to have more and more open source" and hopes that the Crownstone will be completely free eventually, if not necessarily when it first ships.

The Crownstone began as DoBots "started to think about the use of our type of artificial intelligence/machine learning tech for everybody," van Rossum says. Robots of the sort DoBots develops are still several years in the future for the home, and in any case, "the elderly, for example, do not so much require a robot as smaller things that are automated. We are thinking of the home as a very large AI that understands your needs. It should know when you're home. It should know when you're in danger."

Hardware and Software in Development

At the same time, the present generation of smart devices is fragmented. As software developer Bart van Vliet explains, as DoBots looked around, "In building automation projects, there were devices that could do just one thing: switch power, measure power usage, or enable localization. This became both expensive and complicated, as they all used their own protocols." DoBots' goal is to centralize management of all the devices by connecting them through a Crownstone, which will detect the kind of device it is, apply some basic defaults settings, and allow the user to add other customizations.

To develop these settings, DoBots conducted a questionnaire to learn what potential users would want to do with a Crownstone. Just under two-thirds cited switching off energy-hungry devices when they left the house. Other uses included controlling all the lights at once or acting as a timer for TVs, washers, and other appliances; a safety device for irons or electric kettles; or a child lock, in the case of thunderstorms.

Van Rossum gives another example: "If a reverse current flow is detected, it can prevent the breakdown of pumps in India. A pump is one of the largest investments for a farmer in India, and this is quite common." Basically, the Crownstone is designed to work with "anything that is attached to or charged from the grid."

Whatever use the Crownstone is put to, DoBots is developing a phone app to control it. When completed, the app will allow plug-and-play installation and the control of Crownstones, both separately or in groups, as well as recording energy consumption and tracking the user's location. It will also include a bridge from Bluetooth to the Internet.

An especially interesting feature of the app will be the ability to create scenarios. DoBots programmer Dominik Egger gives the example of a scenario for watching a movie that would dim the lights, close the curtains, turn on the TV, and adjust the sound level with a single action, instead of having to do all the actions separately.

Egger continues: "All of these features will be included in the app in such a way that the user does not have to worry about being in reach or even knowing exactly which Crownstone it is he needs to control. As long as he is in reach of at least one Crownstone, all communication will be relayed amongst the Crownstones to the correct device. Even if he is not in reach of a Crownstone, the devices can be controlled through the Internet if a hub is used to bridge the mesh of the Crownstones with the Internet."

An app for controlling Crownstone is available on Google Play [8] but is currently only for developers. The app began as a collection of Python scripts using Pexpect [9] and BlueZ [10], a combination that allows for quick development and provides a record of commands that is useful for hacking.

However, for the end-user app, DoBots switched to Cordova [11] using the BLE plugin [12], which allows for simultanenous development for Android and iOS. "Cordova has the big advantage that it works on many operating systems," van Vliet says, "but at the cost of a large app file size, a slower app, and a non-native feel." Eventually, DoBots developed its own libraries for Cordova and Android, and van Vliet expects Dobots to develop more libraries as the project advances.

Judging from the crowdfunding campaign, a single Crownstone will retail for about $40 (EUR35). Van Vliet gives an estimate of the requirements for a one-bedroom European apartment: "I guess you want one for every light group you have – say three for the living room, two for the kitchen, one for a bathroom, and two for a bedroom. Then a Crownstone for each appliance you want to control, like a personal computer, TV, set-top box, router, media player, electric stove, water cooker, oven, microwave, fridge, air conditioner, and bathroom fan," for a total of 25. In other words, for about $1,000, the cost of a mid-range appliance, and a weekend's work, buyers could have a smart apartment. If they chose, they could add Crownstones a few at a time.

Waiting for the Internet of Things

DoBots is already considering ways to extend the capacity of the Crownstone. Integration with existing systems, such as the Fitbit, which monitors exercise, or Parrot's Flower Power [13], which monitors gardening, are likely possibilities. Another is a microphone that can detect everyday sounds, such as a knock on the door or footsteps.

"But the ingenuity of the Crownstone is that we don't need to limit or restrict ourselves to a set of devices," Egger says. "The design, and it being open source, makes it possible for users to add and enhance the Crownstone in any way imaginable. If there is a device that talks Bluetooth Smart, then there will be a way to interface it with the Crownstone: be that directly over Bluetooth Smart with the Crownstone, or via an app on an Android device, or using a Raspberry Pi or an Udoo. The possibilities are limitless."

The Crownstone's short-term future depends on its crowdfunding campaign, whose success will allow DoBots to mass produce. In the long term, its future depends on how the Internet of Things develops. Van Vliet sees a future in which "you get hubs or computer software that try to integrate all the different solutions, which doesn't give much incentive to convert on a single protocol or even radio standard. Then there are also manufacturers who try to get consumers in a vendor lock-in, so they can live on their own little island, not cooperating with other solutions."

However, no matter what happens, with its head start and flexibility, DoBots' Crownstone has a strong chance of being among the first to make the Internet of Things a reality for average users.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • The rise of open hardware
  • Cordova

    Roll out an app elegantly and quickly for up to eight operating systems using the Cordova framework. According to the Apache Foundation, the only requirements are knowledge of HTML, CSS, and JavaScript.

  • Tutorials – Cordova Sensor

    Frameworks like Cordova make creating simple mobile apps quite easy. Making apps that use your phone's sensor is slightly trickier, but, thanks to a new universal standard, things are not as hard as you may think.

  • Nao Humanoid Robot

    At the end of April, Aldebaran Robotics let their 57cm-long humanoid Nao robots loose on a human audience of mostly open source developers. The robots possess 25 degrees of freedom, a child’s gaze, and anthropomorphic interactions.

  • Z-Wave

    Z-Wave connects components in the smart home and ensures that remote commands from the control station take effect on real household appliances. We look at how it works, its range, the security of the protocol, and some basics that every Z-Waver should know.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News