WEBVTT

00:00:00.040 --> 00:00:07.560
on our last episode of lus tech disasters one of the custom liquid

00:00:05.319 --> 00:00:12.960
cooled gaming machines in my home rack sprung a leak pouring gallons of water

00:00:10.440 --> 00:00:18.279
over every system beneath it and my initial thought was oh I forgot to screw

00:00:15.160 --> 00:00:20.640
in a fitting but as it turned out

00:00:18.279 --> 00:00:25.760
despite taking precautions to prevent it it wasn't a fitting not being screwed in

00:00:23.160 --> 00:00:31.400
it was a fitting completely corroding off of the block maybe some of the

00:00:28.240 --> 00:00:34.320
metals in our Looper incomp ible nope

00:00:31.400 --> 00:00:39.000
after spending hours inspecting them every other system's fittings were

00:00:36.800 --> 00:00:45.440
spotless not a hint of corrosion to be seen I was so dumbfounded that I turned

00:00:42.079 --> 00:00:47.719
to the YouTube comments for help and it

00:00:45.440 --> 00:00:51.879
actually worked there was a strong consensus on what the problem was so

00:00:50.000 --> 00:00:56.879
today with the help of pulseway who sponsored this video we're going to

00:00:53.320 --> 00:00:59.359
hopefully Rectify this silent killer and

00:00:56.879 --> 00:01:04.080
add a remote monitoring system so that uh if there ever is another leak hey at

00:01:02.120 --> 00:01:09.240
least I'll know about it before I come home at the end of the day and find that

00:01:06.240 --> 00:01:09.240
my computer peed

00:01:17.840 --> 00:01:25.119
itself the first really good Community theory was that the fancy fuel hose we

00:01:22.520 --> 00:01:30.159
were using as our tubing might use steel webbing to reinforce it which could

00:01:27.520 --> 00:01:34.360
introduce galvanic corrosion but this was actually due to a miscommunication

00:01:31.960 --> 00:01:39.720
on my part it's not fuel hose it's a general purpose hose and it uses a

00:01:36.759 --> 00:01:44.759
textile reinforcement rather than steel so we can scratch that one another

00:01:42.640 --> 00:01:49.280
interesting theory was that a micro crack in the delin plastic of the GPU

00:01:47.439 --> 00:01:53.399
block might have allowed the steel screws that hold it down to come in

00:01:51.320 --> 00:01:58.360
contact with the water but a close visual inspection reveals no cracks and

00:01:56.159 --> 00:02:03.200
the threading for all of those screws is completely clean which suggests that no

00:02:00.759 --> 00:02:07.119
corrosion occurred there a third theory was that a flaw in the plating of the

00:02:04.960 --> 00:02:11.280
affected fittings could allow galvanic corrosion to occur with the underlying

00:02:09.399 --> 00:02:17.360
metal which would explain why some of them were eaten While others remained

00:02:13.280 --> 00:02:19.280
perfect but the thing is when you or EK

00:02:17.360 --> 00:02:22.920
in this case is designing anything that involves metal and water galvanic

00:02:21.280 --> 00:02:28.000
corrosion is something that they carefully consider so while the most

00:02:26.120 --> 00:02:32.560
obvious way to avoid corrosion is to never mix Metals there are are many

00:02:30.400 --> 00:02:36.239
metals that are safe to mix especially when they're not directly connected and

00:02:34.599 --> 00:02:41.519
the underlying material of these fittings is brass which if you consult

00:02:39.000 --> 00:02:47.360
this anodic index should be fine with the copper and other metals in our Loop

00:02:44.200 --> 00:02:49.720
should be fine the story changes when

00:02:47.360 --> 00:02:53.879
you apply a voltage and well we obviously weren't intentionally doing

00:02:51.640 --> 00:02:58.959
that when you have a large power draw in one spot like a couple thousand watts of

00:02:56.239 --> 00:03:03.640
computers in a rack and a low power draw in another spot like a couple hundred

00:03:01.400 --> 00:03:07.799
Watts from a pump you're going to end up with a difference in voltage between

00:03:05.599 --> 00:03:13.120
them which accelerates corrosion dramatically and can make compatible

00:03:10.239 --> 00:03:18.560
Metals far less compatible but the good news is for this solution oh boy oh wow

00:03:16.560 --> 00:03:23.400
we don't have to worry about the details this is an isolation Transformer and you

00:03:21.640 --> 00:03:26.879
might be familiar with Transformers you would use one to take like a low voltage

