Latest / CyberSecurity Summary / Geek House: 10 Hardware Hacking Projects for Around Home (ExtremeTech)
Transcript
- 0:00Speaker 1: Welcome back to the deep dive, especially to you the learner.
- 0:03Speaker 1: You know, if you're looking to shortcut the learning curve
- 0:05Speaker 1: of home automation and hardware hacking, you are in exactly
- 0:10Speaker 1: the right place.
- 0:11Speaker 2: Yeah. Absolutely, We've got a really fun one today.
- 0:13Speaker 1: We do because I want you to imagine looking at
- 0:16Speaker 1: the walls of your living room right now. You know,
- 0:19Speaker 1: you see drywall, you see paint, maybe a few standard
- 0:21Speaker 1: plastic power outlets. It all looks so, I don't know, static.
- 0:28Speaker 2: Right, incredibly ordinary, exactly.
- 0:30Speaker 1: But what if those plain copper wires inside the walls,
- 0:34Speaker 1: like the ones meant to just blindly pump raw electricity,
- 0:37Speaker 1: What if they're actually a hidden digital network, just waiting
- 0:41Speaker 1: for you to take control.
- 0:42Speaker 2: It really completely shifts how you view the physical structure
- 0:44Speaker 2: you live in. I mean, you stop seeing a house
- 0:47Speaker 2: and you start seeing this enormous programmable machine.
- 0:50Speaker 1: Yeah, and today we are pulling back that drywall to
- 0:53Speaker 1: explore this hidden network. We're getting into the mechanics of
- 0:57Speaker 1: home automation by looking at excerpts from the book geek
- 0:59Speaker 1: House Ten hardware Hacking Projects for a Round Home by
- 1:03Speaker 1: Barry and Marcilla Press.
- 1:05Speaker 2: It's such a great source.
- 1:06Speaker 1: It is. Specifically, we are focusing on a section called
- 1:10Speaker 1: X ten Under the Hood.
- 1:11Speaker 2: Yeah. It's an incredible guy for anyone who wants to
- 1:14Speaker 2: understand not just you know that their house can be automated,
- 1:16Speaker 2: but exactly how that automation physically functions behind the scenes.
- 1:20Speaker 1: Right, Okay, let's unpack this because the core premise the
- 1:24Speaker 1: authors lay out here is brilliant. They want to help
- 1:27Speaker 1: you take a boring, conventional house and turn it into
- 1:29Speaker 1: a custom built geek.
- 1:31Speaker 2: House minion, a minion that does your bidding.
- 1:33Speaker 1: I love that, right, But before we get anywhere near
- 1:37Speaker 1: the actual hardware, we have to issue a very serious,
- 1:41Speaker 1: very crucial safety disclaimer. We are talking about hacking the
- 1:45Speaker 1: actual electrical wiring of a house.
- 1:48Speaker 2: Yeah, and that really cannot be overstated. Powerline control devices
- 1:51Speaker 2: operate on hazardous voltages, lethal voltage. Literally, we're talking about
- 1:54Speaker 2: one hundred and twenty to two hundred and forty volts
- 1:56Speaker 2: of alternating current. If you do not know how to
- 1:59Speaker 2: safely work with live home wiring, you need to stick
- 2:02Speaker 2: strictly to the plug in modules exactly because touching the
- 2:05Speaker 2: wrong wire at the wrong time isn't just a shock hazard,
- 2:08Speaker 2: it can literally kill you.
- 2:09Speaker 1: So keeping that very real physical danger in mind, we
- 2:14Speaker 1: have a massive engineering puzzle here. How does this technology
- 2:18Speaker 1: actually transmit a delicate digital message through copper wires that
- 2:22Speaker 1: were let's face it only ever built to carry raw lethal.
- 2:26Speaker 2: Power, right, It's not a data cable, no.
- 2:28Speaker 1: So to understand this we have to look at the
- 2:31Speaker 1: foundational level of what engineers call the ISO seven layer
- 2:35Speaker 1: communications model, which is essentially the physical layer.
- 2:38Speaker 2: Yeah, the physical layer's layer one. Before you can get
- 2:40Speaker 2: two computers to talk, you need a framework that separates
- 2:43Speaker 2: the physical reality of the wire from the grammar of
- 2:47Speaker 2: the actual message.
- 2:48Speaker 1: Right. The physical layer doesn't care what the message means
- 2:50Speaker 1: at all.
- 2:51Speaker 2: Not even a little bit. It's strictly about the physics
- 2:53Speaker 2: of moving a bit of information, a single one or
- 2:55Speaker 2: a zero, from point A to point B.
- 2:58Speaker 1: And the challenge for the creators of the X ten
- 2:59Speaker 1: pro was doing this reliably using cheap electronics over an
- 3:03Speaker 1: electrical grid that was never designed to carry data. So
- 3:06Speaker 1: their solution was to literally piggyback on the alternating current.
- 3:10Speaker 2: Exactly in North America, the power grid operates at sixty hertz.
- 3:13Speaker 1: Okay, so that means.
- 3:14Speaker 2: That means the electrical current isn't just flowing constantly like
- 3:18Speaker 2: water in a pipe. It's alternating. It's surging back and
- 3:21Speaker 2: forth sixty times every single second. It's this massive rhythmic
- 3:25Speaker 2: wave of energy.
- 3:26Speaker 1: And the XTEN system uses that surging sixty hrtz wave
- 3:31Speaker 1: as its transportation vehicle. Like whenever it wants to send
- 3:33Speaker 1: a one bit, it transmits a one hundred and twenty
- 3:36Speaker 1: kilohertz tone, which is basically just a very high pitched
- 3:39Speaker 1: electronic squeal.
- 3:40Speaker 2: Yeah, tiny squeal, and it blasts.
- 3:42Speaker 1: That tone into the wire for a tiny one millisecond burst.
- 3:46Speaker 1: So the physical presence of that high frequency tone equals
- 3:49Speaker 1: a one, and the absolute absence of the tone equals
- 3:52Speaker 1: a zero.
- 3:52Speaker 2: But the real genius here isn't the tone itself, it's
- 3:55Speaker 2: exactly when the system decides to send that burst, the
- 3:58Speaker 2: timing right the timing, It uses a mechanism called zero crossing.
- 4:02Speaker 2: As that massive sixty herds alternating current rhythmically rises and falls,
- 4:07Speaker 2: it constantly crosses the zero voltage point in the middle.
- 4:10Speaker 1: Because it's going from positive to negative exactly.
- 4:12Speaker 2: So the X ten transmitter waits for that exact quiet moment, specifically,
- 4:18Speaker 2: it waits for the rising line voltage to cross zero,
- 4:21Speaker 2: and it fires its one millisecond tone burst within two
- 4:24Speaker 2: hundred microseconds of that exact crossing.
- 4:26Speaker 1: Wow, that is just so elegant. And then right after that,
- 4:29Speaker 1: just to be sure the bit wasn't I don't know,
- 4:31Speaker 1: mangled by some random spark in the wire, it does
- 4:34Speaker 1: a built in error check.
- 4:35Speaker 2: Yeah, the inverse rule right on.
- 4:37Speaker 1: The very next half of the wave, when the voltage
- 4:39Speaker 1: crosses zero on the way down, it sends the exact
- 4:42Speaker 1: inverse or complement of the bit. So if it blasted
- 4:44Speaker 1: the tone to say one on the way up, it
- 4:47Speaker 1: guarantees a moment of silence to say zero on the.
- 4:49Speaker 2: Way down, precisely. Now, that inverse rule doesn't magically fix
- 4:53Speaker 2: errors if they happen, but it's a brilliant diagnostic tool. Yes,
- 4:56Speaker 2: so well, let's the receiving lamp or switch immediately. I
- 5:00Speaker 2: know if a bit got corrupted in transit, if it sees, say,
- 5:02Speaker 2: two tones back to back, it knows the rule was
- 5:05Speaker 2: broken and the data is just garbage.
- 5:07Speaker 1: I picture the whole thing like an extreme sport, you know,
- 5:10Speaker 1: like you've got this massive, surging, lethal sixty hertze electrical
- 5:14Speaker 1: ocean wave that could easily crush you, oh for sure.
- 5:17Speaker 1: And the X ten system is trying to perfectly surf
- 5:20Speaker 1: a tiny one hundred and twenty killer hertz ripple right
- 5:23Speaker 1: on the lip of that wave exactly at the moment
- 5:26Speaker 1: it crests the zero line.
- 5:27Speaker 2: That's a really good analogyh.
- 5:29Speaker 1: Wait, if I run the math on that you're telling me,
- 5:31Speaker 1: it sends exactly one bit of data perhaf cycle of
- 5:34Speaker 1: the PowerWave. Yes, at sixty herdz. That means the raw
- 5:37Speaker 1: transmission speed is a mere sixty bits per second. Isn't
- 5:41Speaker 1: that incredibly slow for a computer. I mean, a standard
- 5:44Speaker 1: dial up modem from the nineties was thousands of times
- 5:47Speaker 1: faster than that.
- 5:48Speaker 2: It is slow. But what's fascinating here is that this
- 5:51Speaker 2: agonizingly slow speed isn't a mistake. It is a highly
- 5:55Speaker 2: deliberate engineering trade off.
- 5:56Speaker 1: Wait, really deliberately slow.
- 5:59Speaker 2: Yeah, because in any digital communication network, timing is everything. Usually,
- 6:03Speaker 2: microchips need complex, expensive internal quartz clocks to keep their
- 6:07Speaker 2: signals perfectly synchronized with each other. Right, But by tying
- 6:10Speaker 2: the data bursts strictly to the physical zero crossings of
- 6:13Speaker 2: the AC power line, the X ten devices don't need
- 6:17Speaker 2: to generate their own timing.
- 6:18Speaker 1: Oh, I see the sixty hertz power grid itself, like
- 6:22Speaker 1: the literal hum of the utility company, acts as a massive,
- 6:26Speaker 1: free and incredibly precise clock for every single device in
- 6:30Speaker 1: the house.
- 6:31Speaker 2: Exactly. They essentially outsource the system's internal clock to the
- 6:35Speaker 2: power company, and that brilliant shortcut meant they could strip
- 6:38Speaker 2: the expensive timing components out of the hardware, which keeps
- 6:42Speaker 2: the cost of the receivers incredibly low.
- 6:45Speaker 1: That is clever, but I mean it completely shifts the burden. Right.
- 6:49Speaker 1: If your transmission speed is locked into glacial sixty bits
- 6:51Speaker 1: per second, you cannot afford long chatty messages no one
- 6:55Speaker 1: at all. Every single microsecond is precious real estate. So
- 6:58Speaker 1: how does it format the data so the receiver understands
- 7:01Speaker 1: it without getting confused?
- 7:03Speaker 2: So that moves us up a step in the ISO model,
- 7:05Speaker 2: straight into the link and presentation layers. If the physical
- 7:08Speaker 2: layer is the raw sound of a voice, the link
- 7:10Speaker 2: layer is the grammar.
- 7:11Speaker 1: The stuttering grammar. As we'll see right.
- 7:13Speaker 2: It dictates how you frame the messages. So a listening
- 7:16Speaker 2: outlet knows exactly when a command is starting and stopping,
- 7:19Speaker 2: and X ten handles this using a very specific start code,
- 7:22Speaker 2: which is the sequence one one zero, so three.
- 7:26Speaker 1: Tone bursts followed by silence exactly. But wait a second.
- 7:29Speaker 1: If the start code is one one zero, that means
- 7:33Speaker 1: the first two cycles are sending a one followed immediately
- 7:36Speaker 1: by another one. But the physical layer rules we just
- 7:39Speaker 1: talked about absolutely demand that every bit is followed by
- 7:43Speaker 1: its exact inverse. If you send a one on the
- 7:46Speaker 1: rising wave, you must send a zero on the falling wave.
- 7:49Speaker 2: You're exactly right, and that is the absolute beauty of
- 7:52Speaker 2: the start code. The first two cycles of that sequence
- 7:55Speaker 2: intentionally violate the protocol's own foundational rule.
- 7:58Speaker 1: Oh wow, they make their own rule on purpose.
- 8:01Speaker 2: Yes, they are mathematically invalid sequences. In engineering, we call
- 8:05Speaker 2: this out of band signaling.
- 8:07Speaker 1: Because it's impossible for actual valid data to ever accidentally
- 8:11Speaker 1: generate that pattern.
- 8:12Speaker 2: Exactly, because those first bits purposefully break the laws of
- 8:15Speaker 2: the physical layer, the receiving device instantly knows, without a
- 8:19Speaker 2: shadow of a doubt that it isn't looking at random
- 8:21Speaker 2: electrical noise and it isn't looking at regular data. It's
- 8:24Speaker 2: like a flare in the sky exactly. It's a guaranteed
- 8:27Speaker 2: flare that says a new message is starting right now.
- 8:30Speaker 2: It prevents the receiver from mistaking a random fragment of
- 8:33Speaker 2: a passing message for the start of a command.
- 8:35Speaker 1: Okay, so the start code flashes that signal, the outlet
- 8:39Speaker 1: snaps to attention. Logically, once it's listening, you'd have to
- 8:43Speaker 1: tell it two things, right, who you're talking to and
- 8:45Speaker 1: what you want it to do.
- 8:47Speaker 2: That's exactly how it's structured. Immediately following that start code,
- 8:50Speaker 2: the system transmits exactly nine bits of data, just nine bits,
- 8:54Speaker 2: just nine. The first four bits represent the house code,
- 8:58Speaker 2: which is assign a letter from the next five bits
- 9:02Speaker 2: represent either the key code, which is a number from
- 9:05Speaker 2: one to sixteen targeting a specific lamp, or they represent
- 9:09Speaker 2: a function.
- 9:10Speaker 1: Code, and the function code is the actual action like on,
- 9:12Speaker 1: off or dim. But because you only have nine bits
- 9:16Speaker 1: to work with, you can't fit the who and the
- 9:18Speaker 1: what in the same block, Like you can send lamp
- 9:21Speaker 1: B twelve or you can send B turn on, but
- 9:23Speaker 1: you can't send them together. So how do you build
- 9:25Speaker 1: a full command out of this? Do you just chain them?
- 9:27Speaker 2: You do, but the reality of sending data over a
- 9:30Speaker 2: power line makes it much clunkier than just chaining them.
- 9:34Speaker 2: The electrical grid is so inherently noisy. The protocol demands
- 9:37Speaker 2: extreme redundancy to ensure the message survives.
- 9:40Speaker 1: Okay, so what does that look like.
- 9:41Speaker 2: You don't just transmit the address and then the command.
- 9:44Speaker 2: The rules state that every single message block must be
- 9:47Speaker 2: transmitted twice back to back with no gaps. Wow, And
- 9:50Speaker 2: then you have to leave a mandatory three cycle gap
- 9:53Speaker 2: of empty silence before you can send the next part.
- 9:55Speaker 1: Okay, so the final instruction is basically a highly redundant
- 9:58Speaker 1: stutter to turn on one light. It's not sending B
- 10:01Speaker 1: twelve on. It's literally broadcasting B twelve B twelve long
- 10:06Speaker 1: gap beyond ye on.
- 10:08Speaker 2: Yes, it requires at least four separate message blocks to
- 10:11Speaker 2: complete one single functional command.
- 10:13Speaker 1: And at sixty bits per second, that actually takes a
- 10:15Speaker 1: noticeable fraction of a second.
- 10:17Speaker 2: It does. And the downside is that if any single
- 10:20Speaker 2: piece of that four part transmission gets swallowed by electrical noise,
- 10:24Speaker 2: the receiving lamp might flicker erratically, or it might just
- 10:27Speaker 2: ignore you entirely.
- 10:28Speaker 1: Just to put this in perspective for everyone listening, imagine
- 10:32Speaker 1: trying to type an urgent email but your keyboard physically
- 10:36Speaker 1: restricts you to typing one single letter per second sounds awful,
- 10:40Speaker 1: It gets worse, and the rules of the email program
- 10:43Speaker 1: state you have to type the recipient's entire name twice,
- 10:47Speaker 1: pause for three seconds, and then type the actual body
- 10:50Speaker 1: of the message twice. That is the agonizing, stuttering digital
- 10:55Speaker 1: reality this protocol lives in.
- 10:57Speaker 2: It is slow, and the grammar is incredibly rich, but
- 11:00Speaker 2: it had to be designed that way because the environment
- 11:02Speaker 2: it was deployed in is outright hostile.
- 11:04Speaker 1: Which leads right into the next major hurdle. We have
- 11:06Speaker 1: this rigidly structured grammar intentionally rule breaking, star codes, massive repetition.
- 11:12Speaker 1: So why do these X ten signals still sometimes just vanish?
- 11:16Speaker 2: Why do you press the button and nothing happens exactly?
- 11:18Speaker 1: Why does the lamp in the bedroom do absolutely nothing?
- 11:20Speaker 1: What's because the actual physical copper wiring of your house
- 11:23Speaker 1: is essentially an obstacle.
- 11:24Speaker 2: Course it is an incredibly harsh environment for a delicate
- 11:28Speaker 2: one hundred and twenty killerhertz data signal, and the first
- 11:32Speaker 2: major physical obstacle is a house's power transformer itself, the
- 11:36Speaker 2: one outside well. The high voltage power coming from the
- 11:39Speaker 2: utility pole comes into your breaker panel, and then it
- 11:42Speaker 2: gets split into two separate one hundred and twenty volt rails.
- 11:45Speaker 1: Right, So half the circuits in your house draw from
- 11:47Speaker 1: one rail and the other have draw from.
- 11:49Speaker 2: The other rail exactly, and the power transformer sitting between
- 11:52Speaker 2: those two rails is highly efficient at passing that raw
- 11:56Speaker 2: sixty hertz power. But to the tiny high frequency X
- 12:00Speaker 2: ten signal, that transformer behaves completely differently.
- 12:03Speaker 1: It blocks it.
- 12:04Speaker 2: Yeah, it has what engineers call high impedance to that
- 12:08Speaker 2: specific frequency.
- 12:09Speaker 1: Let me clarify that term for a second. Impedance is
- 12:12Speaker 1: essentially electrical resistance. That change is based on the frequency
- 12:15Speaker 1: of the wave.
- 12:16Speaker 2: Correct.
- 12:16Speaker 1: So to the massive sixty herz power wave, the transformer
- 12:19Speaker 1: looks like a wide open highway, but to the delicate
- 12:22Speaker 1: one hundred and twenty kiloberts data tone, that exact same
- 12:25Speaker 1: transformer suddenly acts like a thick par wall.
- 12:28Speaker 2: That's a perfect analogy. The signal simply cannot pass easily
- 12:31Speaker 2: from one side of your breaker panel to the other.
- 12:34Speaker 2: If you plug a transmitter into an outlet on rail
- 12:36Speaker 2: A and the lamp is on rail B, the signal
- 12:39Speaker 2: might degrade so severely bouncing against that brick wall that
- 12:42Speaker 2: the lamp never even hears the start code.
- 12:45Speaker 1: So how do you fix that.
- 12:46Speaker 2: You basically have to build a detour. You go into
- 12:48Speaker 2: the breaker panel and install a coupler or a repeater.
- 12:51Speaker 2: It catches the signal on one rail bypasses the transformer
- 12:55Speaker 2: entirely and shuttles it directly over to the other rail.
- 12:57Speaker 1: Okay, but even once you build that bridge, the eye
- 13:00Speaker 1: obstacles don't stop because ironically, modern electronics are actually the
- 13:04Speaker 1: natural predators of this data.
- 13:06Speaker 2: Oh this is one of the biggest headaches in home automation.
- 13:08Speaker 2: Think about switching power supplies.
- 13:10Speaker 1: Like the power bricks for laptops.
- 13:12Speaker 2: Yeah, the power bricks on your computer, your flat screen TV,
- 13:15Speaker 2: basically any modern digital device. Inside those power supplies are
- 13:19Speaker 2: capacitors designed to smooth out and filter the electrical power.
- 13:23Speaker 2: But to a high frequency one hundred and twenty Killerherz signal,
- 13:27Speaker 2: those specific capacitors act as a zero impedance black hole.
- 13:31Speaker 1: Wait, a black hole, meaning there is literally zero resistance.
- 13:35Speaker 1: The signal just falls right in.
- 13:37Speaker 2: It completely eats the signal. You could buy a brand
- 13:40Speaker 2: new flat screen TV, plug it into the wall, and
- 13:42Speaker 2: suddenly the automated lights in the living room completely stop
- 13:45Speaker 2: responding just.
- 13:46Speaker 1: Because the TV is physically swallowing the data tones right
- 13:49Speaker 1: out of the copper wiring.
- 13:50Speaker 2: It literally absorbs the signal before it can reach the lamp.
- 13:53Speaker 1: That is wild. So what's the solution to solve that?
- 13:56Speaker 2: You have to deploy inline filters. You plug little box,
- 14:00Speaker 2: which is basically specialized inductor coil, into the wall, and
- 14:04Speaker 2: then plug the TV into the box.
- 14:05Speaker 1: Ah, so it acts like a nightclub bouncer. Yeah, it
- 14:08Speaker 1: happily lets the bulky sixty hertz power flow right into
- 14:11Speaker 1: the TV, but it violently blocks the one hundred and
- 14:14Speaker 1: twenty kill herds of data from entering the TV and
- 14:17Speaker 1: getting eaten.
- 14:17Speaker 2: Exactly. But wait, if your signal isn't getting blocked by
- 14:20Speaker 2: a transformer or absorbed by a television, it's probably getting
- 14:24Speaker 2: shouted over because.
- 14:25Speaker 1: The electrical grid inside a home is incredibly noisy, very noisy.
- 14:30Speaker 2: Fluorescent lamps, for instance, are terrible offenders. The electrical arc
- 14:35Speaker 2: inside a fluorescent tube actually dies and re strikes itself
- 14:38Speaker 2: at every single zero crossing of the power.
- 14:41Speaker 1: Line, which is the exact microsecond or x ten signal
- 14:45Speaker 1: is trying to quietly surf the wave.
- 14:46Speaker 2: Exactly, So every time that fluorescent tube sparks, it blasts
- 14:50Speaker 2: wide band high frequency noise all over the grid, and I.
- 14:54Speaker 1: Imagine large motors are just as bad.
- 14:56Speaker 2: Oh yeah, anything with commutators and brushes like a vacuum
- 15:00Speaker 2: cleaner or a blender, generates chaotic electrical spikes. And remember,
- 15:04Speaker 2: the wires don't stop at your house. Even your neighbor's
- 15:07Speaker 2: X ten system can bleed over through the shared utility
- 15:10Speaker 2: transformer and start randomly turning your kitchen lights on and off.
- 15:14Speaker 1: Here's where it gets really interesting. Think of the X
- 15:17Speaker 1: ten signal like someone trying to whisper a delicate secret
- 15:19Speaker 1: code across a massive echoing house. Okay, except while they'
- 15:23Speaker 1: whispering someone else is running a blender. Your television is
- 15:27Speaker 1: physically absorbing the sound waves out of the air, and
- 15:29Speaker 1: the guy next door is shouting his own secret codes
- 15:32Speaker 1: through the open window.
- 15:33Speaker 2: If we connect this to the bigger picture, this entire
- 15:36Speaker 2: struggle is the ultimate illustration of the clash between the messy,
- 15:41Speaker 2: chaotic analog real world and the rigid needs of digital communication. Right,
- 15:48Speaker 2: the digital world demands perfection, but the analog power grid
- 15:53Speaker 2: is a violent storm of energy. Making the two cooperate
- 15:56Speaker 2: takes a lot of engineering duct tape.
- 15:59Speaker 1: So let's say you've a play all that duct tape.
- 16:01Speaker 1: You've installed the repeaters, You've plugged in the bouncers to
- 16:03Speaker 1: protect the signal from your TV. You've waited for the
- 16:06Speaker 1: blender to stop, and your whispered digital signal actually arrives
- 16:09Speaker 1: safely at the physical wall switch.
- 16:11Speaker 2: You're still not out of the woods.
- 16:13Speaker 1: Right, because if you have installed the wrong hardware modules
- 16:16Speaker 1: behind the dry wall, you might actually destroy your expensive appliances.
- 16:20Speaker 2: This is a critical distinction the authors make. When you
- 16:23Speaker 2: buy these automated switches, you have to understand the fundamental
- 16:26Speaker 2: difference between simple appliance modules and dimmer switches.
- 16:30Speaker 1: Okay, break that down for us.
- 16:31Speaker 2: An appliance module is essentially a digital relay. It has
- 16:35Speaker 2: a physical mechanical contact inside it violently clicks on or
- 16:39Speaker 2: violently clicks off. It doesn't modify the electricity. It just
- 16:42Speaker 2: acts as a simple gait.
- 16:44Speaker 1: But dimmers are completely different animals, right.
- 16:46Speaker 2: Dimmers don't use mechanical clicks that use a solid state
- 16:49Speaker 2: semiconductor called triac, and a triac doesn't just lower the
- 16:52Speaker 2: voltage smoothly like turning down a water faucet.
- 16:55Speaker 1: It doesn't.
- 16:56Speaker 2: No, it actually violently chops off a portion of the
- 17:00Speaker 2: wave it waits a fraction of a second after the
- 17:03Speaker 2: zero crossing, and then suddenly slams the power on.
- 17:06Speaker 1: So it's rapidly chopping the electrical wave of one hundred
- 17:09Speaker 1: and twenty times a second.
- 17:10Speaker 2: Yes, and that constant truncation introduces chaotic new frequency components
- 17:15Speaker 2: into the power line.
- 17:16Speaker 1: But wait, if dimmers are that effective at controlling light levels,
- 17:20Speaker 1: why bother with basic on off switches at all? Wouldn't
- 17:23Speaker 1: it be easier to just use dimmers universally across the
- 17:26Speaker 1: whole house. Then you always have the option to dim
- 17:28Speaker 1: whatever is plugged in.
- 17:29Speaker 2: You really can't, and it comes entirely down to physics.
- 17:32Speaker 2: You have to understand the critical difference between resistive loads
- 17:35Speaker 2: and reactive loads. A standard old school incandescent light bulb
- 17:39Speaker 2: is a resistive load. It's literally just a piece of
- 17:42Speaker 2: wire that gets hot and glows. It doesn't care if
- 17:45Speaker 2: the power wave is smoothly rolling or violently chopped up.
- 17:48Speaker 2: It just takes whatever energy it gets and clows a
- 17:51Speaker 2: little less brightly.
- 17:52Speaker 1: So TRIACs work beautifully for pure resistive loads exactly.
- 17:56Speaker 2: But most modern devices plugged into our walls aren't just hot,
- 18:00Speaker 2: glowing wires.
- 18:01Speaker 1: Right, Things like fan motors, fluorescent tubes or high end
- 18:04Speaker 1: halogen lamps with internal magnetic transformers. Those are reactive loads, right.
- 18:09Speaker 2: Yes, they contain magnetic coils or capacitors that expect a smooth,
- 18:13Speaker 2: continuous wave of power to function.
- 18:15Speaker 1: So to put it, simply, feeding a chopped up wave
- 18:17Speaker 1: from a dimmer to a motor is like trying to
- 18:20Speaker 1: push a child on a swing by randomly and violently
- 18:23Speaker 1: jerking the chains instead of giving them smooth, rhythmic pushes.
- 18:26Speaker 2: That's exactly what happens. The magnetic field inside the motor
- 18:29Speaker 2: collapses and spikes unpredictably. The motor will stall, it'll violently overheat,
- 18:34Speaker 2: and eventually it will burn out. Wow, a transformer will
- 18:37Speaker 2: start buzzing loudly and destroy itself. You must only ever
- 18:41Speaker 2: use dimmer modules on pure resistive loads.
- 18:43Speaker 1: It sounds like a hardware hacker's absolute nightmare if you
- 18:46Speaker 1: don't know what you're doing.
- 18:47Speaker 2: It really is.
- 18:48Speaker 1: But if you follow the rules, if you meticulously map
- 18:51Speaker 1: out your resistive and reactive loads, if you filter your
- 18:55Speaker 1: TVs and bridge your transformer, you get the ultimate payoff. Yeah,
- 19:00Speaker 1: total automated control. That's the dream, And the book finishes
- 19:04Speaker 1: this deep dive by showing how you can give this
- 19:06Speaker 1: entire sprawling ecosystem a brain by tying it all together
- 19:09Speaker 1: with a PC.
- 19:10Speaker 2: Right, Because the ultimate goal isn't just to use a
- 19:12Speaker 2: remote control, it's to automate. And to do that you
- 19:14Speaker 2: use a computer interface controller like the X ten cmlven.
- 19:17Speaker 1: A and that connects to the computer via an RS
- 19:19Speaker 1: two thirty two serial port.
- 19:21Speaker 2: Right, Yeah, that classic deeply reliable multipin connector. It acts
- 19:25Speaker 2: as a translator. The PC sends complex logic through the
- 19:28Speaker 2: serial port into the controller, and the controller translates those
- 19:31Speaker 2: software commands into the tiny one hundred and twenty killerhertz
- 19:34Speaker 2: power line, whispers that the wall outlets understand.
- 19:37Speaker 1: And once your PC is actively talking to your house wiring,
- 19:41Speaker 1: the possibilities are wild. The authors detail a project using
- 19:45Speaker 1: a piece of software called homes here. And you aren't
- 19:48Speaker 1: just telling the software to turn the lights on at
- 19:50Speaker 1: six pm.
- 19:50Speaker 2: No, you actually punch your exact geographic latitude and longitude
- 19:54Speaker 2: coordinates into the computer.
- 19:56Speaker 1: And based on your physical location on the globe, the
- 19:58Speaker 1: PC mathematically calculate it's the exact minute of the sun
- 20:02Speaker 1: rising and setting for your specific.
- 20:04Speaker 2: House, automatically updating every single day of the year as
- 20:07Speaker 2: the seasons.
- 20:07Speaker 1: Change, which is so cool. It uses the network to
- 20:10Speaker 1: automatically trigger your outdoor lights precisely at dusk and off
- 20:14Speaker 1: at dawn. But it gets even better. Oh so, because
- 20:18Speaker 1: a perfectly timed house it triggers at the exact same
- 20:21Speaker 1: minute every day, is a dead giveaway to a burglar
- 20:24Speaker 1: watching from the street. They know it's just a dumb timer.
- 20:27Speaker 1: So the home sier software injects mathematical randomness into the schedule.
- 20:31Speaker 2: Oh that's smart.
- 20:31Speaker 1: Yeah, it might decide to turn the ports light on
- 20:34Speaker 1: twelve minutes early on a Tuesday and six minutes late
- 20:36Speaker 1: on a Wednesday. It might turn the living room light
- 20:39Speaker 1: on for twenty minutes at two am, just to make
- 20:42Speaker 1: it look like someone got up for a glass of water.
- 20:44Speaker 2: It perfectly bridges the gap between complex software logic and
- 20:47Speaker 2: physical hardware action. Your house becomes this dynamic, unpredictable entity
- 20:52Speaker 2: that looks completely lived in, even when you are a
- 20:55Speaker 2: thousand miles away on vacation.
- 20:57Speaker 1: It is an incredible technical time journey. I mean, think
- 21:01Speaker 1: about the path we just walked. We started with the
- 21:03Speaker 1: raw danger of hacking lethal AC voltage. We dove into
- 21:07Speaker 1: them and the reward.
- 21:08Speaker 2: For understanding all of that is a home that acts
- 21:11Speaker 2: autonomously on your behalf. When you take the time to
- 21:14Speaker 2: look under the hood, the mundane infrastructure we take for
- 21:17Speaker 2: granted really becomes extraordinary.
- 21:19Speaker 1: So what does this all mean. It means your home
- 21:22Speaker 1: is no longer just a static shelter of dry wall
- 21:25Speaker 1: and copper wire. When you understand the layers of communication
- 21:28Speaker 1: running beneath it, your house becomes a dynamic, programmable minion waiting.
- 21:33Speaker 2: For your instructions beautifully set, which.
- 21:35Speaker 1: Leads me with one final thought, freedom all over today.
- 21:38Speaker 1: If our old, crude, chaotic analog power lines can successfully
- 21:42Speaker 1: harbor hidden digital messages to completely automate a house, what
- 21:47Speaker 1: other invisible, everyday physical infrastructures around you right now might
- 21:51Speaker 1: be secretly doubling as vast undiscovered communication networks. Keep your
- 21:55Speaker 1: eyes open.