Member-only story

ChatGPT in an iOS Shortcut — Worlds Smartest HomeKit Voice Assistant

Mate Marschalko
8 min readJan 18, 2023

Ever since I tried ChatGPT and GPT-3, everything else feels painfully dumb and useless: Siri, Alexa, Google Home and all other “smart” assistants.

Here’s the shocking thing: you can build your own in less than an hour!

My other AI Assistant

To demonstrate how you can use assistants like this for other use-cases, I created an AI Car Mechanic you can discuss your car related issues with:

Background

I have a fully built HomeKit smart home with dozens of lights, thermostats, underfloor heating, ventilation unit, cameras and a lot more, so I thought it would be great if I could replace Siri with GPT-3.

I asked GPT-3 to pretend to be the smart brain of my house, carefully explained what it can access around the house and how to respond to my requests.

I explained all this in plain English…

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Mate Marschalko
Mate Marschalko

Written by Mate Marschalko

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

Responses (39)

Write a response

This is super cool! I followed your tutorial and got it working.
Something I noticed is that the value response from OpenAI for lights can be "light", "full", "bright", "100" and more, but the condition in your image is "on". I fixed this by…

Give me an AI that will wash window, scrub floors and clean bathrooms, then I would have time to study, contemplate, and write myself.

Have you thought about fine-tuning a model instead of using such a long prompt? https://beta.openai.com/docs/guides/fine-tuning
If fine-tuning worked, the prompt/feature set could be even longer.
Responses from fine-tuned models currently cost 6x the…