Forum for Science, Industry and Business

Sponsored by:     3M 
Search our Site:

 

Programming the smart home: ‘If this, then that’

29.04.2014

Homes already have intelligent devices beyond the TV remote — garage door openers, coffee makers, laundry machines, lights, HVAC — but each has its own arcane steps for programming. User research now shows that “trigger-action programming” could give users a reliable and simple way to control everything, as easy as “If this, then that.”

The idea of a smart home sounds promising enough. Who doesn’t want a house full of automated gadgets — from light switches to appliances to heating systems — that know exactly when to turn on, turn off, heat up or power down?


I’m up. Where’s the coffee?

The idea is to provide owners with an easy way to program all domestic devices. The “IF (this) THEN (that)” trigger-action approach has been shown to work for users who are not programmers. View YouTube Clip: https://www.youtube.com/watch?v=BNVQcs5yCZg

But in order for all those devices to do what they’re supposed to do, they’ll need to be programed — a task the average homeowner might not have the interest or the tech-savvy to perform. And nobody wants to call tech support just to turn on a light.

A group of computer science researchers from Brown and Carnegie Mellon universities may have found a workable programming solution. Through a series of surveys and experiments, the researchers show that a style of programming they term “trigger-action programming” provides a powerful and intuitive means of talking to smart home gadgets.

The research was presented today at the Conference on Human Factors in Computing Systems (CHI2014) in Toronto. The work was co-authored by Blase Ur, a graduate student at Carnegie Mellon, Brown undergraduates Melwyn Pak Yong Ho and Elyse McManus, and Michael Littman, professor of computer science at Brown.

The trigger-action paradigm is already gaining steam on the web. It’s used perhaps most prominently on the website IFTTT.com (If This, Then That), which helps people automate tasks across various Internet services. Users create “recipes” using simple if-then statements — for example: “If somebody tags me in a Facebook photo, then upload it to Instagram.” The website interfaces with both service providers, and the action happens automatically each time it’s triggered.

“We live in a world now that’s populated by machines that are supposed to make our lives easier, but we can’t talk to them. Everybody out there should be able to tell their machines what to do.” Credit: Mike Cohea/Brown UniversityIFTTT.com started out as a tool to link websites, but it has recently added the capability to command a few internet-connected devices, like Belkin’s WeMo power outlet and the Philips Hue lightbulb. That got Littman and his team thinking perhaps the trigger-action model employed by IFTTT might be a good fit for home automation.

“As a programming model, it’s simple and there are real people using it to control their devices,” Littman said. “But the question we asked in this paper was: Does it work for the [home automation] tasks people want to do, or is it perhaps too simple?”

To find out, the researchers started by asking workers on Mechanical Turk, Amazon’s crowdsourcing marketplace, what they might want a hypothetical smart home to do. Then the team evaluated answers from 318 respondents to see if those activities would require some kind of programming, and if so, whether the program could be expressed as triggers and actions.

The survey responses varied from the mundane (“start the coffee pot from the bedroom”) to the outlandish (“I would want my home to be able to shoot lasers at intruders.”). A majority of activities people wanted — “Notify me when my pet gets out of the back yard” or “Start brewing coffee 15 minutes before my alarm” — would require some kind of programming to get the devices on the same page as the user. Most of the programming tasks fit nicely into the trigger-action format, the survey found. Seventy-eight percent of responses could be expressed as a single trigger and a single action. Another 22 percent involved some combination of multiple triggers or multiple actions.

The next step for the researchers was to see how well people could actually design recipes to accomplish tasks. To do that, they used two interfaces designed by McManus, one of the undergraduate researchers, and enlisted Mechanical Turkers to make recipes with the interfaces.

“We based both [interfaces] on ‘If This Then That,’” McManus said. “But then we made one of them slightly more complex, so you could add multiple triggers and multiple actions.”

The study showed that participants were able to use both interfaces — the simpler one and the one with multiple triggers and actions — fairly well. Participants who didn’t have any programming experience performed just as well on the tasks as those who did.

Taken together, the researchers say, the results suggest that trigger-action programming is flexible enough to do what people want a smart home to do, and simple enough that non-programmers can use it. Melwyn Pak, one of the Brown undergraduates on the project, finds that encouraging.

“People are more than ready to have some form of finer control of their devices,” he said of the results. “You just need to give them a tool that allows them to operate those devices in an intuitive way.”

