---
title: "Smart Bed System Using webOS"
url: "https://maker.wiznet.io/WIZnet/projects/smart-bed-system-using-webos/"
markdown_url: "https://maker.wiznet.io/WIZnet/projects/smart-bed-system-using-webos/md"
type: "UCC: User Created Content"
author: "JUNG YUNKYU, JIN SANGJAE"
author_url: "https://www.hackster.io/team-jin-sangjae-jung-yunkyu-hwang-eunji/smart-bed-system-using-webos-18ddd9"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "JUNG YUNKYU, JIN SANGJAE"
original_url: "https://www.hackster.io/team-jin-sangjae-jung-yunkyu-hwang-eunji/smart-bed-system-using-webos-18ddd9"
published: "2023-05-31"
language: "en"
hardware: ["Arduino Mega 2560", "WIZnet W6100"]
likes: 0
views: 1142
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# Smart Bed System Using webOS

> Smart bed system which controls light, temperature, and bed gradient using voice recognition.

Original author: JUNG YUNKYU, JIN SANGJAE (source: https://www.hackster.io/team-jin-sangjae-jung-yunkyu-hwang-eunji/smart-bed-system-using-webos-18ddd9)

## Components

- **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))
- **WIZnet W6100** x 1 ([docs](https://docs.wiznet.io/Product/iEthernet/W6100/))
- Software: **ifttt Maker service** ([docs](https://ifttt.com/maker_webhooks))

## Documents and links

- [Architecture of our system](http://maker.wiznet.io/wp-content/uploads/2020/09/uploads2ftmp2fbf4dc9a8-ca33-49d6-9ea6-464ba07b1edf2farchitecture_XU18j9yUVn.png) (schematics)
- [demo video](https://www.youtube.com/watch?v=K0yb9uHWwms#action=share)

## 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 System

This is architecture of 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/WIZnet/projects/smart-bed-system-using-webos/