00:03:25.599 --> 00:03:32.760
and make it a higher voltage or vice versa like to run your sewing machine from Asia yeah if you're in a different

00:03:30.840 --> 00:03:38.280
country that's a big one yeah in this case it's 120 volt on both sides you see

00:03:36.080 --> 00:03:42.560
that made in Canada thanks Hammond Manufacturing but it decouples the

00:03:40.120 --> 00:03:47.200
circuit giving us galvanic isolation or preventing a loop so in a

00:03:45.560 --> 00:03:52.000
nutshell we're taking anything that's plugged into this guy and we're giving

00:03:49.239 --> 00:03:56.400
it absolutely no path back to the main panel it's almost like Wi-Fi for your

00:03:54.400 --> 00:04:00.879
electricity I feel like our analogies are making this worse the point is no

00:03:59.079 --> 00:04:05.360
voltage differ fren wrap it before you tap

00:04:03.079 --> 00:04:08.920
it where do we want to put this thing how about how about up here on top of

00:04:06.920 --> 00:04:12.599
the tank the tank full of water I mean it should be fine right yeah I mean

00:04:10.879 --> 00:04:15.959
realistically while we're here I should probably have the pumps running off the

00:04:14.000 --> 00:04:19.680
UPS you'd have to run an extension cord all the way over there conveniently is

00:04:18.160 --> 00:04:22.240
that an extension cord that's all the way right there yeah I really don't

00:04:21.320 --> 00:04:26.440
think that's long enough I don't think it's worse than that yeah I don't think it's long enough look how long that is

00:04:24.720 --> 00:04:29.400
that's a 25-footer it'll work you want to bet everyone's lunch on it if I'm

00:04:28.040 --> 00:04:34.080
right you pay for everyone's lunch if I'm wrong wrong nothing happens fine it

00:04:32.400 --> 00:04:38.479
has to go all the way down to plug into the bottom UPS it has to be managed sure

00:04:37.039 --> 00:04:43.479
he's literally trying to Cable manage it as much as possible to prevent it from

00:04:40.479 --> 00:04:45.960
reaching dude these are so satisfying I

00:04:43.479 --> 00:04:49.840
will admit they are quite good LTT Store.com let's go that might be the

00:04:47.600 --> 00:04:54.639
best thing you've ever done my kid's right there what no he's

00:04:52.840 --> 00:05:00.680
not oh he's somewhere it's going to be so funny when you lose wow it reaches no

00:04:57.960 --> 00:05:05.360
way no way you're buying 's lunch Get Wrecked fine even though I owe him lunch

00:05:03.199 --> 00:05:09.840
technically yeah one of the big things that you guys

00:05:07.960 --> 00:05:12.919
said was hey no matter what caused this problem you should really have

00:05:11.320 --> 00:05:18.080
monitoring in place so that if it were to ever happen again you would know and

00:05:15.320 --> 00:05:23.280
on top of that we can make automation so if there's a leak shut off the pumps

00:05:21.039 --> 00:05:29.120
yeah it's going to be good theoretically everything is fine

00:05:25.759 --> 00:05:30.960
now I mean but maybe but that doesn't

00:05:29.120 --> 00:05:38.039
mean we're going to jop here okay what's next grounding grounding all right

00:05:34.440 --> 00:05:39.400
you're not going out for a week says who

00:05:38.039 --> 00:05:45.680
you going to stop me I have your stepdad's number keyword being

00:05:42.440 --> 00:05:47.560
step are you going to take that he might

00:05:45.680 --> 00:05:50.680
actually see this to take things to another level we're going to follow

00:05:48.960 --> 00:05:56.880
another recommendation that came up a lot in the comments some of you noticed

00:05:52.880 --> 00:05:59.199
that um I never grounded my rack while

00:05:56.880 --> 00:06:03.360
the systems themselves are theoretically grounded using the third prong of the

00:06:01.160 --> 00:06:09.560
plug that we plug into them the rack itself is not necessarily connected to

00:06:06.199 --> 00:06:12.440
ground so we got a whole bunch of these

00:06:09.560 --> 00:06:16.199
grounding leads and then what we just connect these from the back of every

00:06:13.720 --> 00:06:19.319
chassis to the rack uh you could but we also got this here

00:06:19.360 --> 00:06:25.160
catch o uh like a grounding bus bar so

00:06:23.199 --> 00:06:29.759
you just stick that in the rack and then screw all the little thingies onto it C