Littman, who has been studying end-user programming of electronic devices for several years, agrees.

“We live in a world now that’s populated by machines that are supposed to make our lives easier, but we can’t talk to them,” he said. “Everybody out there should be able to tell their machines what to do. This paper is our attempt to start thinking about how to bridge that gap.”

Kevin Stacey | Eurek Alert!
Further information:
http://news.brown.edu/pressreleases/2014/04/smarthome

More articles from Information Technology:

nachricht Stable magnetic bit of three atoms
21.09.2017 | Sonderforschungsbereich 668

nachricht Drones can almost see in the dark
20.09.2017 | Universität Zürich

All articles from Information Technology >>>

The most recent press releases about innovation >>>

Die letzten 5 Focus-News des innovations-reports im Überblick:

Im Focus: The pyrenoid is a carbon-fixing liquid droplet

Plants and algae use the enzyme Rubisco to fix carbon dioxide, removing it from the atmosphere and converting it into biomass. Algae have figured out a way to increase the efficiency of carbon fixation. They gather most of their Rubisco into a ball-shaped microcompartment called the pyrenoid, which they flood with a high local concentration of carbon dioxide. A team of scientists at Princeton University, the Carnegie Institution for Science, Stanford University and the Max Plank Institute of Biochemistry have unravelled the mysteries of how the pyrenoid is assembled. These insights can help to engineer crops that remove more carbon dioxide from the atmosphere while producing more food.

A warming planet

Im Focus: Highly precise wiring in the Cerebral Cortex

Our brains house extremely complex neuronal circuits, whose detailed structures are still largely unknown. This is especially true for the so-called cerebral cortex of mammals, where among other things vision, thoughts or spatial orientation are being computed. Here the rules by which nerve cells are connected to each other are only partly understood. A team of scientists around Moritz Helmstaedter at the Frankfiurt Max Planck Institute for Brain Research and Helene Schmidt (Humboldt University in Berlin) have now discovered a surprisingly precise nerve cell connectivity pattern in the part of the cerebral cortex that is responsible for orienting the individual animal or human in space.

The researchers report online in Nature (Schmidt et al., 2017. Axonal synapse sorting in medial entorhinal cortex, DOI: 10.1038/nature24005) that synapses in...

Im Focus: Tiny lasers from a gallery of whispers

New technique promises tunable laser devices

Whispering gallery mode (WGM) resonators are used to make tiny micro-lasers, sensors, switches, routers and other devices. These tiny structures rely on a...

Im Focus: Ultrafast snapshots of relaxing electrons in solids

Using ultrafast flashes of laser and x-ray radiation, scientists at the Max Planck Institute of Quantum Optics (Garching, Germany) took snapshots of the briefest electron motion inside a solid material to date. The electron motion lasted only 750 billionths of the billionth of a second before it fainted, setting a new record of human capability to capture ultrafast processes inside solids!

When x-rays shine onto solid materials or large molecules, an electron is pushed away from its original place near the nucleus of the atom, leaving a hole...

Im Focus: Quantum Sensors Decipher Magnetic Ordering in a New Semiconducting Material

For the first time, physicists have successfully imaged spiral magnetic ordering in a multiferroic material. These materials are considered highly promising candidates for future data storage media. The researchers were able to prove their findings using unique quantum sensors that were developed at Basel University and that can analyze electromagnetic fields on the nanometer scale. The results – obtained by scientists from the University of Basel’s Department of Physics, the Swiss Nanoscience Institute, the University of Montpellier and several laboratories from University Paris-Saclay – were recently published in the journal Nature.

Multiferroics are materials that simultaneously react to electric and magnetic fields. These two properties are rarely found together, and their combined...

All Focus news of the innovation-report >>>

Anzeige

Anzeige

Event News

“Lasers in Composites Symposium” in Aachen – from Science to Application

19.09.2017 | Event News

I-ESA 2018 – Call for Papers

12.09.2017 | Event News

EMBO at Basel Life, a new conference on current and emerging life science research

06.09.2017 | Event News

 
Latest News

Rainbow colors reveal cell history: Uncovering β-cell heterogeneity

22.09.2017 | Life Sciences

Penn first in world to treat patient with new radiation technology

22.09.2017 | Medical Engineering

Calculating quietness

22.09.2017 | Physics and Astronomy

VideoLinks
B2B-VideoLinks
More VideoLinks >>>