text
stringlengths
9
408
[1045.96 --> 1047.50] Well, I have a voice tube out there.
[1047.78 --> 1048.98] It's the lady cylinder.
[1049.68 --> 1055.64] And I, I don't know, I've kind of really gone off shouting orders across the room at these things.
[1056.66 --> 1063.26] I, in the rental house last, or before we bought this one, everything was on the Google voice system.
[1063.26 --> 1068.86] But I didn't set any of that up once we moved, and I haven't since, and I, I just don't miss it.
[1069.24 --> 1074.66] I mixed on it myself because there's sometimes you have to restate yourself and you always feel like a fool when it, when it gets it wrong.
[1074.88 --> 1079.40] There's always that thing where you're making eye contact with the cylinder, waiting for it to light up.
[1079.44 --> 1080.06] And I'm like, oh.
[1080.52 --> 1080.66] Yeah.
[1080.68 --> 1086.14] And then in my situation, you add every time we're off grid, of course, the voice transcription doesn't work.
[1086.22 --> 1088.94] So that's really where I was like, okay, we got to have tablets.
[1089.14 --> 1092.60] And also it's nice to glance at it and just see what's on and what's off.
[1092.60 --> 1094.52] So how did you go about accomplishing this?
[1094.82 --> 1099.08] Well, I put Lineage OS, which is an open source version of Android.
[1099.40 --> 1104.08] I think it's what came out of the Cyanogen mod project a few years ago.
[1104.36 --> 1104.54] Yeah.
[1104.66 --> 1107.54] I put Lineage OS 12 on this tablet.
[1108.06 --> 1116.70] And performance is better than the Amazon OS that was on there before, but it's still a six-year-old device.
[1116.84 --> 1117.46] You know what I mean?
[1118.20 --> 1120.22] Well, any performance improvement would be good.
[1120.26 --> 1121.74] This has crossed my mind before.
[1121.94 --> 1123.06] I have thought about doing this.
[1123.10 --> 1125.26] I just wasn't sure if it was really worth the bother.
[1125.66 --> 1127.52] It was a bit of a pain, right?
[1127.52 --> 1141.52] I had to unlock the bootloader, which involved, I had to take the back off the tablet, bridge a couple of pins on the motherboard to ground the bootloader out so that it would boot into the bootloader mode for Android.
[1141.62 --> 1145.52] I don't know if you've ever done anything with ADB and fast boot.
[1145.86 --> 1146.66] A while ago, but yeah.
[1146.66 --> 1152.06] I had to use those tools to put a custom recovery partition on there.
[1152.08 --> 1161.36] So I used Team Win Recovery Project, TWRP, and sideloaded on there a bunch of different APKs and the Lineage OS ROM.
[1162.02 --> 1168.42] This process probably took me an evening of mostly futzing about and getting into that bootloader mode was the hardest part.
[1168.66 --> 1170.78] Are you using Windows to do any of this?
[1170.78 --> 1175.62] I mean, I have all three in this room, so I, you know, between the different devices.
[1175.96 --> 1177.48] Does it require Windows is what I'm asking?
[1177.64 --> 1178.84] Do you need Windows?
[1178.98 --> 1179.44] Because I'm out.
[1180.02 --> 1182.08] That's a disqualifier for me right there.
[1182.22 --> 1184.80] I think this one works best under Linux.
[1184.94 --> 1187.60] I actually just used a Raspberry Pi in the end.
[1187.70 --> 1188.16] Oh, okay.
[1188.52 --> 1189.32] I have those.
[1189.60 --> 1190.34] I know you do.
[1191.28 --> 1194.88] I ended up just using a Raspberry Pi with Ubuntu on.
[1195.44 --> 1196.00] All right.
[1196.02 --> 1197.10] Now you're talking about language.
[1197.42 --> 1198.98] So it took you a little bit of an evening,
[1198.98 --> 1203.30] but it sounds like if I followed some tips from you, maybe it wouldn't take me that long.
[1204.02 --> 1208.22] Well, this is for the specific revision of the 2015 7-inch Fire tablet.
[1208.54 --> 1211.48] So I don't know if the newer ones have a more locked down bootloader.
[1211.70 --> 1215.10] That's the key is once you can get a custom recovery software on there,
[1215.60 --> 1217.56] you can install whatever image you like.
[1217.56 --> 1224.32] My first question, once you get the OS on there, is do you do GApps and do you need GApps for this tablet?
[1224.62 --> 1227.22] No, you definitely don't anymore because of FDroid.
[1227.22 --> 1232.60] So my use case was to use this thing exclusively for Home Assistant.
[1232.96 --> 1233.06] Right.
[1233.24 --> 1238.44] And so LinearGOS, out of the box, ships with no Google software whatsoever,
[1238.80 --> 1241.60] which is awesome on such an underpowered device.
[1242.30 --> 1243.86] And then so I just loaded FDroid.
[1243.96 --> 1249.80] I went to the FDroid website, enabled unsigned or unknown sources for APK installation,
[1250.50 --> 1254.68] installed the FDroid APK, and now I have a Google-less app store.
[1254.68 --> 1257.16] And Home Assistant is available in that app store.
[1257.32 --> 1258.84] So happy days.
[1259.22 --> 1260.26] And how are you doing the screen?
[1260.38 --> 1261.24] Are you letting it sleep?
[1261.32 --> 1262.52] Are you leaving it on all the time?
[1262.78 --> 1268.62] Because it's going to be used very infrequently, I have just used the standard lock and unlock.
[1268.92 --> 1271.28] And it's going to take me a couple of taps to unlock the screen,
[1271.40 --> 1274.80] but I use it a couple of times a day, if that.
[1275.30 --> 1276.58] Yeah, that makes sense.
[1277.04 --> 1280.74] Now, the other question I have is, are you using the web dashboard,
[1280.74 --> 1284.44] or did you load the Home Assistant app and interface with it that way?
[1284.74 --> 1288.00] Yeah, I loaded the app through FDroid and the performance.
[1288.32 --> 1292.02] So I have a lot of experience with how long it takes to load that app on my phone.
[1292.26 --> 1294.76] And it can take a beat sometimes.
[1294.90 --> 1302.80] Performance of Lovelace and the interface of Home Assistant could be better, shall we say,
[1302.90 --> 1303.94] even on modern hardware.
[1303.94 --> 1308.94] So you can imagine on this six-year-old device, it takes a good 10 seconds to load.
[1309.22 --> 1310.48] Once it's loaded, it's fine.
[1310.54 --> 1311.92] And it works just fine.
[1311.96 --> 1314.72] But it's that initial load that can take a while.
[1315.14 --> 1317.58] If you have a guide or anything like that, is there something we could share in the show notes?
[1317.86 --> 1318.84] Yep, it's already in there.
[1319.04 --> 1319.36] Aha!
[1320.08 --> 1322.12] That'll be at selfhosted.show slash 44.
[1322.62 --> 1325.10] We talked about HealthChecks.io last episode.
[1325.22 --> 1329.02] And in there, I asked you about monitoring if APIs or services are up.
[1329.04 --> 1330.16] And you mentioned Prometheus.
[1330.16 --> 1336.04] Prometheus, well, I want you to tell me more about it because we got a few people that bit via email.
[1336.52 --> 1337.20] Yeah, we did, actually.
[1337.48 --> 1342.58] And I was quite surprised to see just how many people either already used Prometheus
[1342.58 --> 1347.62] and wanted to tell me all about how awesome it was or didn't use it and wanted to know more.
[1347.70 --> 1348.76] So here's a little primer.
[1349.46 --> 1355.30] Essentially, Prometheus scrapes data on remote servers, gathers it into one place.
[1355.30 --> 1364.74] You write queries to query that data and present it in a dashboard or forward on certain things to something called Alert Manager,
[1365.02 --> 1366.86] which can then alert you.
[1367.00 --> 1371.76] So if your disk percentage, for example, on a remote system goes above 80% used,
[1372.26 --> 1374.62] you could have it notify you of that and say,
[1374.98 --> 1378.64] hey, you should probably go and delete some stuff before this server fills up.
[1378.64 --> 1383.98] Now, what I ended up using it for is my VMware box downstairs.
[1385.14 --> 1386.50] It's now just my HomeLab.
[1386.60 --> 1387.80] It's not actually my main server.