TRANSCRIPT 🔗
WEBVTT
00:05.097 --> 00:07.220
[SPEAKER_02]: Hello and welcome to the home Mrs. and podcast.
00:07.420 --> 00:09.884
[SPEAKER_02]: My name is Phil and with me today I've got Rohan Hager going mate.
00:10.084 --> 00:10.945
[SPEAKER_00]: Hey good how are you?
00:11.747 --> 00:14.591
[SPEAKER_02]: Yeah very good thank you and today we're also joined by Adam.
00:14.731 --> 00:15.672
[SPEAKER_02]: Welcome to the podcast mate.
00:16.013 --> 00:16.613
[SPEAKER_02]: Thanks for having me.
00:16.633 --> 00:17.354
[SPEAKER_02]: How are you going?
00:18.296 --> 00:18.997
[SPEAKER_02]: Very good thank you.
00:19.494 --> 00:24.095
[SPEAKER_02]: Before we get started though, here's a quick word from our sponsor, home Mrs. Link by Nabukasa.
00:24.856 --> 00:32.338
[SPEAKER_02]: If you've ever tried to set up remote access the hard way, dynamic DNS, reverse proxies, soft science certificates, Nabukasa is the easy button.
00:32.958 --> 00:36.679
[SPEAKER_02]: Sign up, flip a switch, done, and you can access your home Mrs.
00:36.739 --> 00:37.780
[SPEAKER_02]: Cent from anywhere.
00:38.460 --> 00:47.144
[SPEAKER_02]: What's more, you also get secure off-site backups, voice control with the Amazon Echo or Google Home Devices, and the ability to switch your DIY voice assistant.
00:47.684 --> 00:48.924
[SPEAKER_02]: And here's the part we love.
00:49.445 --> 00:54.547
[SPEAKER_02]: Your subscription pays the developers behind Home Assistant, esp home, and the open home foundation.
00:55.247 --> 00:58.068
[SPEAKER_02]: It's the best few dollars a month you'll spend on your smart home.
00:58.968 --> 01:03.670
[SPEAKER_02]: Start your 31-day trial today, just open your home assistant settings, go to the cloud page,
01:08.412 --> 01:15.216
[SPEAKER_02]: This episode is also sponsored by our friends at Apollo Automation, make us of open source smart home sensors, built for the home this isn't ecosystem.
01:16.096 --> 01:21.559
[SPEAKER_02]: The official ESP home starter kit is now available and it is the easiest entry into making your own sensors.
01:22.420 --> 01:26.142
[SPEAKER_02]: It is designed and built by the open home foundation and Apollo Automation.
01:26.942 --> 01:35.464
[SPEAKER_02]: Profits help fund the open home foundation, which owns and maintains home assistant, esp home, music assistant, and 250 other open-source projects.
01:36.245 --> 01:43.286
[SPEAKER_02]: While you're there, be sure to check out Apollo Automation'scast1, build for music assistant, and make anything with a flying input, a smart speaker.
01:44.247 --> 01:50.168
[SPEAKER_02]: If a deep into home assistant or just getting started, definitely check them out at ApolloAutomation.com.
01:51.609 --> 01:53.669
[SPEAKER_02]: Adam, thanks for joining on today with us.
01:56.610 --> 01:57.531
[SPEAKER_01]: Yes, in Sydney.
01:58.333 --> 01:58.693
[SPEAKER_02]: Nice.
01:59.615 --> 02:02.319
[SPEAKER_02]: How did you get into, as long as you journey to home automation?
02:03.440 --> 02:14.348
[SPEAKER_01]: Yeah, so I moved in with my wife into an apartment when we got married and I essentially wanted to automate my lights.
02:14.368 --> 02:22.735
[SPEAKER_01]: So I went down the, I guess, very noble path of Philips Hue bulbs started with one, started with two.
02:22.755 --> 02:30.340
[SPEAKER_01]: And then, you know, smaller two bedroom apartment, I think there would have been about maybe 10-down lights in total.
02:32.482 --> 02:48.522
[SPEAKER_01]: basically decked out the house with all the apartment with Zigbee downlights but then quickly came across the problem of how to keep them powered without people flicking the switches on and off which I think is a very common problem that people early on in their home automation.
02:49.403 --> 03:03.011
[SPEAKER_01]: journey come across so I went with the very very janky approach of just sticking a philips hue over the top of the physical switches which worked but was quite ugly.
03:03.992 --> 03:04.232
[SPEAKER_01]: So
03:04.932 --> 03:16.134
[SPEAKER_01]: Yeah, so I started with Phillips-U on its own, and then moved into a house, we bought a house, and we were lucky enough to be able to renovate it, a full gut renovation.
03:16.894 --> 03:20.955
[SPEAKER_01]: So as part of that, I said, I want to do it right from the start.
03:20.975 --> 03:31.977
[SPEAKER_01]: It's going to be a lot harder to retrofit this afterwards, so went from about 10 downlights to 65 downlights, and Phillips-U downlights are very expensive.
03:35.419 --> 03:37.240
[SPEAKER_01]: and they do the job.
03:37.600 --> 03:48.828
[SPEAKER_01]: So 65 downlights, but more importantly, rather than seeking Phillips use, which is over, the physical switch I wired in, shallies, into every single downlight.
03:49.208 --> 03:55.233
[SPEAKER_01]: And essentially put those switches into detached mode, which meant that the power was always on to the light bulbs.
03:56.454 --> 03:59.816
[SPEAKER_01]: And Homer's system just responded to the signal of the light switch
04:03.485 --> 04:16.992
[SPEAKER_02]: So, there, uh, Philips you, like, you imagine there that you've got the, the music people up that are more affordable and they do the job, would you write the quality from them as high as Philips you?
04:17.092 --> 04:27.537
[SPEAKER_02]: I know I've always had a lot of respect Philips you bulbs and then going to another ZB branded bulb, I've been like, oh, it's just, I realize why Philips you command such premium, right?
04:27.577 --> 04:28.777
[SPEAKER_02]: The colors just not there, the
04:30.375 --> 04:36.396
[SPEAKER_01]: Yeah, I'd say the biggest thing that I've noticed is just the connectivity, in a fairly large segment work.
04:36.617 --> 04:58.722
[SPEAKER_01]: They just randomly will drop off or there will be a bulb that is just on randomly in the middle of the night, which I think is probably a more of a function of scale, having so many bulbs in the house, it's gonna, you're gonna notice that a lot more versus if you
Load full transcript
would have maybe five to 10 bulbs, a smaller network, I think it wouldn't be as much of a problem, but definitely there's
04:59.282 --> 05:04.867
[SPEAKER_01]: There's been some issues that are just very, very small nitpicky problems that haven't been to problematic.
05:05.228 --> 05:21.182
[SPEAKER_02]: You mentioned there that also you decided to keep like increase the number of downlights, but also keep each downlight individually controllable when you have the ability to put smarts, which is in what was the decision behind going smarts, which versus smart bulb control.
05:21.728 --> 05:23.530
[SPEAKER_01]: Yeah, so there's a bit of regrets there.
05:23.610 --> 05:32.380
[SPEAKER_01]: So I think for the most part, if I had my time over, I'd not do the entire house with smart bulbs.
05:32.600 --> 05:38.206
[SPEAKER_01]: Like my garage does not need the ability to turn green and dimmed versus right here.
05:39.087 --> 06:00.412
[SPEAKER_01]: So I think that's probably the big one is probably not as many, not as many bulbs, but where the Shelley doesn't come into play is obviously colour control as much, not so much the dimming side, but I think you know in the living areas the bedrooms, the bathrooms at three in the morning when you don't want to be blinded by a super bright light.
06:01.332 --> 06:02.693
[SPEAKER_01]: That's where they've come in really handy.
06:02.753 --> 06:16.184
[SPEAKER_01]: And obviously I've got two young children, they're um, you know, anything that can potentially brighten their room to full maximum brightness would definitely wake them up and and not make for a happy mom and dad.
06:17.244 --> 06:40.883
[SPEAKER_02]: I will say that the grass is always greener on the other side though, like when I bought our house and one of the first things I did was smart dim is behind every switch and make all the switches smart because we have downloads everywhere and I previously had similar to when you were renting, I had replaced all the old downloads with Zigbee downloads, I was like, you know what?
06:41.503 --> 06:42.324
[SPEAKER_02]: I'm sick and tired of this.
06:42.344 --> 07:01.121
[SPEAKER_02]: Like one randomly being left on, I just want to be able to control them at the wall, no janky controls, but there are sometimes you wish like, ah, it would be cool if I could have that down like on a different color to say like the bins are ready to go out or instead of having all that group of lights come on, maybe I just need to light over the fridge to come on in the middle of the night.
07:01.641 --> 07:03.423
[SPEAKER_02]: So yeah, that there's pros and cons to both.
07:03.603 --> 07:03.863
[SPEAKER_01]: I think.
07:03.883 --> 07:22.708
[SPEAKER_01]: So I guess to give you an example of something that I do with that, I have, so it's a bit of a silly automation, but whenever I'm on a work call or a call like this, I have the Home Assistant app on my Mac that is reading all of the computer sensors and one of the sensors I look at is whether the webcam is active.
07:23.288 --> 07:29.969
[SPEAKER_01]: And when the webcam's active, I have a single red bulb upstairs, so my wife and my kids know that I'm in a call, so they know that
07:33.230 --> 07:34.210
[SPEAKER_01]: Keep it down.
07:34.511 --> 07:35.131
[SPEAKER_01]: Exactly.
07:35.271 --> 07:35.811
[SPEAKER_01]: Exactly.
07:36.251 --> 07:39.372
[SPEAKER_01]: That's an example of a single bulb control.
07:40.192 --> 07:41.233
[SPEAKER_01]: But I have the best of both.
07:41.273 --> 07:56.538
[SPEAKER_01]: So I'm using Zigbee 10QTT and I have obviously the ability to control every individual bulb, but I have set up a whole host of Zigbee groups that the bulbs are members of, which I've found is pretty rock solid when it comes to
07:57.278 --> 07:58.199
[SPEAKER_01]: Keeping them in sync.
07:58.479 --> 08:12.049
[SPEAKER_01]: It's very rare that you get randomly only three lights turning on instead of like four in a group and the group does a much better job of say Sending of command to all four bulbs individually to turn on Yeah, I found the groups.
08:12.089 --> 08:21.356
[SPEAKER_02]: Yeah, that exact same reason right like it's amazing You could try and use the home of the group to do it and it stands them all individually and it just does one bulb misses But honestly be grouped.
08:21.576 --> 08:23.358
[SPEAKER_02]: Yeah, they they are rock solid
08:24.063 --> 08:38.745
[SPEAKER_00]: yeah it is it is fundamentally different right like it is it's sending a single command versus sending a bunch of commands and at that point it's you know you'll listen to that and say okay great and they all respond way way way better too like you said so
08:39.149 --> 08:45.852
[SPEAKER_02]: You mentioned there that you probably would change instead of doing zippy bulbs, you would do switches.
08:46.752 --> 08:54.235
[SPEAKER_02]: Would you have any other advice for someone that was thinking of starting with a home assistant or a journey and they're in a rough-in-stage in their house?
08:54.495 --> 08:54.815
[SPEAKER_00]: the moment?
08:55.096 --> 08:58.878
[SPEAKER_01]: Yeah, I mean, I think I'd probably suggest going with this implicit approach first.
08:58.959 --> 09:06.865
[SPEAKER_01]: I think it's starting by rewiring everyone of your switches in your house is a pretty chaotic way to start your automation journey.
09:08.466 --> 09:12.849
[SPEAKER_01]: But that said, I think the shellys are great devices, I haven't had any issues with them.
09:12.889 --> 09:15.111
[SPEAKER_01]: They are Wi-Fi, so there's that element.
09:15.411 --> 09:15.851
[SPEAKER_01]: I mean, I'm
09:16.732 --> 09:23.157
[SPEAKER_01]: a tech head I've got seven access points in my house so like Wi-Fi is not Wi-Fi coverage is not a problem.
09:24.598 --> 09:31.223
[SPEAKER_01]: You know for others that may not be the case so you know there's that element but just generally think about the areas where you do need that
09:31.983 --> 09:35.464
[SPEAKER_01]:
you know, the ZB functionality of lights and stop there.
09:36.584 --> 09:40.865
[SPEAKER_01]: For the rest, if you don't need it, then you know, there's no need to invest.
09:41.185 --> 09:46.906
[SPEAKER_00]: So you talked about, you know, you have a bunch of, obviously Wi-Fi relays and ZB lights and so on.
09:46.926 --> 09:59.008
[SPEAKER_00]: I was always kind of the two primary protocols you're sticking with, or do you have some matter in there, do you have some or matter of thread, matter of a Wi-Fi, whatever, or even, is that way of in there?
09:59.818 --> 10:04.401
[SPEAKER_01]: No, just though those two, Wi-Fi and Zippy have been pretty rock solid for me.
10:05.582 --> 10:09.244
[SPEAKER_01]: Yeah, I haven't really had a need to mix a match.
10:09.585 --> 10:14.007
[SPEAKER_01]: There isn't any device that I desperately want or need that isn't supported in those.
10:14.027 --> 10:16.489
[SPEAKER_01]: So I've largely gravitated towards one of those two.
10:16.849 --> 10:22.433
[SPEAKER_02]: With the lights being on Shelley and the down lights being on.
10:22.813 --> 10:24.895
[SPEAKER_02]: Sorry, the switches being on Shelley and the down lights being on Zippy.
10:25.495 --> 10:30.217
[SPEAKER_02]: Does that mean home Mrs. or ZB-Chempkichi is now a point of failure for those switches?
10:30.297 --> 10:35.359
[SPEAKER_02]: Like if some pushes the button, the lights won't switch off if the ZB-Chempkichi can't be sent.
10:36.499 --> 10:38.460
[SPEAKER_01]: So, kind of.
10:38.520 --> 10:41.121
[SPEAKER_01]: So, yeah, there's the element of if they lose power.
10:41.281 --> 10:43.382
[SPEAKER_01]: Obviously, there's nothing you can do about that.
10:47.184 --> 11:05.552
[SPEAKER_01]: point of failure though I have worked around so this is a common thing before I got a full house battery you know there'd be power outages and before you know before the power came back on our home assistant might go down so I did write an external script that switches all of the
11:06.592 --> 11:14.358
[SPEAKER_01]: from detached mode to normal switch mode, which then allows me to basically treat them as a standard light, right?
11:14.398 --> 11:19.982
[SPEAKER_01]: So if Home Assistant goes down, the automation outside of Home Assistant kicks in.
11:21.162 --> 11:31.350
[SPEAKER_01]: And that's just a really simple, like, bash script that runs on one of my servers and you have access to the physical switches as if they were just normal switches without the shell is there.
11:31.790 --> 11:34.892
[SPEAKER_01]: And then when Home Assistant comes back on, it's a single script run that returns
11:36.954 --> 11:51.425
[SPEAKER_01]: Because that was, you know, I led to that, having had that pain three or four times when home assistant was down because I was mucking around with some configuration and broke it and that was ultimately the solution I came up with.
11:51.985 --> 11:54.367
[SPEAKER_01]: It's not the most elegant but it does the job.
11:55.028 --> 11:55.228
[SPEAKER_02]: Yeah.
11:56.941 --> 11:58.342
[SPEAKER_02]: So what's the backup for the backup thing?
11:58.622 --> 12:02.743
[SPEAKER_02]: If that's server's not running, like I'm imagining a power goes out before we beat it back.
12:02.763 --> 12:05.244
[SPEAKER_02]: So your battery is drained, your power goes out.
12:05.785 --> 12:08.606
[SPEAKER_02]: Is that server, like what's the boot up time for that script to come online?
12:09.786 --> 12:15.909
[SPEAKER_01]: Ah, so the script will detect that there's a couple of layers here.
12:15.929 --> 12:17.589
[SPEAKER_01]: So there's the whole home battery.
12:18.170 --> 12:23.992
[SPEAKER_01]: My server rack has a UPS in it as well, which will signal that it's low battery.
12:24.112 --> 12:25.313
[SPEAKER_01]: And if it's low battery, then
12:26.793 --> 12:44.481
[SPEAKER_01]: it's about to get real so the script detects that there's a the UPS is low battery and it switches all of the light switches to switch mode but ultimately if the house is power goes out there's no light anyway so it's a it's a it's a mood point at that at that stage.
12:44.842 --> 12:53.786
[SPEAKER_00]: I was going to say have you looked at it the other way because I know the shell is rescriptable right so can you like have you looked at it as like hey let me push a script onto the the actual shelly relay
12:54.626 --> 12:59.947
[SPEAKER_00]: to say, you know, hey, is homelessness in dark, if not, then flip the.
13:00.887 --> 13:02.928
[SPEAKER_01]: I haven't looked at it at that way.
13:02.968 --> 13:11.830
[SPEAKER_01]: The only reason I would say I wouldn't do it that way is because the script is sort of the single, I guess, leader of whether it's succeeded or not.
13:11.910 --> 13:13.670
[SPEAKER_01]: So in one place, I run a script.
13:13.850 --> 13:20.492
[SPEAKER_01]: It goes, here's my 26 shellies and they all responded with 200 okay, so I'm happy and satisfied
13:22.172 --> 13:23.534
[SPEAKER_01]: flipping that to the reverse.
13:23.554 --> 13:34.909
[SPEAKER_01]: I'd have to then debug every single switch to see, did it run, didn't it run, which, you know, is kind of nice, but it also means if I change a script, I need to push that change to 26 devices.
13:34.970 --> 13:35.731
[SPEAKER_01]: So sure.
13:36.111 --> 13:37.333
[SPEAKER_01]: I've flipped it the other way.
13:38.134 --> 13:38.554
[SPEAKER_01]: Makes sense.
13:39.355 --> 13:46.061
[SPEAKER_02]: Now, most of our business are probably using home assistant OS or home assistant in a Docker container.
13:46.522 --> 13:47.863
[SPEAKER_02]: How are you running home assistant?
13:48.564 --> 13:53.908
[SPEAKER_01]: So, my journey in home assistant started in proxmox.
13:54.689 --> 14:00.575
[SPEAKER_01]: So, I had a single proxmox server that was running an LXE container.
14:00.595 --> 14:02.436
[SPEAKER_01]: So, I guess I'll prefix this with.
14:02.516 --> 14:03.577
[SPEAKER_01]: I've only ever run
14:04.438 --> 14:08.842
[SPEAKER_01]: Home Assistant docker container from the first day around at two today.
14:09.343 --> 14:22.936
[SPEAKER_01]: I've never run Home Assistant OS but I started with proxmox as my journey, my background is software engineer so I've been a software engineer for 15 years and a lot of my job has been working with docker.
14:23.577 --> 14:26.177
[SPEAKER_01]: working with servers, you know, cloud computing.
14:26.598 --> 14:37.700
[SPEAKER_01]: And for my home journey, I started with proxmox, single host running home assistant, Zigbee, all on the same host in separate LXE containers, in proxmox.
14:38.460 --> 14:41.900
[SPEAKER_01]: However, that single host had a motherboard failure and I lost everything.
14:42.040 --> 14:42.280
[SPEAKER_01]: I didn't
14:51.562 --> 15:01.345
[SPEAKER_01]: Wanting to learn more about Kubernetes because at work we were, you know, a AWS shop that was deploying all of our production workloads just onto straight EC2 nodes.
15:02.626 --> 15:08.228
[SPEAKER_01]: And there was a medium term journey at work to move to Kubernetes and I thought I wanted to get ahead of it.
15:08.308 --> 15:08.608
[SPEAKER_01]: Why not?
15:09.308 --> 15:12.169
[SPEAKER_01]: make my house a production system that I'm on call for.
15:13.509 --> 15:18.011
[SPEAKER_01]: So that's where the sort of journey started into running homocysteine on Kubernetes.
15:18.991 --> 15:27.874
[SPEAKER_01]: So I expanded from one to three nodes from three to five nodes running on bare metal with Kubernetes and I haven't looked back.
15:28.014 --> 15:29.794
[SPEAKER_01]: So homocysteine today is running
15:34.216 --> 15:47.461
[SPEAKER_01]: Zigbee to MQTT is running on that same cluster along with the MQTT broker and a couple of other sort of tangential projects that I run alongside it and one of the big
15:48.501 --> 16:04.310
[SPEAKER_01]: Challenges in moving from say a single sort of box that's running in your living room to a to a server that runs under the stairs in a server room is how do I get you know Zigbee coordinator reception for everywhere
16:05.150 --> 16:14.499
[SPEAKER_01]: So I moved from a USB-based ZIGB coordinator to an Ethernet power over Ethernet where the actual data signal is over Ethernet.
16:14.619 --> 16:24.829
[SPEAKER_01]: So I've got that running in my living room where all most of the devices are connecting to ZIGB to MQTT or my Kubernetes cluster over the network rather than over USB.
16:25.370 --> 16:26.311
[SPEAKER_01]: So there's no physical.
16:27.852 --> 16:30.173
[SPEAKER_01]: you know, dependency on the coordinator.
16:30.634 --> 16:37.117
[SPEAKER_02]: So this is something that I've struggled with thinking about doing like a multi-host deployment of home assistant, right?
16:37.297 --> 16:43.241
[SPEAKER_02]: Is that all of a sudden, now those physical radios, how do you fan them out, right?
16:43.401 --> 16:51.005
[SPEAKER_02]: And now it makes sense why using ZIP to MTT because you can have it directly integrated into home assistant, it's
16:55.307
--> 17:18.420
[SPEAKER_01]: have you had any issues with that in terms of trying to like you know one of the hosts going down or any like yeah I mean I think it's been a very bumpy journey over many years and part of that is is the learning experience of understanding how Kubernetes works and where it's drawbacks are and where it's strengths are but
17:19.040 --> 17:33.167
[SPEAKER_01]: largely, I'm at a at a point now where, you know, over those five nodes, I can schedule the home assistant pod on any of the nodes, the NQTT broker on any of the nodes, they don't have to be all on a single node.
17:33.848 --> 17:39.491
[SPEAKER_01]: And one of the great benefits of Kubernetes is, you know, it has, it handles all of the scheduling of where
17:40.451 --> 18:04.449
[SPEAKER_01]: pods land so I can pull the plug out from the host that's running home assistant and it will reschedule it onto a different host automatically within a couple of minutes and the way that that works is there's a storage layer across the cluster that is shared across all five nodes so whenever a home assistant writes to its local disk with a state or a configuration change it
18:07.972 --> 18:18.159
[SPEAKER_01]: that homosystem isn't necessarily tied to that one Kubernetes node if you were to take it offline or it were to die or, you know, 150 other reasons why the node stops working.
18:18.239 --> 18:23.903
[SPEAKER_01]: So that obviously getting to that point was a very significant learning journey.
18:24.144 --> 18:28.126
[SPEAKER_01]: And one fraught with, I guess, trial and error.
18:28.387 --> 18:28.567
[SPEAKER_01]: And,
18:29.647 --> 18:38.033
[SPEAKER_01]: light's not working at midnight, and you know, homosexuals just randomly going down because of completely unrelated networking problem in the cluster.
18:38.693 --> 18:43.917
[SPEAKER_01]: So yeah, I have a feeling some of your guests will not resonate with that approach as much as I've enjoyed it.
19:01.103 --> 19:06.629
[SPEAKER_02]: There is no, like it's spread over five nodes, but that doesn't mean there's five instances of homes running.
19:06.649 --> 19:19.863
[SPEAKER_02]: There's one instance of home, and it could be on any of those five nodes, and Kubernetes decides which one of those nodes has got at the time based on whatever has been determined to be the main one at the time.
19:20.284 --> 19:20.464
[SPEAKER_01]: Yeah.
19:21.053 --> 19:31.135
[SPEAKER_01]: It's basically, yeah, you tell Kubernetes, hey, I want to home a system pod and I expect it to have this much memory when it's started or need this much memory when it starts up.
19:31.975 --> 19:34.575
[SPEAKER_01]: And I don't want it to take more than this much memory, right?
19:34.756 --> 19:45.978
[SPEAKER_01]: And so it looks at your five nodes and says, all right, which is the best node right now for home assistant to land on and it will schedule it onto that node based off your memory requirements, as well as your CPU requirements.
19:46.938
--> 19:47.678
[SPEAKER_01]: Home assistant is
19:48.558 --> 19:50.300
[SPEAKER_01]: very reasonable in its memory footprint.
19:50.480 --> 19:54.983
[SPEAKER_01]: It's CPU footprint, you know, I've got probably 400 automations.
19:56.004 --> 19:58.846
[SPEAKER_01]: So I'd be on the heavier side over 100 integrations.
19:59.467 --> 20:08.313
[SPEAKER_01]: So, you know, it's growing and growing and growing, but ultimately Kubernetes will pick the right node for when it grows too big for one of my other nodes.
20:08.413 --> 20:08.554
[SPEAKER_01]: But
20:09.394 --> 20:17.041
[SPEAKER_01]: Uh, yeah, I mean, it's, I guess, to circle back to what you said, um, I am still only running home assistant as a singular node.
20:17.141 --> 20:18.122
[SPEAKER_01]: It is a stateful app.
20:18.342 --> 20:26.449
[SPEAKER_01]: Unfortunately, you can't route requests from one home assistant and then have it land into, say, a standard database that they all share.
20:27.230 --> 20:34.272
[SPEAKER_01]: because ultimately you have a control plane that needs responsibility and they would conflict with one another if you ran more than one at a time.
20:34.392 --> 20:50.578
[SPEAKER_01]: So I'd love that that would be my biggest ask is for for home assistant to support multi-tenancy and but I can see why that's not on the near-term roadmap because I can't imagine too many folks yelling and screaming for all three people that need it.
20:50.618 --> 20:50.858
[SPEAKER_00]: Yeah.
20:50.878 --> 20:51.058
[SPEAKER_00]: Yeah.
20:51.858 --> 21:03.009
[SPEAKER_00]: It's, I'm gonna ask, I mean networking and Kubernetes are, and, you know, the like, even Docker swarm, Docker swarm is a lot easier, but Kubernetes is going to be pretty complicated right when it comes to networking and things like that.
21:03.029 --> 21:09.856
[SPEAKER_00]: How do you deal with stuff like MDNS, or those kind of things, or do you just say, hey, I'm not doing it, or are we able to get it to work?
21:09.876 --> 21:10.436
[SPEAKER_00]: Like, how does that?
21:10.676 --> 21:11.097
[SPEAKER_00]: How does that?
21:11.117 --> 21:11.217
[SPEAKER_00]: Yeah.
21:11.557 --> 21:12.338
[SPEAKER_01]: Um, it does work.
21:12.458 --> 21:16.581
[SPEAKER_01]: So my networking layer is all unifier ubiquity equipment.
21:16.981 --> 21:24.587
[SPEAKER_01]: Uh, so my Kubernetes nodes are running an operating system called Talos, which is a Kubernetes specific operating system.
21:25.007 --> 21:25.247
[SPEAKER_00]: Yeah.
21:25.527 --> 21:28.509
[SPEAKER_01]: One of the really cool things about Talos is, uh, you can.
21:29.310 --> 21:38.696
[SPEAKER_01]: basically create multiple virtual nix on the physical host, and you can assign that nix to a particular VLAN.
21:38.777 --> 21:50.585
[SPEAKER_01]: I know that might be, I'll take a step back to explain, but I have an IoT VLAN, which is all my IoT devices that I don't trust with.
21:51.445 --> 21:57.869
[SPEAKER_01]: being able to access my, you know, management hardware, my physical devices, iPhones, that sort of thing.
21:58.449 --> 22:16.140
[SPEAKER_01]: So I have a trusted VLAN, and so I allow the Home Assistant pod into that trusted VLAN, so that the integrations can speak to, you know, things that are on my trusted network, as well as my IoT network and security network and whatnot.
22:16.240 --> 22:16.440
[SPEAKER_01]: So,
22:17.300 --> 22:36.487
[SPEAKER_01]: a lot of the networking specifics of Kubernetes are abstracted away because the underlying host handles that and says, you are on the trusted network, so I'll allow you access to everything through my firewall rules, but another pod on my Kubernetes network will not have access to that same VLAN, so I can't access my trusted network.
22:36.507 --> 22:37.848
[SPEAKER_01]: That's interesting.
22:38.208 --> 22:38.448
[SPEAKER_01]: Okay.
22:39.602 --> 22:45.788
[SPEAKER_00]: But all night all night you've had no issues getting all that stuff like took a lot of had a hundred issues getting all of that stuff.
22:45.828 --> 22:47.250
[SPEAKER_01]: Yeah, okay.
22:47.270 --> 22:54.457
[SPEAKER_01]: But yeah, it's I'm probably like two years now into it being super stable out of a maybe three year journey.
22:54.657 --> 22:57.760
[SPEAKER_01]: It was a lot of learning a lot of trial and error for a year.
22:58.921 --> 23:11.146
[SPEAKER_01]: And that's only because I pushed it to its limits, and I think if you were to take sensible approaches and settle for good enough, you could get 99% of the way there, but that wasn't enough for me.
23:11.246 --> 23:13.987
[SPEAKER_01]: I'd always wanted to Tinker, always wanted to experiment.
23:14.167 --> 23:16.748
[SPEAKER_01]: It's what drives me on this journey.
23:16.848 --> 23:17.868
[SPEAKER_01]: For sure, for sure.
23:18.588 --> 23:22.450
[SPEAKER_01]: Would you recommend Kubernetes Deployment Film Assistant to someone else?
23:23.730 --> 23:31.576
[SPEAKER_01]: It depends on who that someone else is and they're willingness for tearing their eyeballs out, figuring out why it's broken.
23:31.756 --> 23:38.361
[SPEAKER_01]: I think I've got family members that I've given Raspberry Pies to with Home Assistant running on it.
23:38.741 --> 23:43.125
[SPEAKER_01]: Home Assistant Green, I think is probably the best starting point for everyone.
23:43.185 --> 23:51.291
[SPEAKER_01]: It's probably where I would have started when I first started with that Philips huge early and then slowly built my way up to wanting and needing this
23:52.947 --> 23:59.992
[SPEAKER_02]: So let's say you accidentally kick the computer that is marked as the node for home assistant right now.
24:00.952 --> 24:01.853
[SPEAKER_02]: And it goes offline.
24:02.093 --> 24:08.797
[SPEAKER_02]: Does that mean that you have two minutes of downtime of home assistant before communities will then spin it up somewhere else?
24:09.057 --> 24:09.998
[SPEAKER_02]: Is that how it works?
24:10.138 --> 24:10.779
[SPEAKER_01]: Yeah, pretty much.
24:10.819 -->
24:13.701
[SPEAKER_01]: I think Kubernetes, I think defaults to, it could be five minutes.
24:13.881 --> 24:19.145
[SPEAKER_01]: But, yeah, I mean, there are defaults that say don't do anything for five minutes.
24:19.265 --> 24:24.049
[SPEAKER_01]: And that's just because if there are just intermittent, it's like connection issues between nodes.
24:24.089 --> 24:27.672
[SPEAKER_01]: You don't want everything to be rescheduled every time that happens.
24:27.732 --> 24:29.093
[SPEAKER_01]: So you can tune that.
24:29.333 --> 24:30.374
[SPEAKER_01]: You can make that smaller.
24:30.494 --> 24:31.374
[SPEAKER_01]: Five minutes is enough.
24:31.575 --> 24:39.541
[SPEAKER_01]: It's more for the, if something goes wrong in the middle of the night, and I'm asleep as long as I wake up and everything's okay, rather than, you know, having to
24:40.522 --> 24:42.043
[SPEAKER_01]: It's okay to wait those five minutes.
24:42.203 --> 24:45.165
[SPEAKER_01]: Nothing happens in those five minutes, except you just can't control things.
24:45.626 --> 24:49.889
[SPEAKER_01]: So it is self-healing and you can make it more aggressive in itself healing.
24:50.490 --> 24:52.552
[SPEAKER_01]: For me, five minutes is more than enough.
24:53.052 --> 24:57.476
[SPEAKER_00]: What just had a curiosity, what else do you run in your stack?
24:57.496 --> 25:00.899
[SPEAKER_00]: Because five nodes are decent amount rate of this.
25:00.919 --> 25:02.020
[SPEAKER_01]: It's 320 gigabytes of RAM.
25:02.040 --> 25:02.220
[SPEAKER_01]: 42 cores.
25:08.425 --> 25:15.492
[SPEAKER_01]: across those five, and I've got about 80 terabytes of storage on a NAS for media and movies and TV.
25:16.653 --> 25:17.234
[SPEAKER_01]: What do I run?
25:17.294 --> 25:18.395
[SPEAKER_01]: I run a whole host of things.
25:18.435 --> 25:20.097
[SPEAKER_01]: Obviously there's the automation side.
25:20.718 --> 25:24.702
[SPEAKER_01]: There's, let me bring it up while I speak to you because, you know, I've...
25:25.242 --> 25:35.431
[SPEAKER_01]: putting me on the spot, but I have all kinds of things, you know, a plaqueserva, all of the automation around plaques, so that, you know, automatic movie and TV downloads.
25:36.312 --> 25:44.380
[SPEAKER_01]: As I said, there's a replicated storage layer, that's a thing called Rook or Seth, which is also a concept in proxmox, that's quite popular.
25:45.400 --> 25:46.922
[SPEAKER_01]: That's a replicated storage.
25:47.242 --> 26:00.074
[SPEAKER_01]: My background at my job is I used to run the monitoring team, you know, my job was to take trillions of data points and minute across our production systems, aggregate them, put them in a form that can be queried, visualized, trended.
26:01.375 --> 26:08.001
[SPEAKER_01]: So my Kubernetes cluster takes a similar approach, every workload sends promethias metrics into promethias,
26:09.082 --> 26:14.463
[SPEAKER_01]: I collect all the logs of my workloads and centralise them so that I can set up a learning on it.
26:14.744 --> 26:27.707
[SPEAKER_01]: I've got some interesting alerts, and I honestly do treat my home cluster like a production system in terms of, I get, you know, pinned on telegram when things go down or if errors happen in home assistant that should not happen.
26:29.007 --> 26:34.829
[SPEAKER_01]: But to answer your question, I am running image for photo management, which is like a Google
26:37.110 --> 26:40.912
[SPEAKER_01]: I'm running, what else am I running?
26:41.032 --> 26:57.905
[SPEAKER_01]: Baby buddy, which is a, if you haven't heard of it, I guess it automates a lot of all the way of, you know, feeding and and diaper changes and sleep of your young ones, which has my wife and I use extensively for both of our kids.
26:59.506 --> 27:01.388
[SPEAKER_01]: I'm really big on
27:03.509 --> 27:21.963
[SPEAKER_01]: basically anything that integrates with MQTT rather than directly because I love that I love having the, I guess, adaptability of everything going into MQTT and then I can build my own integrations on top of that, in addition to it working with Hymn Assistant, I don't have sure sort of double up.
27:22.964 --> 27:23.884
[SPEAKER_01]: What are you doing?
27:24.124 --> 27:27.566
[SPEAKER_01]: I just, just the basic mosquito, um, it's okay.
27:27.626 --> 27:30.747
[SPEAKER_01]: Yeah, um, it, it runs really, really well.
27:30.967 --> 27:33.228
[SPEAKER_01]: It has never missed a beat.
27:33.988 --> 27:39.130
[SPEAKER_01]: Um, that is a high availability, um, MQTT.
27:39.151 --> 27:44.953
[SPEAKER_01]: So I do have, uh, active, uh, an active and standby, um, MQTT broker.
27:45.493 --> 27:52.576
[SPEAKER_01]: If one goes down, Kubernetes will detect that it's gone down and switch the DNS automatically to point to the other broker.
27:53.156 --> 27:58.701
[SPEAKER_01]: So that I don't have that downtime because MQTT is sort of the heartbeat of most of what goes through.
27:59.862 --> 28:06.588
[SPEAKER_01]: Like all of my shellys speak MQTT, I don't integrate them directly into home assistant using the shelly integration.
28:07.849 --> 28:18.278
[SPEAKER_01]: ZIGBEDMQTT obviously uses MQTT and my home battery is a SIGENIGY battery and there's an open source project called SIGENIGY to MQTT that I use for that.
28:18.518 --> 28:26.340
[SPEAKER_02]: On the MQTT side there on the shellies, you mentioned that if MQTT goes down, Kubernetes will reroute DNS to the new host.
28:26.820 --> 28:28.481
[SPEAKER_02]: How does that work then on the shellies?
28:28.741 --> 28:31.862
[SPEAKER_02]: Like, do they need to know where that new host is to?
28:32.722 --> 28:33.302
[SPEAKER_01]: No, they don't.
28:33.422 --> 28:47.426
[SPEAKER_01]: So the way that DNS works in Kubernetes is you point DNS at a service layer, which doesn't change the IP never changes, but the underlying routing that happens behind that scene gets pointed at a different pod.
28:48.006 --> 28:55.090
[SPEAKER_01]: So if your shell is case, the DNS response, then that's fine,
because the IP stays the same.
28:55.470 --> 28:59.132
[SPEAKER_01]: Kubernetes is responsible for dishing out that IP address.
28:59.773 --> 29:06.897
[SPEAKER_01]: It just changes how the packet gets routed to a different pod automatically, which is, again, another really good thing about Kubernetes.
29:07.277 --> 29:08.698
[SPEAKER_02]: Hmm, yeah, that is fantastic.
29:09.998 --> 29:11.679
[SPEAKER_01]: Apart from that, I'm running Tesla Mate.
29:11.779 --> 29:16.240
[SPEAKER_01]: I have two Tesla's that I have integrated very heavily.
29:16.500 --> 29:30.983
[SPEAKER_01]: Tesla Mate is essentially a griffana back end so that I can look at every single time I've driven one of my Tesla's, including a Tesla that I sold a couple of months ago that I had for five years.
29:32.443 --> 29:43.006
[SPEAKER_01]: But I can look down at sub-second level telemetry on everything that my car was doing on a drive, which has come great to contest speeding fines in the past.
29:43.566 --> 29:50.507
[SPEAKER_01]: Oh, which is, I can prove that I wasn't doing that speed, and yeah, so that's an interesting story.
29:50.927 --> 29:51.847
[SPEAKER_01]: That's interesting.
29:51.907 --> 29:54.128
[SPEAKER_01]: And did that, did that, just had a curiosity, did that hold up?
29:54.848 --> 29:59.230
[SPEAKER_01]: It did, yeah, I think the judge was more just like, just get out of my hair.
29:59.551 --> 30:08.075
[SPEAKER_01]: You're willing to go to this effort, you know, it's, it's, it's, I'll let you go this time, but next time it's like, I'm not, yeah.
30:08.996 --> 30:15.839
[SPEAKER_01]: I'm running frigate, so I've got eight cameras around the house, frigate is my sort of object detection.
30:16.840 --> 30:22.103
[SPEAKER_01]: There's some new features that I've started using that they've recently released in object classification.
30:23.123 --> 30:34.233
[SPEAKER_01]: I guess seeing classification, the idea being so one example is I have classified my close washing line in the backyard to have clothes on it or not.
30:34.714 --> 30:44.222
[SPEAKER_01]: So if it starts raining with my weather sensor, forget has a sensor that is in home assistant that says is there close on the washing line or not based off, um,
30:44.923 --> 30:57.689
[SPEAKER_01]: the you know machine learning model that it builds around me training it with enough data saying it is or isn't and it sends me an notification saying hey there's washing on the line and it started raining so take it off.
30:57.929 --> 31:03.312
[SPEAKER_02]: That is one of my favorite of ages when I first got the camera's like what can I do with this camera in the back yard?
31:03.332 --> 31:05.893
[SPEAKER_02]: I was just staring and I was like hang on the washing lines right there.
31:06.394 --> 31:09.255
[SPEAKER_02]: I can just put just the AI and say this is
31:13.897 --> 31:15.978
[SPEAKER_02]: and then have an automation trigger on the rain, right?
31:16.118 --> 31:18.260
[SPEAKER_02]: Ask if there's washing there and where it goes.
31:18.660 --> 31:19.980
[SPEAKER_02]: It's one of my favorite automations.
31:20.421 --> 31:23.883
[SPEAKER_01]: Yeah, and I think the other one as well is whether I've left the side gate open.
31:24.083 --> 31:40.992
[SPEAKER_01]: I've had trouble, I've tried many, many times, having like a ZGB sensor that is not waterproof, die because it got rained into and I've gone with, I've got a camera pointing right at the gate, so I'm able to just say and forget, you know, is open or is closed and you know,
31:43.633 --> 31:44.594
[SPEAKER_01]: because the dog will get out.
31:45.234 --> 31:45.414
[SPEAKER_02]: Yep.
31:46.274 --> 31:46.795
[SPEAKER_02]: Yeah.
31:47.655 --> 31:48.035
[SPEAKER_01]: That's good.
31:48.755 --> 31:51.196
[SPEAKER_02]: Now, we have some exciting news from Zeus.
31:51.697 --> 31:58.880
[SPEAKER_02]: As soon as he's beginning a new chapter as part of Jasco, bring him more resources to the brand for product development, innovation, and future growth.
31:59.640 --> 32:02.703
[SPEAKER_02]: For home-missus users, their focus remains where it has always been.
32:03.163 --> 32:12.091
[SPEAKER_02]: Reliable Z-wave products, advanced functionality, continued firmware maintenance and improvements, strong platform integration, and responsive support when you need it.
32:12.831 --> 32:15.734
[SPEAKER_02]: Zeus has always taken a community-first approach to product development.
32:16.254 --> 32:24.905
[SPEAKER_02]: Feedback from customers, developers, and platform communities helps shape their documentation, firmware improvements, feature decisions, and even future products.
32:25.746 --> 32:32.534
[SPEAKER_02]: Zeus plan to keep listening, testing real world use cases, and building around the way as their community actually uses Zeus devices.
32:33.475 --> 32:41.918
[SPEAKER_02]: The Zeus brand and product line are staying in place, and looking forward will continue to work with the platforms, developers and smart home communities that have helped Zeus grow.
32:42.398 --> 32:50.801
[SPEAKER_02]: Thanks to everyone who has tested, integrated, suggested features, reported issues, shared real world use cases, and help make Zeus products better over the years.
32:51.381 --> 32:52.961
[SPEAKER_02]: We're excited for what comes next.
32:53.621 --> 32:58.563
[SPEAKER_02]: You can read the full announcement on the Zeus community forum, so thanks to Zeus and Justo for sponsoring the show.
32:59.815 --> 33:10.820
[SPEAKER_00]: Now, Adam, you talked about having a couple of Teslas, and you're obviously, you said you had Tesla mate running, and so on, I know there's a lot of stuff you can do in-home assistant with Teslas.
33:11.480 --> 33:18.223
[SPEAKER_00]: Some of them need, obviously, some of them need some and paid integrations, or, you know, that kind of thing.
33:18.944 --> 33:21.325
[SPEAKER_00]: What are you doing, and what are you doing?
33:21.525 --> 33:24.967
[SPEAKER_00]: Well, how are you getting some data, and
how are you bringing it to home assistant?
33:25.187 --> 33:25.867
[SPEAKER_00]: Let's start with that.
33:26.579 --> 33:31.384
[SPEAKER_01]: Yeah, so I think the bulk of the read-only data that doesn't require sending commands to the car.
33:31.504 --> 33:38.831
[SPEAKER_01]: That comes from Tesla mate because the owner API for Tesla is still available.
33:39.051 --> 33:42.394
[SPEAKER_01]: So you can still pull read-only sensors, but...
33:43.055 --> 33:58.091
[SPEAKER_01]: As I'm sure many Tesla owners, at least those that have had Tesla's for a year or two, at least, will a test to their being some changes in being able to send commands like open doors and, you know, start charging, stop charging over the, over the cloud API.
33:59.032 --> 34:07.139
[SPEAKER_01]: So I didn't really like the approach of having to run my own proxy and it being a paid integration.
34:07.800 --> 34:10.162
[SPEAKER_01]: So I did a bit of research.
34:10.262 --> 34:13.765
[SPEAKER_01]: There's a really, really cool open source project that allows you to
34:15.347 --> 34:22.711
[SPEAKER_01]: Use a ESP32 device, and what it does is it connects over Bluetooth to your Tesla.
34:23.632 --> 34:27.534
[SPEAKER_01]: And it exposes pretty much everything you can do in the Tesla app on your phone.
34:27.754 --> 34:31.937
[SPEAKER_01]: Start charging, stop charging, you know, change the number of amps going to your car.
34:33.117 --> 34:57.302
[SPEAKER_01]: Lock unlock that sort of thing and it does that and integrates directly with home assistant So there's it integrates with the ESP home integration with home assistant So all of the sensor ZX poses and all of the commands that it exposed are first class entities in home assistant So I've been using that to charge Yeah, that's it's been fantastic couldn't couldn't recommend it enough.
34:57.322 --> 34:57.942
[SPEAKER_01]: That's awesome
34:58.962 --> 35:10.227
[SPEAKER_02]: I am very, like, I've always been jealous of Roheun's Tesla and I've only had a Tesla now a couple of months and I still haven't integrated it into home misses because it's just, I'm just like, ah, which integration do I want to use?
35:10.327 --> 35:12.508
[SPEAKER_02]: Maybe I should just enjoy the car first before I would have made it.
35:13.189 --> 35:22.513
[SPEAKER_02]: But yeah, now that you said that you can get all that telemetry, all that data, I'm picturing a nice dashboard in my home misses and set up.
35:23.313 --> 35:38.078
[SPEAKER_01]: Yeah, the dashboarding is really, really cool, like you, it, one of the best things is I can look and say like since I got my battery, it's cost me $0 to charge my Tesla and that's been really cool to go down to that level of detail.
35:38.098 --> 35:41.739
[SPEAKER_01]: As I said, my background professionally is running monitoring teams.
35:42.999 --> 35:44.400
[SPEAKER_01]: I love, love, love data.
35:44.440 --> 35:50.402
[SPEAKER_01]: So that data helps me answer so many questions and explore different ways of working with things.
35:51.002 --> 36:02.614
[SPEAKER_00]: So are you doing anything around building that automations for like again, like you said, you're you're monitoring your charging status so on so forth and home assistant and you've got that battery that you said too.
36:03.815 --> 36:06.878
[SPEAKER_00]: Are you bringing together any kind of goodness between those two?
36:07.579 --> 36:08.300
[SPEAKER_01]: Yeah, absolutely.
36:08.320 --> 36:12.726
[SPEAKER_01]: I can talk for hours about my home energy strategy, I think.
36:13.988 --> 36:24.802
[SPEAKER_01]: So the background at home is I started with solar four years ago, and I didn't get a battery till April of this year, so it's been just on about six months.
36:26.744 --> 36:42.853
[SPEAKER_01]: The, I'm sure Phil can attest to this the way that a lot of energy providers in Australia work is they have, so I'm on a special EV plan and that gets me really, really cheap power between midnight and 6am, 8 cents I pay for, for power.
36:43.553 --> 36:46.996
[SPEAKER_01]: but I also get a free power between 11 and 2.
36:47.196 --> 36:50.558
[SPEAKER_01]: So 11 AM to 2 PM, I pay nothing no matter how much I use.
36:52.239 --> 36:58.324
[SPEAKER_01]: The catch is that from 2 to 9 PM, I pay 62 cents for a kill or whatever, which is a huge amount of money.
37:01.386 --> 37:25.962
[SPEAKER_01]: the home energy strategy specifically since I started with the battery was to charge the battery up to full in that free period, charge the cars up as much as I could in that free period and then use the battery as soon as the two o'clock window hit and you know basically do tariff arbitrage using my battery and solar so that's been extremely lucrative I've gone from $400 a month
37:31.026 --> 37:46.435
[SPEAKER_01]: with the battery and I think the ROI on the battery would be about four years so I mean home assistant is what controls all of that logic so what I'll do is so between 6am and 11am I pay 40 cents a kilowatt hour.
37:47.155 --> 37:56.664
[SPEAKER_01]: So during that really cheap 8 cent midnight to 6 a.m. period, I look at Honocistent looks at Soulcast, which is a solar forecasting platform.
37:58.086 --> 38:08.275
[SPEAKER_01]: It pulls in the expected amount of solar that's going to happen between 6 a.m. and 11 a.m. and then picks a level that my battery should be at come 6 a.m.
38:09.096 --> 38:16.361
[SPEAKER_01]: so that I spend not too much money at all by charging it using the 8 cents a kilowatt hour power.
38:16.421 --> 38:26.427
[SPEAKER_01]: So home assistant is the coordinator of all of that and then it tells my car to start charging at 11 a.m. to stop charging at 2 p.m.
38:27.729 --> 38:32.995
[SPEAKER_01]: My battery to kick in at 11 a.m. to charge at 11 a.m. and to kick in it to 2 p.m.
38:34.056 --> 38:36.039
[SPEAKER_01]: So yeah, it's been it's been really really cool.
38:36.239 --> 38:46.031
[SPEAKER_01]: And I've added some a few little extras like I have the weather
forecast if there is a storm coming and there's a lot of rain charged the battery up to 100% no questions asked.
38:46.731 --> 38:48.071
[SPEAKER_01]: for blackout protection.
38:48.291 --> 39:01.274
[SPEAKER_01]: So, again, it's, I love having that level of control in home assistant rather than delegating it to a third party app, which a lot of them have these features, but I was gonna say a lot of them do have a storm guard protection now built in.
39:02.275 --> 39:06.976
[SPEAKER_02]: You're doing anything like, in terms of like, are you completely off gas?
39:07.216 --> 39:14.037
[SPEAKER_02]: I know, in Victoria, there's a big push all the households are down here to get away from gas
39:16.878 --> 39:26.887
[SPEAKER_01]: We do have gas, but we only, we have gas cook tops, gas hot water, but I also just have a gas heater for the living area.
39:27.828 --> 39:32.152
[SPEAKER_01]: Only just because the, I guess, performance of a gas heater more than anything.
39:32.872 --> 39:41.920
[SPEAKER_01]: I probably should be more environmentally conscious, but I have it there and it heats up the room really, really quickly when it's cold.
39:43.041 --> 39:47.484
[SPEAKER_01]: Um, yeah, no, not fully electric yet, but I, there's no reason I couldn't try it.
39:48.244 --> 39:48.424
[SPEAKER_02]: Yep.
39:49.105 --> 40:04.514
[SPEAKER_02]: I know, um, we had, uh, me and who's also down here in Victoria, um, a couple of efforts back, and he was saying that he's also using his hot water pump to help with the energy, like storing hot water during the day as well, so that he's not, um, using that at night.
40:04.654 --> 40:07.836
[SPEAKER_02]: So just another way to sort of arbitrage that energy usage as well.
40:08.436 --> 40:11.338
[SPEAKER_02]: But you've got gas hot water, so not applicable for you.
40:12.058 --> 40:13.039
[SPEAKER_02]: But yeah, another way.
40:13.079 --> 40:14.440
[SPEAKER_02]: So I mean, they fun things to do.
40:14.560 --> 40:16.101
[SPEAKER_02]: I need to get solar and a battery.
40:16.181 --> 40:18.282
[SPEAKER_02]: That's, that's could be my next mission.
40:18.482 --> 40:18.762
[SPEAKER_00]: I know.
40:18.922 --> 40:23.425
[SPEAKER_00]: I'm, I, I, one of my neighbors has solar and he was just telling me about the same thing, right?
40:23.445 --> 40:31.850
[SPEAKER_00]: Like he's like, even with the snow and everything here, like, because again, with the snow cover, you're not the efficient at all if any generation from solar.
40:32.550 --> 40:33.391
[SPEAKER_00]: Yeah, he would get all that.
40:33.411 --> 40:35.392
[SPEAKER_00]: He's like, yeah, probably about seven years.
40:35.492 --> 40:37.634
[SPEAKER_00]: And I was like, OK, that's really good, actually.
40:40.462 --> 40:49.726
[SPEAKER_00]: So on the, on the, I know you mentioned, you know, using the ESP, ESP 32 to pull in, you know, Tesla data.
40:49.786 --> 40:51.866
[SPEAKER_00]: Are you, are you doing anything else with the ESP 32?
40:52.086 --> 40:53.127
[SPEAKER_00]: Do you have any other custom?
40:54.202 --> 40:55.163
[SPEAKER_00]: things you're doing or.
40:55.503 --> 40:56.644
[SPEAKER_01]: Yeah.
40:56.744 --> 41:17.945
[SPEAKER_01]: So one thing I am doing is I bought a yes it's an atom ATHOM garage door controller that it's basically just a ESP32 under the hood with just some niceties for wiring in a a read switch so I can see the state of my garage door controller.
41:19.106 --> 41:44.506
[SPEAKER_01]: But the benefit of it being SP32 is that I adopted it in SP home and I can fork the underlying code that the Adam team have written and in doing so I extended their package for the garage door controller to support cover states so you can see exactly where the door is at its closing point.
41:46.287 --> 42:08.520
[SPEAKER_01]: And by extension I have automations where I can answer my doorbell from my phone and then push a button and it allows the delivery driver to put the package in my garage by only opening the door and off for the package to fit in nicely so I mean you can get around all of that but it's just that's one example of something I'm doing with SP, SP homes specifically.
42:09.120 --> 42:15.504
[SPEAKER_00]: And I wonder, is that the CVSB you're using for a BLE for the car, or no, and do you have to get it?
42:15.644 --> 42:18.606
[SPEAKER_01]: There's no reason it couldn't be, but I do have a dedicated one.
42:18.726 --> 42:21.808
[SPEAKER_01]: Yeah, the only reason is reception.
42:21.868 --> 42:26.931
[SPEAKER_01]: So I have a garage where one car is parked and then a driveway where the other one is parked behind it.
42:26.951 --> 42:27.952
[SPEAKER_01]: I understand.
42:28.292 --> 42:32.195
[SPEAKER_01]: And so I need resept Bluetooth reception to be able to get.
42:32.895 --> 42:36.617
[SPEAKER_01]: But if I got that Bluetooth reception, then you could you could definitely
42:38.078 --> 42:50.524
[SPEAKER_02]: uh you know package them up together interesting that's really cool so does that garage door open up then integrate with Tesla or if you have to pay like the the Tesla tax to get it into the car
42:51.313 --> 42:54.876
[SPEAKER_01]: So I think Tesla only supports home link, officially, I think.
42:55.216 --> 42:57.177
[SPEAKER_01]: So there's no direct integration.
42:57.237 --> 43:13.830
[SPEAKER_01]: I don't have a button on my screen, but I don't need one because when my car pulls in the driveway, the garage door opens automatically, because I'm using Tesla mates, geolocation sensors to know, and those geolocation sensors are accurate within like a meter.
43:15.372 --> 43:24.224
[SPEAKER_01]: So the second, the tires hit my driveway, the garage door opens automatically on both of my cars, so yeah, no need.
43:24.925 --> 43:25.546
[SPEAKER_01]: That's great.
43:25.726 --> 43:26.627
[SPEAKER_01]: Don't have to tap above and.
43:28.207 --> 43:31.931
[SPEAKER_00]: Yeah, I think I want to do something like that in my in my place, too.
43:31.971 --> 43:35.054
[SPEAKER_00]: It's just
I've got a longer drive way than I did before.
43:35.094 --> 43:42.020
[SPEAKER_00]: And I was like, okay, I think I've got enough runway that it's like, you know, there's enough to correct it to say, hey, you know what, yeah, you should open the door.
43:42.121 --> 43:47.806
[SPEAKER_00]: And by the time I get to it, hopefully it's open that, uh, yeah, that would be pretty cool.
43:48.006 --> 43:51.810
[SPEAKER_02]: Did that take a little trial and error though to get the test list to be that accurate?
43:52.714 --> 44:00.197
[SPEAKER_01]: Um, I guess, yeah, I mean, the only trial error was just making sure your home zone was small enough, right?
44:00.237 --> 44:09.361
[SPEAKER_01]: Because my route to leave my home, I will basically go to the end of the street and then come back on the main road and I'm within probably 15 meters of my backyard.
44:09.901 --> 44:19.465
[SPEAKER_01]: So, if your home zone is too big, and your car passes through the home zone, then, you know, home assistant will say, hey, your car's back in the home zone, I should open the garage door.
44:20.025 --> 44:27.709
[SPEAKER_01]: But you can create other zones, like you can create a driveway zone in home assistant that is very, very granular within a couple of meters.
44:27.829 --> 44:30.470
[SPEAKER_01]: And that will work fine.
44:31.270 --> 44:34.812
[SPEAKER_01]: But no, it wasn't too hard to get it pinned down.
44:34.952 --> 44:35.312
[SPEAKER_01]: And I think,
44:35.912 --> 44:42.436
[SPEAKER_01]: That's more of a, I guess, a testament to how accurate the GPS sensors are in the Tesla, that it reports to its API.
44:42.476 --> 44:45.077
[SPEAKER_01]: Yeah, picked up and then landed into home assistant.
44:46.058 --> 44:46.678
[SPEAKER_02]: Yeah, see.
44:46.998 --> 44:53.201
[SPEAKER_02]: I know that was one of my issues that I had, like I credit the, um, the not so binary presence sensors, like for when I was at home, right?
44:53.221 --> 44:59.325
[SPEAKER_02]: Like, constantly being marked at a way in home, away and home, and things just getting kicked off and on, I had just, like, no, just slow it down a bit.
45:00.085 --> 45:03.607
[SPEAKER_02]: Um, but yeah, the sounds like you the test is pretty accurate now.
45:03.787 --> 45:04.267
[SPEAKER_02]: That's cool.
45:04.388 --> 45:13.012
[SPEAKER_00]: Just entirely selfishly what else would I'll see you doing with the With your cars and it's that I I I feel like I'm so inspired right now.
45:13.052 --> 45:18.776
[SPEAKER_00]: I've already googling yes, be home Tesla integrations and What what else are you doing?
45:19.517 --> 45:30.462
[SPEAKER_01]: I think that's pretty much it I think it's like I think you can you can get really carried away and you end up writing 50 automations and you only really end up using two of them or three of them every single day.
45:31.162 --> 45:42.528
[SPEAKER_01]: But ultimately I think the they're the big ones the other one is I've been tinkering with I haven't quite got it figured out is number plate recognition in frigate.
45:43.228 --> 45:56.051
[SPEAKER_01]: So I had to have a camera mounted directly above my garage door for this reason, so I can start you know using frigates license plate detection features.
45:56.871 --> 46:00.111
[SPEAKER_01]: And you can use that as like a second gate to should I open the garage door?
46:00.171 --> 46:09.853
[SPEAKER_01]: Like you know it's it's it's sold for those phantom scenarios where the car just suddenly teleport home according to our system because of like a bad
46:13.314 --> 46:19.717
[SPEAKER_01]: And that can be an extra thing that means your garage door is an open for strangers to start ransacking it.
46:20.117 --> 46:25.779
[SPEAKER_00]: Even more simply, could you not just use some kind of a BLE beacon device, right?
46:25.799 --> 46:30.901
[SPEAKER_00]: Just to say, hey, I'm here, like these are sticking in each of the cars.
46:31.141 --> 46:32.921
[SPEAKER_00]: Obviously they'll each have a unique market dress.
46:32.941 --> 46:33.962
[SPEAKER_00]: So it says, okay, I see.
46:34.662 --> 46:39.764
[SPEAKER_00]: Whatever, zero, zero, one, and versus zero, zero, two, and also ring broadcasting a Bluetooth address.
46:39.824 --> 46:41.065
[SPEAKER_01]: You could be able to sniff that out.
46:41.145 --> 46:41.785
[SPEAKER_01]: Well, guess what?
46:41.865 --> 46:46.507
[SPEAKER_01]: You can do that with the SP32 that actually connects to the car of a Bluetooth.
46:46.567 --> 46:48.148
[SPEAKER_01]: So well, and that's what I'm saying.
46:48.188 --> 46:49.609
[SPEAKER_00]: So you should already have that, right?
46:49.629 --> 46:56.132
[SPEAKER_00]: So that can be kind of that second metric to in terms of like the Phantom GPS, kind of thing.
46:56.172 --> 46:57.392
[SPEAKER_00]: It's on BLE.
46:58.873 --> 47:03.036
[SPEAKER_00]: I guess recognition used come in and say, okay, you can look for multiple things.
47:03.056 --> 47:06.198
[SPEAKER_00]: Hey, I've arrived home, plus I stay changed plus
47:07.479 --> 47:08.300
[SPEAKER_01]: Yeah, you can do that.
47:08.420 --> 47:23.856
[SPEAKER_01]: The only problem is, as if your driveway is too long, you don't have that Bluetooth range, but one cool thing that I have done is, is I've got, so with these open source BLE communication with the car over ESPs, it's one device per car.
47:23.876 --> 47:29.962
[SPEAKER_01]: You can't have both cars paired to one ESP, but the benefit of that is I have both of them right next to each other.
47:30.542 --> 47:39.130
[SPEAKER_01]: So I can say, I can very accurately say which car is in the driveway and which car is in the garage and that can power some other automations that might be useful.
47:39.698 --> 47:42.200
[SPEAKER_00]: You do an anything else with the SP32s.
47:42.560 --> 47:44.221
[SPEAKER_00]: I don't like any other hardware projects.
47:44.962 --> 47:45.742
[SPEAKER_01]: I think that's it.
47:45.862 --> 47:54.968
[SPEAKER_01]: I think the only other ones, not really ASP,
but I do have some Apollo millimeter wave sensors for presence detection.
47:56.549 --> 47:59.091
[SPEAKER_01]: That's been great.
47:59.211 --> 47:59.992
[SPEAKER_01]: The age-old,
48:00.712 --> 48:09.474
[SPEAKER_01]: I have a really accurate motion sensor, but not a really accurate present sensor, that's been a fantastic solution for.
48:10.635 --> 48:19.317
[SPEAKER_01]: I use them to automatically log sleep of my kids, so you can very easily say, is there a person asleep in the room with these?
48:20.998 --> 48:27.221
[SPEAKER_01]: You know, without necessarily pointing a camera in their face 24-7, which is kind of nice.
48:28.742 --> 48:32.204
[SPEAKER_01]: So, yeah, I mean, that's pretty much it on the hardware front, I think.
48:32.645 --> 48:34.166
[SPEAKER_02]: I'm not a coffee guy.
48:34.186 --> 48:41.210
[SPEAKER_02]: We had network chuck on last late last year, who is a coffee guy, but I think you've done some pretty crazy stuff with coffee.
48:41.250 --> 48:44.032
[SPEAKER_01]: Yeah, I just, I told the biggest lie.
48:44.352 --> 48:47.354
[SPEAKER_01]: I absolutely have another example of where I'm using
48:49.875 --> 48:59.077
[SPEAKER_01]: Yes, so I won't name the brand, but they have a really proprietary solution to basically what's called brew by weight.
48:59.317 --> 49:09.079
[SPEAKER_01]: So for those that don't know coffee too well, the idea being you basically want to brew your coffee to a certain ratio, especially like with espresso.
49:10.279 --> 49:12.380
[SPEAKER_01]: And you want to stop the machine when you hit.
49:12.820 --> 49:14.121
[SPEAKER_01]: that ratio automatically.
49:14.981 --> 49:22.425
[SPEAKER_01]: And so they sell a really, you have to buy proprietary scales in order for you to activate this feature of the machine.
49:23.326 --> 49:31.230
[SPEAKER_01]: I own the exact model of scales that is the non-preparatory version and they're not cheap scales, but I'm not paying.
49:31.990 --> 49:41.172
[SPEAKER_01]: $400 for a for a more upgrade, basically, which is how much they charge, so they also add a premium to the base level scale.
49:42.092 --> 49:44.073
[SPEAKER_01]: So I thought, hey, why not build it myself?
49:45.053 --> 49:50.594
[SPEAKER_01]: So these scales are Bluetooth scales, my machine speaks home assistant very, very well.
49:51.874 --> 49:55.115
[SPEAKER_01]: So I built a sort of home
50:00.616 --> 50:08.243
[SPEAKER_01]: It's more complicated than it actually sounds when you tear away the layers because you need to predict the flow of coffee after you stop the pump.
50:08.483 --> 50:14.668
[SPEAKER_01]: You need to basically stop the pump such that the last drip that hits the cup gets you to your goal ideally.
50:16.070 --> 50:17.691
[SPEAKER_01]: And so I wired up an
50:26.338 --> 50:44.285
[SPEAKER_01]: and built a sort of flow modeling algorithm with it and hook that up to home assistant and long story short I it detects when I start brewing the espresso it detects when you know liquid hits the cup because the scales move.
50:45.065 --> 50:47.387
[SPEAKER_01]: and it detects the time that it takes over that.
50:47.548 --> 51:00.539
[SPEAKER_01]: So I shared that the community around that, I just have like a GitHub gist that I shared and there's like 20, 30 stars on that and people commenting and all kinds of people interested in it.
51:00.559 --> 51:04.542
[SPEAKER_01]: I really need to turn it into a blueprint, a home assistant blueprint that people can see.
51:05.303 --> 51:06.023
[SPEAKER_01]: pull in and land.
51:06.083 --> 51:12.325
[SPEAKER_01]: Because since then, my scales have a first-class integration with homo-system now.
51:12.425 --> 51:13.945
[SPEAKER_01]: So everything is in homo-system.
51:13.965 --> 51:20.927
[SPEAKER_01]: I actually don't need the ESP home other than for the Bluetooth proxy, which is fantastic.
51:20.947 --> 51:26.049
[SPEAKER_01]: I'd much rather use the code that someone else is maintaining than me.
51:27.555 --> 51:48.722
[SPEAKER_00]: That's also, and do you find that it's fairly consistent like in terms of like, like you said, obviously you can vary a little bit just how much water comes through and you kind of a little bit of like a gas rate of like a shooting in the dark, okay, how when will the, I don't know when will the droplets of coffee essentially stop coming through and whatever, right?
51:48.742 --> 51:54.144
[SPEAKER_00]: So how do you, how do you, sorry, do you find that, you know, what you've done is
51:56.991 --> 52:00.712
[SPEAKER_01]: Yeah, so the way it works is it basically learns from past shots.
52:00.952 --> 52:08.633
[SPEAKER_01]: So every shot will have data of how quickly the shot started, especially early on in the shot and later on in the shot.
52:08.813 --> 52:12.274
[SPEAKER_01]: And then it says, I stopped it at this time and this was the end result.
52:12.854 --> 52:25.397
[SPEAKER_01]: And then it saves that to a log and then you can train it over time, such that if you start with a really, really fast amount of coffee coming out into your cup early on, you know that you're going to miss the mark pretty early on.
52:26.097 --> 52:37.782
[SPEAKER_01]: because in order for you to get that sort of perfect flow, or that perfect amount in your cup, it needs to hit a pretty predictable linear progression to get there.
52:38.262 --> 52:39.803
[SPEAKER_01]: So it is pretty accurate.
52:41.004 --> 52:44.165
[SPEAKER_01]: The only thing it doesn't do, and it is changed.
52:44.205 --> 52:53.069
[SPEAKER_01]: My grinder settings for me, but it will actually give me a suggested grind setting based off the flow being either too fast, too slow, it will say knock it down.
52:54.430 --> 53:03.961
[SPEAKER_01]: You know, one, one not sure, two notches, so it's it's self-learning and it's actually kind of helpful in terms of you not taking the guesswork out of it.
53:04.682 --> 53:05.543
[SPEAKER_00]: That's so cool.
53:05.683 --> 53:09.127
[SPEAKER_00]: How did you build that
self-learning piece into homocystin?
53:09.308 --> 53:11.050
[SPEAKER_00]: Like, or is that outside of it?
53:11.987 --> 53:22.863
[SPEAKER_01]: That's outside of it, so essentially you can have an automation that it's the outside of a part is where it reads that feedback loop.
53:22.963 --> 53:24.626
[SPEAKER_01]: So the ESB home itself.
53:25.347 --> 53:27.931
[SPEAKER_01]: But if you wanted to build this in home assistant,
53:28.251 --> 53:31.513
[SPEAKER_01]: All you have to do is essentially, you can use entity history, right?
53:31.553 --> 53:45.602
[SPEAKER_01]: You can say, how long was my short time, you know, how many grams were out at that short time and then look at the history of shots over time to sort of, I guess, do a bit of reinforcement learning of the algorithm?
53:45.762 --> 53:50.105
[SPEAKER_01]: But yeah, I mean, to answer your question, you can pretty much do it purely with home assistant entities.
53:51.506 --> 53:52.467
[SPEAKER_02]: Yeah, that makes sense.
53:53.723 --> 53:56.848
[SPEAKER_02]: But home assistant's not going to make the coffee for me, but it's going to be there.
53:56.968 --> 54:00.093
[SPEAKER_02]: Basically, it's a co-pilot to help you make the perfect coffee.
54:00.313 --> 54:01.334
[SPEAKER_02]: It's your coffee companion.
54:01.374 --> 54:01.795
[SPEAKER_01]: That's right.
54:02.316 --> 54:03.858
[SPEAKER_01]: That's right.
54:03.878 --> 54:05.060
[SPEAKER_00]: There's an ad in here somewhere.
54:05.080 --> 54:07.604
[SPEAKER_00]: And I get a, it's almost there, I think.
54:07.804 --> 54:08.205
[SPEAKER_00]: It's a,
54:09.608 --> 54:10.048
[SPEAKER_00]: that's funny.
54:10.809 --> 54:19.715
[SPEAKER_02]: So do you need, like, do you have different style of beans that you use that then have to adjust all of your settings based on what your input is or are you always going for looking at espresso?
54:20.575 --> 54:28.861
[SPEAKER_01]: Yeah, I mean, my wife and I pretty much exclusively drink espresso, we tend to stick to one brand of bean that we like, but occasionally we will switch between.
54:29.561 --> 54:34.484
[SPEAKER_01]: And that's more so just upfront dialing in is the problem and then just slow
54:37.046 --> 54:46.616
[SPEAKER_01]: My wife is not super interested in the mechanics of coffee making as much as I am, she just wants to, you know, flick the dial and have it work.
54:47.337 --> 54:59.028
[SPEAKER_01]: And so, yeah, I think that's where, you know, you can basically hand hold people in the household where you don't necessarily want to have to train them to be a barista in order to make their right decisions.
55:00.230 --> 55:15.882
[SPEAKER_01]: If she gets a notification after a shot saying, you know, put it down to setting 15 on the grinder, I feel like that's a much easier proposition for her to, you know, still enjoy making coffee rather than having to learn the science behind it.
55:16.843 --> 55:21.086
[SPEAKER_02]: Well, I think we'll let you into Melbourne now with a coffee
experience like that.
55:21.146 --> 55:23.087
[SPEAKER_02]: Coffee's always better in Melbourne, as for our good
55:24.325 --> 55:24.966
[SPEAKER_01]: actually agree.
55:28.935 --> 55:32.163
[SPEAKER_02]: So if you've got a, so you've got that up on on git as a just there.
55:32.183 --> 55:34.087
[SPEAKER_02]: If you got anything else up on git hub as well.
55:34.968 --> 55:35.828
[SPEAKER_01]: got anything up.
55:35.868 --> 55:43.910
[SPEAKER_01]: Yeah, so I've got the garage door, logic, on GitHub, just trying to think.
55:44.050 --> 55:49.651
[SPEAKER_01]: One of the fantastic things about home assistant is I've probably had about 30 ideas for a custom integration.
55:50.311 --> 55:53.271
[SPEAKER_01]: I've spent two minutes looking and someone's already built it.
55:54.252 --> 55:59.593
[SPEAKER_01]: I'm still yet to officially write my first end to end custom integration, but it is on my list.
55:59.653 --> 56:00.513
[SPEAKER_01]: I just need the idea
56:01.874 --> 56:08.122
[SPEAKER_01]: And with AI, I think it's even easier to find people writing these integrations because, you know, it does the job.
56:08.743 --> 56:10.465
[SPEAKER_02]: Yeah, yeah, absolutely.
56:11.947 --> 56:13.549
[SPEAKER_02]: It's unlocking a whole bunch of things.
56:13.569 --> 56:15.551
[SPEAKER_02]: I was reading something the other day on on.
56:16.813 --> 56:27.723
[SPEAKER_02]: Twitter or something, it's like, remember when the internet was cool, like everything was hackable, you know, like you could just get like CD keys and MP3s with everywhere and DVDs weren't restricted or anything.
56:28.464 --> 56:30.246
[SPEAKER_02]: And you just, it was just like a cool open place.
56:30.306 --> 56:30.606
[SPEAKER_02]: A.I.
56:30.626 --> 56:37.052
[SPEAKER_02]: is sort of bringing that back because, you know, then we got down to like streaming services and digital rights, management, and
56:37.653 --> 56:42.878
[SPEAKER_02]: everything was sort of like Facebook started off cool and it got looked down and it's notification everywhere.
56:43.398 --> 56:51.685
[SPEAKER_02]: Now AI sort of turning it back around where you know if Adobe does something crazy and locks in with their dark patterns, someone's just like, I've got to create my own photos shot.
56:52.386 --> 57:05.077
[SPEAKER_01]: Yeah, I think a lot of the modes that big companies sort of rested on were that it's too hard for you to do it yourself or go an alternative route, but I think AI is flipping the script definitely.
57:06.103 --> 57:09.807
[SPEAKER_02]: Um, now we've talked about some sophisticated stuff here today.
57:10.048 --> 57:14.292
[SPEAKER_02]: Um, I want to know though, is there, what, what, what automation would you say?
57:14.312 --> 57:22.101
[SPEAKER_02]: What is Bonnie Gafadritz or that genuinely like improves your day-to-day life that may don't necessarily be overly complicated?
57:23.053 --> 57:40.243
[SPEAKER_01]: Not overly complicated, my three-year-old absolutely loves the rainbow light integration from her downlights, so I built just basically a homocystinscript that sends MQTD messages to her individual four downlights in her room.
57:41.023 --> 58:04.900
[SPEAKER_01]: and it just keeps every single bulb is a different color at any time and it just rotates through five or six different colors on each bulb independently and she'll have her cousins over or friends over and you know it's the first thing that she wants to show them is daddy turn on the rainbow lights so I can you don't take them in and see them and she loves it the the joy she gets out of that is so nice it's worth it
58:06.698 --> 58:07.278
[SPEAKER_01]: that's amazing.
58:07.458 --> 58:25.903
[SPEAKER_01]: There's also one other one that is a huge pain point of mine that made me tell my hair out, but I guess is a good story of learning in home assistant is so my I have a pool that you know it runs on you know water and salt and it turns the chlorinator will turn that salt into chlorine.
58:26.463 --> 58:28.444
[SPEAKER_01]: to keep algae out and whatnot.
58:28.984 --> 58:36.246
[SPEAKER_01]: I also have a pool skimmer robot that basically sits on the surface and sucks up all the leaves.
58:37.106 --> 58:43.288
[SPEAKER_01]: However, it gets sucked into the skimmer box of my pool pump and is not strong enough to free itself.
58:44.568 --> 58:57.577
[SPEAKER_01]: and so that that has some pretty adverse effects on the chlorinator doing its job because the chlorinator needs to be saturated with water in order for it to spit out chlorine from salt.
59:01.359 --> 59:18.114
[SPEAKER_01]: For years I've had a smart switch on my pool pump and it reads the amount of watts that the pump is drawing and whenever that exact scenario happens it goes from 1200 watts to 900 watts and if it's in pump mode it goes from 900 watts to like 700 watts.
59:19.435 --> 59:31.285
[SPEAKER_01]: So I built an automation that just detects when that happens, turns a pump off for 30 seconds, which is long enough for the robot to get itself out of the skimo and turns back on the pump.
59:31.605 --> 59:33.366
[SPEAKER_01]: And I don't have to do anything.
59:33.707 --> 59:37.109
[SPEAKER_01]: It only tells me when that process hasn't worked after trying three times.
59:37.890 --> 59:43.815
[SPEAKER_01]: So that used to be one, I didn't know it happened until I started getting algae in my fall.
59:45.056 --> 59:53.623
[SPEAKER_01]: And to, I'd used to have to go out and free the damn thing from the skimmer box and, you know, rinse repeat, it would happen four times a day sometimes.
59:55.044 --> 59:57.006
[SPEAKER_01]: Now it's a completely hands-off process.
59:57.026 --> 59:59.808
[SPEAKER_01]: So that, I guess, the moral of the story is, is,
01:00:00.989 --> 01:00:05.133
[SPEAKER_01]: add smart switches to everything, because you never know when you're actually going to use them and need them.
01:00:05.933 --> 01:00:12.439
[SPEAKER_01]: I, the reason I put a smart switch on was just to
get some power monitoring of my pool pumps specifically.
01:00:13.720 --> 01:00:17.703
[SPEAKER_01]: But hey, there's a, you know, second order benefit as a result of that.
01:00:18.724 --> 01:00:25.710
[SPEAKER_02]: Yeah, it's like, it track as much data as you can and then try and tell the story from that data when you need it to or try and find the story and hidden in that data.
01:00:27.031 --> 01:00:27.851
[SPEAKER_02]: Because yeah, there, it's
01:00:32.698 --> 01:00:33.359
[SPEAKER_02]: That's perfect.
01:00:33.999 --> 01:00:38.583
[SPEAKER_02]: Any future plans that you've got for next year or coming up?
01:00:38.883 --> 01:00:48.331
[SPEAKER_01]: Um, not really, no, I think I'm, I mean, I've been, I've spent an inordered amount of time updating integrations, adding integrations, and
01:00:49.252 --> 01:00:59.959
[SPEAKER_01]: I basically just any time I have an idea, I'd jot it down in my phone and then I go into it later, or I've also been experimenting with AI doing a lot of the heavy lifting.
01:01:00.499 --> 01:01:04.401
[SPEAKER_01]: So my home assistant set-up is almost entirely yummall.
01:01:04.621 --> 01:01:08.344
[SPEAKER_01]: I don't use UI for automation scripts.
01:01:09.304 --> 01:01:16.233
[SPEAKER_01]: And the benefit of that is that I can point something like Claude Code at the YAML and it can figure the things out that it needs to figure out.
01:01:17.595 --> 01:01:23.482
[SPEAKER_01]: And I basically sync it over to my Kubernetes pod.
01:01:23.522 --> 01:01:27.747
[SPEAKER_01]: The copies files locally off my computer checks them into Git.
01:01:28.849 --> 01:01:46.725
[SPEAKER_01]: copies them over to home assistant and then reload time assistant and so I've got this sort of sync process that keeps my configuration in reconciled with home assistant but with the the benefit of all of my automations and scripts essentially being backed up with with GIT.
01:01:46.845 --> 01:01:47.006
[SPEAKER_01]: So
01:01:48.587 --> 01:01:51.169
[SPEAKER_01]: Yeah, so I guess AI has been really cool.
01:01:51.429 --> 01:01:57.354
[SPEAKER_01]: It's taken a lot of the, um, I guess I just side of figuring out automations.
01:01:57.434 --> 01:02:09.443
[SPEAKER_01]: Like, I've, I've done years and years of writing automations by hand, so I'm not necessarily, um, delegating the thinking to AI because I've, I know, you know, I always read what it writes, but
01:02:10.584 --> 01:02:17.710
[SPEAKER_01]: It's more for the non-critical cases, like I would never have AI rewrite my alarm system, logic and state machine.
01:02:17.910 --> 01:02:18.511
[SPEAKER_01]: That's sort of thing.
01:02:20.072 --> 01:02:22.174
[SPEAKER_01]: So yeah, that's been really lucrative.
01:02:22.194 --> 01:02:25.317
[SPEAKER_01]: That's allowed me to do more with home assistant with less time.
01:02:25.557 --> 01:02:27.318
[SPEAKER_02]: And I wouldn't get it to rewrite your alarm system either.
01:02:27.418 --> 01:02:33.562
[SPEAKER_02]: I had it rewrite some logic for opening and closing some blinds and it's completely butcher it.
01:02:33.642 --> 01:02:35.323
[SPEAKER_02]: I'm going to have to start from scratch.
01:02:35.584 --> 01:02:39.166
[SPEAKER_02]: I don't know what it's done, but like it was they did close when it was sunny.
01:02:39.206 --> 01:02:40.507
[SPEAKER_01]: Now they're opening when they're sunny.
01:02:40.567 --> 01:02:42.428
[SPEAKER_01]: Yeah, your garage door opens when it's sunny.
01:02:42.608 --> 01:02:46.594
[SPEAKER_01]: Yeah, exactly, like, what have you done, so just enough to rip it out and start again.
01:02:46.854 --> 01:02:55.868
[SPEAKER_02]: So yeah, you've running, you've got some pretty powerful hardware there across all those classes, are you doing any of the AI locally across any of all that?
01:02:56.428 --> 01:02:57.149
[SPEAKER_01]: I have tried it.
01:02:57.850 --> 01:03:23.401
[SPEAKER_01]: I have tried it, but it's still, I mean, a lot of these, so I run Intel Nux, I've got 4 Intel Nux and a Mini's 4MMS 01, and they don't have the most powerful GPUs, they're good enough for things like plex trans coding and for some of the frigate processing, but my frigate uses a coral, TPU for its object inference.
01:03:24.641 --> 01:03:30.085
[SPEAKER_01]: So I haven't spent a lot of time and the time I have spent playing and experience with it.
01:03:30.105 --> 01:03:32.806
[SPEAKER_01]: It's just too slow for my use case.
01:03:33.447 --> 01:03:34.887
[SPEAKER_01]: I'm sure that will change very soon.
01:03:34.927 --> 01:03:37.889
[SPEAKER_01]: I'm still sort of staying on the cutting edge and keeping an eye on it.
01:03:38.730 --> 01:03:47.175
[SPEAKER_01]: But the form factor of these PCs doesn't lend to well to putting in like a beefy graphics card that can actually do these things really efficiently.
01:03:48.015 --> 01:03:59.042
[SPEAKER_01]: So I've stayed away from that, and I would, I'd much prefer to go local, obviously, but yeah, it's just not there performance wise for me yet.
01:03:59.823 --> 01:04:01.003
[SPEAKER_00]: Yeah, that's her.
01:04:01.023 --> 01:04:04.205
[SPEAKER_00]: Now, have you, have you looked at any like other options externally?
01:04:04.245 --> 01:04:08.208
[SPEAKER_00]: Like, maybe not necessarily like a,
01:04:10.084 --> 01:04:28.577
[SPEAKER_00]: Open AI or enter-op-it-cloud kind of thing, but any other cloud-hosted privateer cloud-hosted kind of semi-private types of use cases like I've been playing with the Lama Cloud for example cloud-flare I think has their
01:04:30.797 --> 01:04:33.060
[SPEAKER_00]: I don't know, AI workers or something like that too.
01:04:33.641 --> 01:04:34.582
[SPEAKER_00]: Have you tried any of those?
01:04:35.364 --> 01:04:36.205
[SPEAKER_01]: Not recently, no.
01:04:36.245 --> 01:04:43.836
[SPEAKER_01]: I think I've just mostly been sort of staying on the sort of frontier models, but it's definitely something I want to look at more and more.
01:04:44.871 --> 01:04:51.140
[SPEAKER_02]: Um, you spend your day
dealing with complex systems and, you know, we're getting all the data out of them.
01:04:51.641 --> 01:04:56.688
[SPEAKER_02]: Do you ever wish you could just turn on a light with our needing Kubernetes?
01:04:56.909 --> 01:04:57.830
[SPEAKER_02]: Has that ever crossed me mind?
01:04:57.910 --> 01:05:00.674
[SPEAKER_01]: Or are you a fairly fully tropical way to know about that now?
01:05:01.435 --> 01:05:04.017
[SPEAKER_01]: I'm at the point of no return feel.
01:05:04.157 --> 01:05:05.958
[SPEAKER_01]: It's far too late to walk this back.
01:05:06.018 --> 01:05:12.263
[SPEAKER_01]: I think I've got far too much sunken cost into building it the way it is.
01:05:12.543 --> 01:05:15.405
[SPEAKER_01]: I can tell you a story, right?
01:05:15.545 --> 01:05:22.270
[SPEAKER_01]: The Kubernetes cluster that I've built off, I guess, the shoulder of giants, right?
01:05:22.310 --> 01:05:27.213
[SPEAKER_01]: There's a home ops community that is quite vibrant, right?
01:05:27.353 --> 01:05:28.194
[SPEAKER_01]: Hundreds and hundreds of
01:05:28.854 --> 01:05:38.143
[SPEAKER_01]: like-minded people that have taken the same approach as I, and I've largely copied my approach and used it as inspiration to build on my Kubernetes setup.
01:05:38.824 --> 01:05:44.009
[SPEAKER_01]: But the way that it works is phenomenal in terms of its seamlessness, right?
01:05:44.029 --> 01:05:44.649
[SPEAKER_01]: Like I have.
01:05:45.310 --> 01:05:49.632
[SPEAKER_01]: backups that are taken every hour of every pod that land on my nas.
01:05:50.972 --> 01:05:54.774
[SPEAKER_01]: And then once a week, I will send a backup to the cloud.
01:05:55.094 --> 01:05:57.435
[SPEAKER_01]: So S3 compatible cloud.
01:05:57.455 --> 01:06:09.540
[SPEAKER_01]: So I use cloud flares R2 to the point where I can hit a button and completely tear down my cluster format every hard drive and within 15 minutes everything will be back up.
01:06:10.120 --> 01:06:11.581
[SPEAKER_01]: by pulling it from the cloud.
01:06:12.462 --> 01:06:17.645
[SPEAKER_01]: If my nass is not available, it will go to the cloud, but it will first go to my nass.
01:06:17.705 --> 01:06:22.569
[SPEAKER_01]: So all of my backups in my nass, the cluster will be brought up from scratch.
01:06:22.749 --> 01:06:27.652
[SPEAKER_01]: It will say, hey, look for a backup for this workload that I'm trying to start up.
01:06:27.952 --> 01:06:33.076
[SPEAKER_01]: There it is on the nass, pull the backup and hydrate the storage, the PVC of the pod.
01:06:33.977 --> 01:06:37.259
[SPEAKER_01]: And within 15 minutes, everything is back up and running as if nothing had happened.
01:06:39.461 --> 01:07:01.580
[SPEAKER_01]: That to me is worth its weight in gold because I know that I can sort of trust that anything happens, I stuff up a migration or an upgrade to home assistant, I can delete the pod, restore from a snapshot from a few days ago if I have to and that pod will be back up or something far far more drastic happens and you know I
01:07:03.449 --> 01:07:07.611
[SPEAKER_01]: my cluster crashes or there's a, you know, irrecoverable problem.
01:07:08.312 --> 01:07:09.152
[SPEAKER_01]: Yeah, exactly.
01:07:10.593 --> 01:07:15.596
[SPEAKER_01]: So yeah, I mean, this is all my, my home ops repo is open source that powers my, my GitHub.
01:07:15.616 --> 01:07:17.197
[SPEAKER_01]: So you can check it out.
01:07:18.037 --> 01:07:18.297
[SPEAKER_01]: That.
01:07:20.038 --> 01:07:35.587
[SPEAKER_01]: It is a lot of time spent, it's about 6,000 commits, I think, over 5 years, getting from start to finish, but anyone can start this journey and it's not as daunting as it sounds if you follow this home ops community.
01:07:36.948 --> 01:07:41.532
[SPEAKER_01]: because they have built a template to get started with this.
01:07:41.792 --> 01:07:49.218
[SPEAKER_01]: And you can start with one node, you can start with three, the more the better, but ultimately, you can choose your own adventure.
01:07:49.919 --> 01:07:54.282
[SPEAKER_02]: Yeah, you've already, like, I'm seriously considering, I've just got on the box box bad wagon.
01:07:54.423 --> 01:07:58.446
[SPEAKER_02]: I was just about to install my second node and box box and I'm like, ah, may I just do this?
01:07:58.526 --> 01:08:01.408
[SPEAKER_02]: Yeah, yeah, you've got me really thinking, like, have I just got pivot away?
01:08:02.770 --> 01:08:07.338
[SPEAKER_00]: Are you using Ansible or Terraform or something like that to do all of the other pieces in the back?
01:08:07.439 --> 01:08:09.783
[SPEAKER_00]: Like you said for like the actual rebuild and all of that?
01:08:10.148 --> 01:08:26.301
[SPEAKER_01]: No, it's a Kubernetes concept or a Kubernetes project called Flux which is basically a it's job is to take your get-defined declarative workloads.
01:08:26.481 --> 01:08:31.545
[SPEAKER_01]: So if you look at my repo, you can see all of my workloads are big YAML files.
01:08:32.505 --> 01:08:35.648
[SPEAKER_01]: Sorry for the people that aren't big fans of YAML.
01:08:36.288 --> 01:08:45.393
[SPEAKER_01]: But yeah, and in those YAML files, you say I need this much memory, I need a storage, a touch storage with this many gigabytes of RAM.
01:08:46.574 --> 01:08:57.039
[SPEAKER_01]: And this is the Docker image that it's running and I need, I want a DNS to point to this pod and have it route through L-rebrequest to that DNS will land on that pod.
01:09:05.704 --> 01:09:11.025
[SPEAKER_01]: And any time, like if I were to go and delete a pod, it would bring the pod straight back up.
01:09:11.145 --> 01:09:21.288
[SPEAKER_01]: If I were to go and manually edit in my Kubernetes cluster, one of my workloads, within 15 minutes, that workload would be reset back to what my git state says it should be.
01:09:22.428 --> 01:09:30.370
[SPEAKER_01]: So yeah, it's similar conceptually to something like Terraform or Ansible, but it's like fully automatic and running on the cluster at all times.
01:09:31.170 --> 01:09:31.390
[SPEAKER_01]:
Nice.
01:09:32.591 --> 01:09:33.191
[SPEAKER_00]: That's very cool.
01:09:33.831 --> 01:09:38.216
[SPEAKER_02]: With so much local data, how do you back that up offsite?
01:09:38.236 --> 01:09:40.559
[SPEAKER_02]: Do you have offsite backups for things like image?
01:09:40.860 --> 01:09:49.530
[SPEAKER_02]: Like, I'm a Google's photo's user, but I do worry that if I was to self-hose my photos that, you know, remember, I'm going to put, I'm going to put one of the clouds on, are you putting them up on the cloud as a backup?
01:09:49.900 --> 01:10:04.070
[SPEAKER_01]: Yes, so I've got so image has it has it's storage mount that is to do with its config that gets backed up hourly and onto my NASA and once a week that will get backed up to the cloud.
01:10:04.731 --> 01:10:16.780
[SPEAKER_01]: But I also back up independently my photos directory, so any photo that gets uploaded to image or otherwise we'll just get sent up to an R2 bucket, a separate R2 bucket.
01:10:17.340 --> 01:10:34.642
[SPEAKER_01]: It's about 1.2 terabytes, so it's quite a, you know, I'm the designated photographer of the family, so a lot of that is just raw photos, but yeah, and that cost me, I think, about 20 bucks a month, which is, it is what it is, but you know, it's a lot of data.
01:10:35.983 --> 01:10:42.345
[SPEAKER_01]: I, that's surprised you sometimes have to pay to have all your data not in the cloud and being machine learned.
01:10:42.986 --> 01:10:44.306
[SPEAKER_01]: That's it, right?
01:10:44.826 --> 01:10:49.448
[SPEAKER_02]: And just at the peril of a price rise email coming to you at any point, right?
01:10:49.588 --> 01:10:49.928
[SPEAKER_02]: Correct.
01:10:50.368 --> 01:10:50.688
[SPEAKER_00]: Yeah.
01:10:50.908 --> 01:10:52.208
[SPEAKER_00]: Well, it's funny.
01:10:52.228 --> 01:10:59.331
[SPEAKER_00]: It looks at R2 at some point for I'm on some ancient grandfather plan, which I actually don't like.
01:11:00.391 --> 01:11:04.333
[SPEAKER_00]: Um, but it's uh, but it's still by far the cheapest thing I've signed.
01:11:04.393 --> 01:11:07.194
[SPEAKER_00]: I said, okay, let me just because I hate this plan so much.
01:11:07.234 --> 01:11:13.678
[SPEAKER_00]: I'm like, let me look dizzy if I can, uh, if I can look at, you know, our R2 among other stuff, right?
01:11:13.698 --> 01:11:20.581
[SPEAKER_00]: And it's like, and it's just like, to for me to back everything up, like, let's, let's, let me tear it by yourself, right?
01:11:20.601 --> 01:11:23.302
[SPEAKER_00]: And it's like, the monthly on that is just brutal.
01:11:23.322 --> 01:11:26.464
[SPEAKER_00]: So I'm just like, okay, yeah, maybe maybe I don't, you, that and stick to my,
01:11:27.953 --> 01:11:35.657
[SPEAKER_01]: And then your backup strategy also needs to consider like, you know, I think home assistance cloud backups use like a snapshot approach if I'm not mistaken.
01:11:36.258 --> 01:11:45.343
[SPEAKER_01]: So you're not like if your home assistance three gig you're not uploading three gig every day you're only uploading the differences over time right and that helps a lot with saving so.
01:11:46.083 --> 01:11:58.089
[SPEAKER_01]: You know, there's some rudimentary approaches to backing up and I think it's, you know, the, the more advanced ones that are, that are there, making sure you're not, it's not costing you too much.
01:11:58.709 --> 01:12:00.390
[SPEAKER_00]: Yeah, yeah, agreed.
01:12:00.670 --> 01:12:02.551
[SPEAKER_00]: That's what that's where it always falls over for me, but.
01:12:02.771 --> 01:12:04.994
[SPEAKER_02]: So Adam, thank you so much for coming on today.
01:12:05.154 --> 01:12:08.197
[SPEAKER_02]: We'll leave links to those GitHub stuff that you've talked about today.
01:12:08.818 --> 01:12:10.500
[SPEAKER_02]: In the show notes on home, Mrs. Suntar event.
01:12:11.441 --> 01:12:12.142
[SPEAKER_02]: Thank you very much.
01:12:12.182 --> 01:12:13.303
[SPEAKER_02]: Thank you so much for having me.
01:12:13.524 --> 01:12:13.764
[SPEAKER_02]: Thank you.
01:12:14.325 --> 01:12:15.206
[SPEAKER_02]: It's been very, thank you.
01:12:15.686 --> 01:12:16.087
[SPEAKER_02]: All the best.