——–Smart bed system——–
We used webOS and google assistant library for webOS, So please refer https://www.webosose.org/, https://github.com/webosose/libgoogleassistant/blob/master/README.md
——–Architecture of our system——–
This is architecture of our system.
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.
- 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
Above picture is description of our entire scenarios. Basically Light is turned on/off depending on the illuminance sensor on the bed.