---
title: "[Recuration] Smart Bed System Using webOS"
url: "https://maker.wiznet.io/josephsr/projects/recuration-smart-bed-system-using-webos/"
markdown_url: "https://maker.wiznet.io/josephsr/projects/recuration-smart-bed-system-using-webos/md"
type: "UCC: User Created Content"
author: "JIN SANGJAE, JUNG YUNKYU, HWANG EUNJI"
author_url: "https://maker.wiznet.io/WIZnet/projects/smart%2Dbed%2Dsystem%2Dusing%2Dwebos/?page=16&serob=rt&serterm=all"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "JIN SANGJAE, JUNG YUNKYU, HWANG EUNJI"
original_url: "https://maker.wiznet.io/WIZnet/projects/smart%2Dbed%2Dsystem%2Dusing%2Dwebos/?page=16&serob=rt&serterm=all"
published: "2023-11-02"
language: "en"
tags: ["webOS", "Raspberry Pi"]
hardware: ["raspberry pi - 3", "WIZnet W6100", "Arduino UNO", "Arduino Mega 2560"]
likes: 0
views: 2942
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# [Recuration] Smart Bed System Using webOS

> With your voice, you can control light, temperature, and bed gradient!!

Original author: JIN SANGJAE, JUNG YUNKYU, HWANG EUNJI (source: https://maker.wiznet.io/WIZnet/projects/smart%2Dbed%2Dsystem%2Dusing%2Dwebos/?page=16&serob=rt&serterm=all)

## Components

- **raspberry pi - 3** x 1
- **WIZnet W6100** x 1 ([docs](https://docs.wiznet.io/Product/iEthernet/W6100/))
- **Arduino UNO** x 1 ([docs](https://www.farnell.com/datasheets/1682209.pdf))
- **Arduino Mega 2560** x 1 ([docs](https://www.farnell.com/datasheets/1674878.pdf?_ga=2.12759806.871556650.1519619484-654667508.1508905608&_gac=1.209399078.1518779130.EAIaIQobChMI97my66Sq2QIV77ftCh01kgA_EAMYASAAEgKPyvD_BwE))
- Software: **ifttt Amazon Alexa service** ([docs](https://ifttt.com/amazon_alexa))

## Documents and links

- [Smart_Bed](https://github.com/dmswl6310/Smart_Bed) (code)

## Article

### **Smart Bed System**

We used **webOS** and **Google** A**ssistant library** for webOS, So please refer to: [https://www.webosose.org/, https://github.com/webosose/libgoogleassistant/blob/master/README.md](https://www.webosose.org/)

### **Architecture of Our System**

This is architecture of our system.

![](https://hackster.imgix.net/uploads/attachments/947211/Architecture-1024x542.png?auto=compress%2Cformat&w=740&h=555&fit=max)

IFTTT is the service that makes easy to generate custom commands which google assistant don't recognize. We used this service to make our own commands.

In short,

- Say commands which we made using IFTTT to microphone.

- webOS application sends commands to google assistant server. Then server will response to application.

- webOS application sends specific JSON data to Arduino using HTTP request based on response.

- Arduino controls right actuators depending on the data.

### **Usage or Scenario**

- Execute webOS and launch "Smart bed" application(web application)

- Click Start button to begin speech recognition

- Say some commands we made like "I want to read", "Increase temperature", etc... For example, If I say "I want to read", then the bed will be upright

![](https://hackster.imgix.net/uploads/attachments/947213/uploads2ftmp2fbfd7d28b-02a7-48c9-9190-a76799676ab12fscenario_DT0Z9xkUzT.png?auto=compress%2Cformat&w=740&h=555&fit=max)

Above picture is description of our entire scenarios. Basically Light is turned on/off depending on the illuminance sensor on the bed.

---

Source: https://maker.wiznet.io/josephsr/projects/recuration-smart-bed-system-using-webos/