00:06:26.880 --> 00:06:32.639
man no no we got this we got this okay oh that just barely fits yeah so that

00:06:31.520 --> 00:06:36.960
could go right there it's almost like it's made for a rack naturally we have

00:06:34.720 --> 00:06:40.800
to ground our grounding bar to something for it to work as a grounding bar

00:06:39.120 --> 00:06:44.720
unfortunately the rack is a bit of a ways from the panel and our electrician

00:06:42.560 --> 00:06:48.240
who is going to do this properly for us is unavailable today so instead we're

00:06:46.720 --> 00:06:54.639
going to have to open up the panel and tie the wires directly into the grounding bar it also means I didn't

00:06:50.960 --> 00:06:56.479
have the correct wire so Linus happened

00:06:54.639 --> 00:07:00.520
to have these like two pretty thick gauge wires so we're going to use those

00:06:58.840 --> 00:07:04.879
instead I also didn't have the correct connector so I cut these hammonded ones

00:07:02.840 --> 00:07:09.199
but connected them onto the long wire and now we have the right connector is

00:07:06.800 --> 00:07:15.080
this how you should do this probably not but it's just a ground it's probably

00:07:11.080 --> 00:07:19.400
fine right reys I don't know what I'm

00:07:15.080 --> 00:07:21.479
doing got it hey it worked there we go

00:07:19.400 --> 00:07:24.840
grounded I'm going to let lonus be the one to open the panel and stick his

00:07:22.879 --> 00:07:28.759
fingers in there cuz it's his house uh so we're just going to leave this for

00:07:26.560 --> 00:07:33.319
now Hammond sent us these sick little grounding kits and they have little just

00:07:31.440 --> 00:07:37.639
blade connectors so you hook one side up to the server one side up to the grounding bar and then if you need to

00:07:35.680 --> 00:07:41.360
take the server out for some reason you can easily disconnect it let's try it

00:07:39.120 --> 00:07:46.479
with one of Linus's Nas units here just unscrew

00:07:43.560 --> 00:07:51.159
that look at that wow now we just repeat like 10 times

00:07:49.960 --> 00:07:54.879
while Reese works on getting all the systems grounded let's talk sensors we

00:07:53.360 --> 00:07:59.039
have three different types starting with our leak sensor although calling it a

00:07:56.840 --> 00:08:02.759
sensor might be you know a bit generous this is B basically just like two wires

00:08:01.319 --> 00:08:06.120
you apply voltage to one side and as your leak Bridges the Gap with water it

00:08:04.639 --> 00:08:11.479
creates an electrical connection between the other side and on that side you're just sensing for any voltage so when

00:08:09.919 --> 00:08:15.039
there's no water it should be zero volish and when there is water say if we

00:08:13.919 --> 00:08:18.840
did 5 volts on this side it'll probably show like one or two volts on this side

00:08:17.159 --> 00:08:23.080
so that works and then we've got a flow sensor this one is really just to tell

00:08:20.440 --> 00:08:26.280
us if say the water runs out or the pump stops working which would obviously be

00:08:25.080 --> 00:08:30.199
bad cuz then the water inside the computers would boil which might cause a

00:08:28.080 --> 00:08:34.120
leak this way we can not ify ourselves if the water is not flowing and then

00:08:31.800 --> 00:08:37.159
we've also got a little float switch very simple this one if it's at the

00:08:35.640 --> 00:08:45.200
bottom current passes if it's at the top current doesn't pass so we stick it in the water tank here at the top and we

00:08:41.519 --> 00:08:45.200
can tell if it's full or

00:08:46.040 --> 00:08:53.279
not I you not this is how we're going to test it later but before we can install

00:08:50.680 --> 00:09:00.519
it we have to drain the loop which is going to be interesting this valve is

00:08:56.760 --> 00:09:02.160
open and nothing is coming out I saw a

00:09:00.519 --> 00:09:05.240
comment somebody said they had experience with hose bibs like that and

00:09:03.680 --> 00:09:08.480
they said that some of the manufacturers started using really crappy cheap

00:09:06.920 --> 00:09:11.519
materials in them that are not necessarily compatible with plumbing and

00:09:10.360 --> 00:09:17.560
I just looked up in there and you know what I saw corrosion I read the comment and I was

00:09:15.160 --> 00:09:22.640
like this is too stupid to be true lonus guess what doesn't happen

00:09:20.720 --> 00:09:27.079
when you open this hose bib

00:09:24.519 --> 00:09:32.120
no you're ballsy stick your phone light up there uhoh can you imagine if that's

