Building the World’s Smartest AI Home Voice Assistant with JavaScript — A Step-by-Step Guide

Mate Marschalko
7 min readNov 18, 2024

Ever since I started building my smart home with Apple HomeKit, I dreamed of having a truly smart voice assistant to control it. But in a world full of advanced Large Language Models like ChatGPT and Claude, Apple’s Siri just doesn’t measure up.

Even with the new AI-powered Siri on the horizon, it’s clear it won’t be as smart as we’d hoped. Conversations will remain mostly question-response based, far from the natural, flowing interactions you can have with ChatGPT.

Rather than just complain about it, I decided to take matters into my own hands and built the World’s Smartest Home Assistant:

The assistant integrates OpenAI’s brand new Realtime API enabling Advanced Voice Mode with Apple Shortcuts and a custom Node.js server to interact with various smart devices. It can:

  • Free flowing conversation with advanced voice
  • Switch lights on and off and tell their switch state
  • See and interpret CCTV camera…

--

--

Mate Marschalko
Mate Marschalko

Written by Mate Marschalko

Senior Creative Developer, Generative AI, Electronics with over 15 years experience | JavaScript, HTML, CSS

No responses yet