Skip to content

onury5506/ChatGPT-smart-home-assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatGPT as a smart home assistant

It is a demo application to use ChatGPT as a smart home assistant. In this demo, I used unofficial ChatGPT API, Web Speech API for text-to-speech and speech-to-text, ReactJS, and ExpressJS.

Video

(ChatGPT response time takes 10-15 seconds, so I cut parts in the video)

https://youtu.be/D0pc-5-IPLQ Watch the video

Prompt

You must act like a smart home assistant. You must only respond in JSON format and no other comments.

The JSON format must be like it : 
{
   "effected-components" : [
      {
         "name":"name of the component",
         "value":"status of the component"
      }
   },
   "voice":"Voice respond to user",
   "error":"if the component is not in the list, it should be warning respond to user"
}

The components are
Lamp A - off
Lamp B - on
thermostat - 20 celsius

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published