00:09:29.480 --> 00:09:37.480
literally what caused all of this you've got to be kidding me you know whole room

00:09:34.480 --> 00:09:39.360
water cooling was exactly the same thing

00:09:37.480 --> 00:09:42.880
it was a vendor cheaping out on the parts that Reservoir was supposed to be

00:09:41.720 --> 00:09:48.279
stainless steel I mean you should have ched a plastic one but it wasn't made of

00:09:46.000 --> 00:09:52.279
stainless steel I use a plastic one yeah you also were the one who speced this

00:09:49.959 --> 00:09:55.320
supposedly brass hose bib smart guy so I bought it from a plumbing store so it

00:09:53.600 --> 00:09:59.040
looks like we were both Bamboozled you don't get to be all yeah but at least my

00:09:57.079 --> 00:10:03.600
idea was like a good one it's also good that I got this particulate filter yeah

00:10:01.600 --> 00:10:08.760
I found one that's plastic actually it's uh polypropylene I think nice oh no it's

00:10:06.680 --> 00:10:11.480
polyester it's like a t-shirt basically what are these made of H well those are

00:10:10.480 --> 00:10:15.560
metal but that's the same type that's already in the loop because I don't feel like going to the plumbing store and

00:10:14.120 --> 00:10:21.800
because I don't trust those things ever again I'm going to make my own valve

00:10:17.519 --> 00:10:24.200
I've got a little guy and a little valve

00:10:21.800 --> 00:10:29.079
look I fixed the leak it's going to get water everywhere

00:10:35.680 --> 00:10:42.240
we have to make sure that we put it the right way there's these very helpful

00:10:39.000 --> 00:10:45.000
arrows that I should follow oh look I

00:10:42.240 --> 00:10:48.320
even Drew arrows on the tubes so I just matched the arrow with the arrow and

00:10:46.200 --> 00:10:54.440
then I can't screw it up hey ree you leak tested this filter

00:10:51.440 --> 00:10:54.440
right

00:10:54.959 --> 00:11:00.279
uh filter installed is that closed

00:10:58.680 --> 00:11:03.920
beautiful water in the filter yay the sensors are

00:11:02.720 --> 00:11:08.200
great and all but they don't exactly work without something to read them in

00:11:06.079 --> 00:11:13.000
the past we bought little like relay or input output boards for zwave or Wi-Fi

00:11:11.200 --> 00:11:17.760
on Amazon but if you seen anything about how Linus's Wireless has been

00:11:15.040 --> 00:11:23.000
working I wanted something hardwired and then I stumbled upon a company called

00:11:19.760 --> 00:11:25.639
sequent Micro Systems which sounds super

00:11:23.000 --> 00:11:29.079
nerdy and to be honest it kind of is all they sell are these custom home and

00:11:27.440 --> 00:11:34.320
Industrial Automation boards and this one which is a Raspberry Pi hat just

00:11:31.320 --> 00:11:35.880
plugs into a rasp pie this one has 16

00:11:34.320 --> 00:11:39.880
Universal sensors on it that means we could handle all seven of the gaming

00:11:37.920 --> 00:11:43.040
computers in here for leak sensors we could put a couple on the floor our two

00:11:41.519 --> 00:11:46.880
flow sensors and still have room to spare it was a little complicated to get

00:11:45.360 --> 00:11:50.480
set up but they actually had really good customer service the guy was emailing me

00:11:48.720 --> 00:11:53.680
back within the hour responding and they have a bunch of different boards you get

00:11:51.839 --> 00:11:59.240
ones that have some sensors some power outputs you can get ones that have mosfets you can get ones that have just

00:11:56.600 --> 00:12:03.200
cereal like they make a lot of different different products and it's actually

00:12:00.920 --> 00:12:10.079
pretty awesome this one in particular requires separate power so you plug in a

00:12:06.200 --> 00:12:12.200
5vt power lead here and then it Powers

00:12:10.079 --> 00:12:15.000
the Raspberry Pi through it directly there's also a battery for a real-time

00:12:13.720 --> 00:12:21.279
clock that's on the board that they use for Hardware monitoring so if the Raspberry Pi becomes unresponsive this

00:12:19.079 --> 00:12:23.920
board can reboot the Raspberry Pi it's one of those things where you wouldn't

00:12:22.199 --> 00:12:27.480
really think about it for a house setup but if you were stuffing this in a wall

00:12:25.440 --> 00:12:30.600
somewhere for industrial controls you want to make sure this thing is

