Fireship · @fireship
I built a smarter smart home
Uploaded May 10, 2023 · Length 6:56
Summary
Building a private and secure smart home from scratch using Home Assistant and integrating it with Open AI for a glimpse into a Next Generation smart home.
- home automation
- smart home
- home assistant
- open ai
- iot devices
- bluetooth low energy
- esp32 microcontroller
- raspberry pi
- python
- yaml
- blueprints
- automations
- scenes
- scripts
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
today I'm going to build a private and
- 0:02
secure smart home from scratch then
- 0:03
stupidly give up my privacy by letting
- 0:05
gpt4 in the front door here's what
- 0:07
almost every day of my life looks like
- 0:08
wake up at 5am turn on my lights
- 0:10
microwave a breakfast Hot Pocket check
- 0:12
on the baby turn on computer and wait 10
- 0:14
minutes for Windows to update write some
- 0:16
code make a YouTube video microwave a
- 0:17
lean pocket open the door for friendly
- 0:19
strangers join a new religion dishes
- 0:22
it's a beautiful life but highly
- 0:25
inefficient every time I turn on a light
- 0:26
it takes 500 000 microseconds out of my
- 0:29
day over the course of a year that's
- 0:30
like two weeks spent just turning on
- 0:32
lights luckily there's a free and open
- 0:34
source tool called home assistant that
- 0:36
can automate and control all the
- 0:37
technology in our homes in today's video
- 0:39
we'll build a smart home from scratch
- 0:41
and look at all the crazy things people
- 0:42
do with home automation but most
- 0:44
importantly we'll keep all the data
- 0:45
private to your home network which means
- 0:47
hackers and feds can't spy on you then
- 0:49
we'll completely break that rule by
- 0:51
giving our data to open AI to integrate
- 0:52
it with chatgpt giving us a glimpse into
- 0:55
what a Next Generation smart home might
- 0:56
look like but first we've got a huge
- 0:58
giveaway thanks to our awesome spawn
- 0:59
monster Bridge they're a startup that's
- 1:01
building a protocol that enables iot
- 1:03
devices powered by bluetooth low energy
- 1:05
to Leverage The Cloud what's awesome
- 1:07
though is that these smart devices don't
- 1:09
need to be fitted with cellular or Wi-Fi
- 1:11
connectivity instead they use mobile
- 1:12
apps as an internet gateway to
- 1:14
effectively bridge data between the
- 1:16
internet and the iot device and that's
- 1:18
huge because it means you can now build
- 1:19
iot products without the need for
- 1:21
cellular or Wi-Fi on your Hardware I've
- 1:23
been playing around with it myself with
- 1:25
an esp32 microcontroller and now you can
- 1:27
too because bridge is shipping out
- 1:29
hundreds of these boards for free right
- 1:31
now once you have one you just installed
- 1:32
a firmware download the demo app and
- 1:34
then you can start securely storing
- 1:36
interactions like inputs from a sensor
- 1:38
on the back end Ledger as part of the
- 1:40
bridge protocol and if you manage to
- 1:41
build something cool you could even
- 1:42
connect it to your home assistant which
- 1:44
we're going to set up right now but
- 1:46
first what is home assistant exactly
- 1:47
it's a free and open source project
- 1:49
written in Python that allows you to
- 1:51
control all the technology in your home
- 1:53
locally where your privacy can be
- 1:54
protected it runs a UI on your local
- 1:56
network where you can manage all these
- 1:58
devices and automate them based on
- 1:59
different events that happen in the