00:12:28.600 --> 00:12:34.360
operational if there's an issue it fixes itself imagine if you had like 200 of

00:12:32.680 --> 00:12:37.480
them right in a perfect world I'd just hook that sensor pin right up to this

00:12:36.120 --> 00:12:41.000
board and be done with it but unfortunately Electronics can sometimes

00:12:39.120 --> 00:12:44.120
be a bit more complicated in our case we need to add something called a pull-up

00:12:42.440 --> 00:12:49.199
resistor and that just makes sure that when there's no pulse being sent the

00:12:46.320 --> 00:12:52.800
sensor reads a high signal like close to our voltage around 5 volts if we didn't

00:12:51.320 --> 00:12:58.160
have that the sensor wire can actually sometimes float between ground and 5

00:12:54.600 --> 00:12:59.959
volts which looks a lot like a pulse

00:12:58.160 --> 00:13:03.800
which obviously we don't want the pull-up resistor makes sure it's only

00:13:01.959 --> 00:13:06.920
ever reading the correct value so it's very important to add if you had an

00:13:05.440 --> 00:13:11.279
Arduino that was reading the sensor instead they actually have a pullup pin

00:13:08.839 --> 00:13:14.560
mode which does it on the board but in our case we're just going to add one on

00:13:12.880 --> 00:13:18.560
this breadboard and in the future we'll just solder it into a piece of wire and

00:13:16.079 --> 00:13:18.560
be done with

00:13:22.600 --> 00:13:27.279
it does the flow sensor work uh yeah we

00:13:25.920 --> 00:13:33.399
literally just finished wiring it let me start screen recording here is it in like a home this done or like what is it

00:13:30.519 --> 00:13:38.360
do to control this no it can be if you want right now I just wrote a little

00:13:36.079 --> 00:13:41.639
script um obviously we have to interpret the data cuz all we're getting is pulses

00:13:40.279 --> 00:13:46.560
uh luckily they just give you a formula you take the pulses per second or Hertz

00:13:44.639 --> 00:13:51.560
and divide by 5.5 that's your liters per minute so I made a little script to do

00:13:47.959 --> 00:13:55.120
that cool hey 9 L per minute so we're

00:13:51.560 --> 00:13:57.320
getting roughly almost exactly 50 pulses

00:13:55.120 --> 00:14:02.480
per second 50 HZ that's the heartbeat of the whole setup and then if we go to the

00:13:59.600 --> 00:14:07.720
other sensor which I did flow to it's off right now right no flow oh

00:14:06.120 --> 00:14:12.240
no flow to the pool right now so what we'll do is adjust this script to send

00:14:09.880 --> 00:14:15.959
that data to the pulseway API and then we can make whatever workflows we want

00:14:13.639 --> 00:14:20.040
in pulseway and then on top of that we can just make a little script that sends

00:14:17.880 --> 00:14:23.000
it to home assistant if you want super home assistant also allows like custom

00:14:21.440 --> 00:14:26.120
components so you could have it on your phone now that the pool Loop is refilled

00:14:24.800 --> 00:14:30.160
and running we should be able to take a look at our flow from both of the pumps

00:14:28.399 --> 00:14:33.399
I found this little terminal app called TTY plot and you can Plum data from a

00:14:32.040 --> 00:14:38.279
script to it and it makes a little graph in your terminal it's very cute this top

00:14:35.560 --> 00:14:43.000
one is the local Loop so if I adjust the speed on the pump here right now it's on

00:14:40.519 --> 00:14:49.959
low if we go to High hey look at that this is the

00:14:45.880 --> 00:14:52.519
Outdoor Loop only pushing around 5 L per

00:14:49.959 --> 00:14:58.440
minute which is pretty low and then the indoor Loop seems to hang out around 10

00:14:55.920 --> 00:15:01.800
5 L per minute yeah that's pretty bad oh hey look everything grounded yeah look

00:15:00.120 --> 00:15:06.240
at that it's all grounded you won't be out for weeks we were we were

00:15:04.320 --> 00:15:09.199
overthinking it each of them we just found a screw and put it underneath the

00:15:07.639 --> 00:15:13.600
screw oh that's great uh the only thing is we didn't ground it into the panel yet so it's not technically grounded

00:15:11.839 --> 00:15:18.680
anything right I did run the wire over there oh okay mostly is this you yeah I

00:15:15.880 --> 00:15:22.480
grounded it huh okay we should probably shut the panel off before we open it

00:15:20.519 --> 00:15:28.560
yeah where's the where's the one for this oh this one oh my gosh okay this is

00:15:26.040 --> 00:15:32.440
not an insulated screwdriver and is not rated for electrical work the only

00:15:30.839 --> 00:15:38.399
reason I'm doing this is because this panel is completely off deenergized I do

00:15:36.440 --> 00:15:45.399
not recommend this don't try it at home Etc oh my goodness who put this in here

00:15:42.079 --> 00:15:46.959
this screw is uh it's like it's shallow

00:15:45.399 --> 00:15:54.720
it's just camming out every time can I try to do it hold on hold on we might not even need it my

00:15:50.959 --> 00:15:58.240
God oh my God zero zero okay so

00:15:54.720 --> 00:16:00.319
everything in here is safe I mean well

00:15:58.240 --> 00:16:03.240
we hope the rack is hooked up now see you got a little ground cable going in

00:16:01.720 --> 00:16:06.639
there definitely not spliced inside the panel uh that

00:16:12.759 --> 00:16:18.240
one now that the flow sensors are working let's wire up a leak sensor like

00:16:16.759 --> 00:16:22.040
I mentioned before we have to apply power to one side so we'll plug this

00:16:20.120 --> 00:16:26.120
into 5vt here and then the other side instead of getting a pull up resistor

00:16:23.839 --> 00:16:29.399
gets a pull down resistor it functions in a very similar way but instead of

00:16:27.440 --> 00:16:32.759
pulling the voltage up to your kind of voltage Supply level it's pulling it

00:16:31.199 --> 00:16:36.759
down to zero because the path goes to ground the last thing we've got to do is

00:16:34.360 --> 00:16:44.319
adjust the sensor on the board to be a 0 to10 volt sensor boom we can see that

00:16:39.560 --> 00:16:47.000
it's reading about 0.17 volts when in

00:16:44.319 --> 00:16:52.399
theory nothing is connected okay if I bridge this now with a screwdriver which

00:16:49.120 --> 00:16:54.720
is metal it goes from like 0.1 volts

00:16:52.399 --> 00:17:00.600
right up to 5 which makes sense when I let go there's no path and it reads 0.14

00:16:58.079 --> 00:17:06.120
now we just need to try with some water hey it immediately registered .5

00:17:04.160 --> 00:17:09.839
volts now instead of printing this to the terminal let's send this data to

00:17:07.799 --> 00:17:13.679
pulseway fortunately for us pulseway has a cool feature called custom fields and

00:17:11.480 --> 00:17:18.039
it allows you to attach custom bits of data to systems an entire site you can

00:17:16.039 --> 00:17:20.720
do it globally if you want typically you would use this with their script system

00:17:19.360 --> 00:17:26.280
say if you wanted to store the bit locker keys for all the systems on your network or the Windows licenses or check

00:17:24.600 --> 00:17:29.320
battery data things that you would only need to read like once a day or

00:17:27.839 --> 00:17:33.120
something like that but in our case we want to read these sensors like every 5

00:17:30.960 --> 00:17:36.880
Seconds fortunately they also have an API so we can just edit our little

00:17:35.440 --> 00:17:40.840
script instead of printing it to the console send it to the pulseway API and

00:17:39.160 --> 00:17:44.039
then that'll set the data while I don't technically need the pulseway agent

00:17:42.400 --> 00:17:47.799
running on our sensor Raspberry Pi I'm going to install it anyways cuz then we

00:17:45.520 --> 00:17:51.360
can have monitoring uh obviously if the sensor Raspberry Pi dies that would be

00:17:49.960 --> 00:17:55.320
not great and we'd want to know about that once it is installed it's really easy to connect to the account they

00:17:54.120 --> 00:18:00.679
actually have a command called like pulseway registration just go register

00:17:57.880 --> 00:18:04.600
no proxy C custom server yes and just pops out this big QR code and Bam it

00:18:03.400 --> 00:18:10.559
updates the config file and starts running pulseway we should be able to see it in the pulseway window now hey

00:18:08.000 --> 00:18:14.280
look at that Dreamhouse sensor Pi 4 now let's send some data I went ahead and

00:18:12.600 --> 00:18:18.000
created a couple custom fields in pulse white one for the flow rate of the loop

00:18:16.159 --> 00:18:22.960
inside the house and one for the flow rate of the loop that goes to the pool

00:18:19.640 --> 00:18:24.640
and then when we run this output updated

00:18:22.960 --> 00:18:31.360
count 9.45 and then if we go to the site if we

00:18:28.200 --> 00:18:34.240
go to Sebastian Dreamhouse custom fields

00:18:31.360 --> 00:18:39.559
we can see that it's 9.45 let's see if it stays that way if I go ahead and turn

00:18:36.640 --> 00:18:44.039
the pump down boom 8.72 perfect now we just have to install

00:18:42.240 --> 00:18:48.400
pulseway on some machines so we can make them turn off when bad things happen

00:18:47.120 --> 00:18:52.520
we're first going to make a workflow in pulseway I made one here called shut off

00:18:50.280 --> 00:18:55.200
water cooled computers ideally you would make a system group and then put all the

00:18:54.120 --> 00:19:00.240
systems in it but for now we're just going to use this one which is land five and just set that manually I'm creating

00:18:58.559 --> 00:19:03.360
this is an ad hoc workflow which means you have to manually trigger it but you

00:19:01.760 --> 00:19:07.400
can also set them up to run on a schedule say like every day at 2: a.m.

00:19:05.880 --> 00:19:13.080
or you can set it to run based off of a notification like CPU usage too high or

00:19:09.600 --> 00:19:15.000
disc full then we just say shut down and

00:19:13.080 --> 00:19:19.000
there isn't an option to just shut off computer because this is like an IT

00:19:16.880 --> 00:19:22.480
management solution right generally you don't want to like fully shut off a

00:19:21.039 --> 00:19:27.880
computer because now you can't manage it anymore they do have an option for reboot but we're going to say execute a

00:19:25.480 --> 00:19:32.240
power shell command of shutdown I'm also going to add a send EMA email task if

00:19:29.760 --> 00:19:35.000
the condition check fails because it would be a little weird for this

00:19:33.200 --> 00:19:40.799
workflow to get triggered and then the custom field read a value that's fine

00:19:38.720 --> 00:19:44.880
like you there's something wrong at that point so we should we should get

00:19:42.760 --> 00:19:48.480
notified if that's the case if the flow goes below one liter per minute it

00:19:46.400 --> 00:19:54.000
should shut off land five it should have it should have done it did it do it uh I

00:19:52.200 --> 00:19:58.799
wouldn't say that it's definitely run the you're

00:19:56.320 --> 00:20:03.480
about to be signed out Windows will shut down in less than a minute what no way

00:20:01.679 --> 00:20:08.600
wait it's going to shut down in a minute it says it says less than a minute she's

00:20:06.360 --> 00:20:11.679
shutting down boys maybe I need to adjust that script a little bit to make

00:20:10.080 --> 00:20:17.360
it a little more urgent in terms of the shutting down but not bad yeah and when

00:20:14.840 --> 00:20:21.600
we combine that with the leak sensors basically we can set it so that in the

00:20:19.559 --> 00:20:26.400
event that something goes bad everything shuts off the last part

00:20:24.760 --> 00:20:29.760
of our little Electronics project here is being able to turn the pumps on and

00:20:27.760 --> 00:20:32.720
off so if we detect it leak from one of the leak sensors we can shut off the

00:20:31.480 --> 00:20:42.919
pump and limit the amount of water that gets out and the amount of damage how do you do that with relays each of these is

00:20:37.400 --> 00:20:46.440
a 40 amp 250 volt relay which is way

00:20:42.919 --> 00:20:49.200
overkill for what we need I can just

00:20:46.440 --> 00:20:52.960
plug a Serial cable into this which is in this case an Ethernet cable and plug

00:20:51.240 --> 00:20:57.080
the other side into our sensor board and then control this remotely from the

00:20:55.240 --> 00:21:01.720
raspy and the sensor board that means we can put this right next to the pumps run

00:20:59.000 --> 00:21:04.559
an etherite cable back over here and Bob sh Uncle we can control the pumps

00:21:02.919 --> 00:21:07.640
remotely long term I think we could mount it in the big isolation

00:21:05.960 --> 00:21:11.320
Transformer box that actually has a switch already so we could probably just

00:21:09.360 --> 00:21:16.360
wire this up to the switch but for now we're just going to do this to try it

00:21:13.080 --> 00:21:18.799
this is um not my finest work but I've

00:21:16.360 --> 00:21:22.919
spliced the relay in between the load wire on this power bar and these are all

00:21:21.360 --> 00:21:28.159
connected with won nuts so they should be relatively safe and if we plug this

00:21:25.240 --> 00:21:30.520
in this power bar should not be powered d

00:21:32.279 --> 00:21:37.679
power bar not powered that's good now

00:21:36.159 --> 00:21:44.200
let's plug in the relay board it does need its own source of power specifically 12vt instead of 5vt this

00:21:41.039 --> 00:21:45.360
time so we'll wire that up here there's

00:21:44.200 --> 00:21:50.200
also a few dip switches you want to toggle on this board we enabled TX and

00:21:47.240 --> 00:21:53.200
RX and then the termination switch and then we just did the termination switch

00:21:51.480 --> 00:21:57.240
on this side that's because each of these is the end device if you had a

00:21:55.480 --> 00:22:01.840
bunch in between Daisy chains you would just turn the termination one on on each

00:21:59.679 --> 00:22:05.200
one on the end if the board was mounted directly on the Raspberry Pi we could

00:22:03.240 --> 00:22:08.720
use their command line Library directly but instead since it's going over cial I

00:22:06.720 --> 00:22:12.320
had to turn off the cereal functionality on there so it's just passing through

00:22:10.559 --> 00:22:18.760
and then enable cereal on the Raspberry Pi and in theory

00:22:15.320 --> 00:22:20.880
hey cool you see them

00:22:18.760 --> 00:22:24.559
clicking now we can plug this

00:22:24.960 --> 00:22:32.240
in you ready yeah on see that's l up and

00:22:30.039 --> 00:22:36.840
then we go off now I've just got to make a little script to toggle it based on

00:22:33.919 --> 00:22:40.600
the leak sensor and hope it works so we've done the demo where if the pump

00:22:38.240 --> 00:22:45.440
fails the systems turn off but what we haven't demoed is if a leak sensor gets

00:22:43.080 --> 00:22:50.400
triggered the pump turns off well let's do it okay I'll go lick a leak

00:22:48.240 --> 00:22:55.279
sensor 5 Volt's not going to hurt I've licked a battery before but how many

00:22:52.159 --> 00:22:56.520
amps is it 5 amps it's fine 5 amps yeah

00:22:55.279 --> 00:23:01.080
I wouldn't lick that I'm going to lick it I wouldn't lick that I'm going to do it well make sure you get it on camera

00:22:59.480 --> 00:23:06.360
yeah yeah fine fine I won't lick it I'll just dip it in the water on the floor go

00:23:03.000 --> 00:23:10.000
for it and

00:23:06.360 --> 00:23:12.200
dip oh my God all right we've got a

00:23:10.000 --> 00:23:17.000
light on that same power bar oh well did the flow stop I mean yeah okay now let

00:23:14.799 --> 00:23:22.320
me unlick okay obviously we have to fix up the wiring here a little bit is it

00:23:19.440 --> 00:23:26.279
going and she's gone hey so

00:23:24.320 --> 00:23:30.039
theoretically well there's a lot more protections than there were before most

00:23:28.679 --> 00:23:35.080
of them are just sitting on the concrete floor so if it leaks I'm sure they'll work

00:23:32.640 --> 00:23:39.520
great I have a box we'll put it all in a we'll make it nice you know it also work

00:23:36.760 --> 00:23:43.279
great pway who sponsored today's video you should try a free trial of pway

00:23:41.400 --> 00:23:48.960
today and as a member of our audience you can save 40% on all of pulse's plans

00:23:45.960 --> 00:23:50.559
just go to LMG Dogg lt24 or click the

00:23:48.960 --> 00:23:54.000
link down in the description thank you so much for sponsoring this video

00:23:52.240 --> 00:23:59.080
pulseway is your solution for Remote Management of all manner of systems not

00:23:56.440 --> 00:24:02.600
just janky basement water water cooled ones yeah we built our own monitoring

00:24:00.840 --> 00:24:05.880
system and then used pulseway to do all the system stuff and they have a fully

00:24:03.960 --> 00:24:10.320
featured mobile app so you can diagnose and even fix problems on the go yeah

00:24:08.440 --> 00:24:14.400
like if your pump stops working yeah you'll know even when you're in France

00:24:12.360 --> 00:24:17.799
Windows updates uh temperature monitoring you won't be able to do

00:24:15.720 --> 00:24:20.799
anything about it disc usage monitoring but you'll know no you can call your

00:24:19.080 --> 00:24:25.720
team get them to do well you think I'm going to come to your house and fix your water tooling while you're in France

00:24:23.200 --> 00:24:28.640
it's the pulseway pitch oh that would be helpful
