sorted by: new top controversial old
[-] Lifebandit666@feddit.uk 3 points 2 hours ago

Who gives a fuck what an old dead lizard thought?

[-] Lifebandit666@feddit.uk 5 points 17 hours ago

Now you've got me wondering what marshal art Armish Ninjas would learn.

Like where I'm from in Yorkshire the marshal art is Ekky Thump, and in Scotland they learn Fah Kyoo...

Kung Plow?

[-] Lifebandit666@feddit.uk 20 points 19 hours ago* (last edited 16 hours ago)

For anyone else wondering how I'm keeping track of who's where, https://espresense.com/

I tried Room Assistant a year or 2 ago and it SUCKED. I have a 4 storey townhouse and had 2 nodes running Room Assistant and I could be stood next to 1, two floors away from the other and that's the one it said I was closest to.

The idea is that by detecting the strength of the Bluetooth signal, the node with the best signal was closest, but it just didn't work (for me).

Anyway espresence is better, especially because I've doubled up and I bought 4 esp32 boards with pins off AliExpress for under £12, and arrived within a week.

You connect the little chip to your pc and flash a firmware from Google Chrome, then hook it into your WiFi, go to its page and give it a name, and hook it into your MQTT.

4 boards later I have a node per floor.

Next I added our phones to it by pairing them to it, then deleting the pairing on the phone. Add the Bluetooth connection to HA config and you're away! Well...

So you have to connect what the boards say to what it means in HA yourself. You get "bedroom" off Espresence and have a Bedroom zone but you have to put the pieces together yourself.

I ended up making binary sensors for each room in Node Red. Did I leave the room? Who else is there, nobody? Ok mark it clear... You could just make helper switches and use them but I was feeling fancy. I've already posted recently about the Binary sensor.

But once you've done that, you just base your automations off the state of the switches you made.

So the age old "The front room motion sensor stopped detecting, should the lights go off?" question, now becomes...

Huh I must have stopped typing there...

...much easier to solve. I can still have the old "TV on?, wife's laptop connected to Bluetooth?" bits in, but having Bluetooth presence detection AS WELL makes it much more reliable, for a measly £12

[-] Lifebandit666@feddit.uk 4 points 19 hours ago

Wouldn't even have to be ninjas tbh, but yeah fuck it, ninjas!

[-] Lifebandit666@feddit.uk 16 points 19 hours ago

Meh, disagree.

[-] Lifebandit666@feddit.uk 1 points 20 hours ago

Yup espresence

[-] Lifebandit666@feddit.uk 8 points 20 hours ago

Espresence, it tracks Bluetooth and guesses which node it's closest to, it's guesses are really good

101

"Hur Hur that's what a timer on your phone is for dude"

Yeah but this was a smart plug that was going dusty in a drawer!

Anyway it's not the notification that makes my brain tickle in that special way, but the fact that my HA takes note of who was in the kitchen when the air fryer was started and only notifies the floor with that person on when it's done.

Now I've worked that logic out with a silly Air Fryer notification I can reuse it in all my other automations.

[-] Lifebandit666@feddit.uk 2 points 1 day ago

A month later and I have to say my automations are so much cleaner!

I started using HA's automation engine just to have a go. I bought some ESP32 sensors and set up ESPresence and thought it was time to reinstall Node Red.

What I've done is just made a presence page for all the complicated logic, then separate pages for rooms and automations.

So my Front room gets quite complicated so it has it's own page but hallways just require motion sensing and maybe illuminance, so there's just a Hallways page.

I've also discovered how to make Binary Sensors in Node Red so I've less need for all the Input Booleans I once used.

I'm a week in to having an espresence node on each of my 4 floors and it's just really useful. Motion sensor stopped tracking motion? Well is someone still on that floor? Yeah? Don't turn the lights off then...

I'm currently moving my HA automations back in to node red and there's some bugs when I forget to turn off the HA counterpart, but that will go as I clear out the automations.

[-] Lifebandit666@feddit.uk 7 points 2 days ago* (last edited 2 days ago)

It was the early days of the internet and I liked Metal music.

To get me some legal Metal I had to catch a train to the nearest city for like a half hour trip, then walk around to the tiny metal shop and hope they had the CD I wanted.

And I did that. I bought a CD a week from the local store and went on monthly trips to the City.

But I also got them off torrents. Sure it may take a week to download a track but that meant just leaving my PC on.

So I built up a collection. I copied the CDs I bought. I made track lists of the best songs and made my own compilation CDs and took them to work at Deep Pan Pizza, and we would put them on while throwing pizzas at the customers.

I ended up with a DJ case of copied CDs which is still on my loft. They weren't all downloaded, but copying media is Piracy, and I made CDs for my friends. Fartknocker Volumes 1 and 2 are still talked about by my old friends because they were full of Bangers.

Now I have a Spotify Family account and every few months they add a quid onto the price. The other day I put on The Global News podcast by the BBC and it had adverts in it! I pay my licence fee for the BBC, they don't do advertising. Pisses me off.

So now I use Audiobookshelf for my podcasts. Currently I'm curating a music collection I've pulled from my old iPod in my car. Not sure it's feasible to replace Spotify but I can try

[-] Lifebandit666@feddit.uk 2 points 2 days ago

Congratulations!

That Baby will want some Peppa Pig (mine are over a decade old now so yes I'm out of date) in the future so your stack will come in useful again!

My Babies want Anime now

[-] Lifebandit666@feddit.uk 1 points 2 days ago

What was that noise from upstairs? Probably a murderer!

Is the noise it would make

[-] Lifebandit666@feddit.uk 4 points 5 days ago

Cool, I'll keep tinkering and let you know when I reinvent quantum computing

15
submitted 5 days ago* (last edited 5 days ago) by Lifebandit666@feddit.uk to c/homeassistant@lemmy.world

This week I've been playing with Espresence, which for anyone that doesn't know, is a program that runs on an ESP32 and tracks Bluetooth. It then has a guess where you are based upon the strength of the signal.

So a little backstory, I recently wiped out my HA server and didn't have a backup so I've started from scratch. Since I've started from scratch I've been avoiding Node Red and just using the HA automations, but I am a NR boy at heart.

Previously my bathroom light automation in NR was a massive flow of door, motion, leak sensors.

When I added espresence I decided to reinstall NR to add these new sensors into my automations, and found the Binary Sensor node, so I had a play and managed to make a Front Room Presence binary sensor.

"This is pretty good" I thought and made another for my bathroom, taking in all the sensors I used previously. But this time they triggered a binary sensor instead of the lights.

Now I have the binary sensor triggering the light automation, with extras here and there (like guest mode being on, trigger the lights from the hallway sensor instead of the bathroom sensor. The light automation looks much cleaner and presence is all done on one page.

So I'm using the binary sensor in 2 ways here, as an addition to the motion sensor in my front room, and as a replacement for a full blown automation.

Functionally it's not really any different to using an input boolean helper, but I can make this binary in NR itself.

Edit: Gotchas

So I should probably tell you about the big Gotcha in creating a Binary in Node Red.

You need to set the msg. from string to Boolean. So for each binary you need a Boolean true and a Boolean false nose to set it off and on. Everything else was pretty simple

28

I've been in the HA world since the time the government placed the world under house arrest. Since then I've seen all sorts of amazing things people can do with an esp32 device.

So I'm late to the game. I always thought it may become a dangerous rabbit hole so I've just avoided it. But apparently I have 4 coming today so it's about time to ask you guys what you do.

My first project was gonna be getting some Bluetooth tracking going on around the house to get some room prescence going on.

I also read I can make some seat/bed sensors with a little wire, aluminium foil, paper and a folder-insert, that sounds like it could be fun.

I have a breadboard and a bunch of components I bought when I first got a Pi. I don't know how compatible these components are with esp32s or what the hell I can do.

I don't have a soldering iron (yet).

So basically: noob post, gimme some easy projects that don't require a lot, or wow me with your esp projects.

56

I saw an appreciation post for Gluetun on here in the last couple of weeks. I'd set it up before my server died and I had to reinstall everything, but then gone for the easy method when I was reinstalling.

So my easy method install had a VM as a server running Plex and Docker and a second VM with Mullvad installed running anything that needed a VPN in Docker.

Yesterday I opened up a program behind the VPN and it wasn't working again. I had to restart the VM to get it going and it annoyed me. So before work I set up Gluetun.

I had previously used this walkthrough https://youtu.be/9dJPOd0XbN8 so I went back to it, looked in the notes and found his GitHub, then his docker compose under Torrent-VPN.

I stole his initial Gluetun config and the qBittorrent part, but then went into Portainer and took all my running containers and added them to the file. I took the ports out of each compose file and added the "network mode" and "depends on Gluetun" bits from the qBittorrent part of his config and added them to each compose file I added to the file.

Then the ports I had removed I added to the Gluetun part of his compose file.

Downloaded a config file for Mullvad and added the IP and private Key to the Gluetun compose.

Then launch the stack and it worked.

Now for the Gotchas. I had to go into Portainer to get the IP address that the whole stack used. This IP address was required to get containers talking to each other. If you need Sonarr to connect to Prowlarr it needs this IP address.

Also the downloader (he uses qBittorrent and I used RDT client) needed to be mapped using "localhost" for each container and the port

But other than those Gotchas it was quite easy and I managed to get everything set up an hour after finishing work. This was because I just used backups of my already running containers and restored them in the new ones, then edited the bits that had changed (IP addresses in my Gotchas)

The upside is that I'm now only using the one VM, meaning I've saved 4gb of RAM.

I can use that ram for something else now. Nextcloud? Immich?

Hope this helps someone else.

59

So last week I had a Proxmox fuckup and lost everything. I learnt the hard way what living without backups is like and I don't recommend it.

Silver lining is that I don't have to tidy up all those old automations and entities anymore.

Anyway it made me realise what I'd miss if I didn't have them, because I didn't have them.

I've been really really tired this week. I get up at 5am and start work at 6, and while I don't like it, I usually cope with it better than most and have comments about how "It's too early for you." But not this week.

I've put it down to losing my connection between my alarm clock and HA. I use SleepAsAndroid and have done for a long time. Back when I started it was because it connected to Tasker, but over the years I've moved to HA and still use it.

SleepAsAndroid with Tasker was done with web hooks but I use the MQTT integration with HA. This means it's connected when I'm home but not in network when I'm away, so it can't fire the messages, which is what you want.

Previously I used Node Red to set up this automation but I haven't reinstalled it yet, I'm seeing if I can do it all on HA, then it's one less thing and I can automate in the app.

I spent a while this morning trying to figure out how to reintegrate it with HA and struggled, but eventually I found an integration in HACS which meant I just had to change my device identifier in the alarm app by adding /MyName to the end of the SleepAsAndroid topic so it reads SleepAsAndroid/MyName, add the HACS integration and then add it again in the Integrations pane, with MyName plumbed in.

Then I added a blueprint from the add ons page and left the house to go on a day trip.

In and amongst the day trip I've been making my automation on the HA app via the blueprint, and have come home, loaded a bowl and set my alarm for 1 minute time, then smoke the bowl and wait...

Success!

Hopefully I'll have more energy this week when I wake up to my lights turning on, instead of complete darkness and a strange noise.

Now what would you miss that isn't obvious (like motion activated lights)?

29
submitted 1 month ago* (last edited 1 month ago) by Lifebandit666@feddit.uk to c/selfhosted@lemmy.world

I've got 3 HDDs connected to my Proxmox machine via usb3. They worked fine until this week. I have them mounted and passed through to OMV.

One failed on Sunday. It was fine one minute, I rebooted and Proxmox wouldn't boot...

Couldn't work out why it wouldn't boot and reflashed Proxmox, losing all my machines (I have since learned the importance of backups since I had none).

I've spent 4 days rewriting it all. Rebooted last night and it happened again, but this time I noticed that it was struggling to find one of my drives and edited them out of Fstab and got it booting again.

I've since added 2/3 drives back in by adding "nofail" to my Fstab entries but my main storage drive is now showing as 100gb instead of 1tb and won't pass through to OMV.

I've come to the conclusion that they were mounted by label and "forgot" their label, hence wouldn't boot, they're now mounted by UUID.

So has anyone got any tips on the best way to mount these things without killing my whole setup?

Also if anyone knows why my storage is showing as 100gb in Proxmox and won't pass through to OMV now I would be eternally grateful. Kinda want to get the files off that drive...

79

I thought I had a backup. I use the Gdrive add-on and it should have had a backup.

I didn't have a backup.

Turns out when I moved from a Pi to Proxmox I didn't set Gdrive add-on up properly, so it wasn't making backups every 3 days like it always has.

Then I killed Proxmox. No idea what I did to kill it, I just tried to make my NAS VM have 4gb ram all the time instead of Ballooning from 1gb, and it never booted again.

So I had to start fresh. But while I've only been playing with VMs for a couple months my HA instance has been a work of love since Lockdowns and COVID times.

And now I'm starting again.

Now go and check your backup solution.

37
submitted 1 month ago* (last edited 1 month ago) by Lifebandit666@feddit.uk to c/selfhosted@lemmy.world

I'm about a month in to playing at self hosting.

I'm currently trying to get a great media server solution going on. I'm trying to containerise as much as I can and have everything sharing a NAS for content.

The last few days I've been adding music to my NAS for the Music server, LMS aka Squeezebox.

I've always liked that I can use LMS with my Google Minis and anything that can run it, and I've seen software for esp32 chips...

Anyway just ripping the 13050 tracks off my old iPod was a slog, and because I can't seem to get more than 4mbps transfer rates it's taken a couple days just to smb transfer the music to the NAS.

Now I passed a Tb HDD through to Open Media Vault so I thought I'd just learn to mount a network share to my Ubuntu container running the Squeezebox server using the same method, Fstab.

TWO DAYS I've been trying to mount in fstab and all I'm hitting is kernel errors or syntax errors. 2 days... It's time to give up.

So I've turned off the PC to get in the bath, and just had a quick look at PCP, the all in one LMS os. I once had it running on a pi zero...

It only has a goddamn dedicated UI portion for adding a samba share!

Tomorrow I will spin up a copy and get it working, THEN I just need to do all my current customisations to THAT instance instead... I'm already in Version 2 of my LMS attempts, so this will be Version 3.

But: my ARR/Plex stack is Version 2 too, version 3 is gonna be Version 1 (Docker) but better (with stacks, mount points and another go at Wireguard, but with NAS and Ubuntu instead of Windows.

Sometimes you've just got to go AFK and make a decision to burn it all down and start again.

Update: I've tried to get PCP running in Proxmox with no dice. Instead I've got Squeezelite running on a pi4b. That has freed up a pi3b which is now running PCP.

30

I'm using Heimdall to easily access my self hosted stuff ATM. I would like for my family to use them too if they're so inclined, but there's no way they will be able to remember the IP addresses, I know I can't!

Is it a DNS I'm looking for? If so, I'm already hosting a couple of instances of Adguard, can I just set it so that Plex is 192.xxx.x.47 and snapdrop is 192.xxx.x.53 and use that to resolve the request so my 13 year old can just type Plex into his browser and find it?

Or do I need something like Caddy or Nginx or something in between?

Thanks for any advice.

89

I'm a noob to all this, and love this server. I've recently set up Proxmox and Portainer, got Home Assistant transferred onto my new computer and set up an Arr stack on Windows VM.

I kept adding storage to that stack until it was talking half my internal storage so I bought a usb3 cable and hooked up an old 1tb HDD I had lying around.

I decided I wanted NAS storage with the HDD. I had already set up OMV but it was being a bit funny. Whenever I logged in to it I had no options, so I couldn't add the HDD to it.

So I did some looking around and found TrueNAS. Installed it and started fiddling. Jesus it's hard work to just add an SMB share from it!

After literally hours of tinkering I still was no closer so I gave up and went for a bath.

In the bath it occurred to me that maybe I was logging in to OMV wrong. I fired up the browser on my phone in the bath and instead of logging in with my name, I tried "admin" and lo and behold there is all the options I couldn't see before.

5 minutes later I had half a tb in an SMB share, and then it was a simple case of making network shared folders on all my windows machines.

Thought you guys may be amused by the noob error of logging in as Admin.

13

I've recently migrated from a raspberry pi 4b to a dell Optiplex running Proxmox and I'm having a lot of fun with it.

One of the services I have running is Raspotify, which allowed me to plug my pi into a speaker and run Spotify through it.

I had a quick go passing the audio jack through to my HA VM and it just stopped working completely. Only after removing the pass-through did it work again.

So if anyone has managed it, what do? Do I use SPICE as a driver or none? Which device is it?

Thanks

23
submitted 4 months ago by Lifebandit666@feddit.uk to c/cubers@lemmy.world

I've recently bought a Tornado V2 and a WRM V9. I've had the Tornado for a couple of months and treated myself to the WRM V9 just after Christmas.

After watching videos about both cubes everyone raves about the Tornado and it's adjustment system. Did you know its the cube Max Park uses? Yes, yes I heard it a bunch already.

So I got it and the first disappointment was finding one of the corner magnets was missing out of the box. Like I spent £35 on a fucking cube and it's missing a magnet!

Upon closer inspection the magnet was in the corner piece, I could hear it rattling around. So I had to take the corner to bits and refit the magnet. These things are held in place by a TINY bit of plastic.

It was fine for a few days, then I could feel the cube was a little wonky and sure enough the magnet has popped out again, so it's time to take the corner apart, again.

This time I tried to bend the tiny bit of plastic a little to make the hold better, and SNAP, it's broken off.

Wtf?

I got a dab of superglue and glued the magnet in place.

Put it back together and did a couple solves and it still feels wonky. Wtf? The magnet has popped out again, I guess I didn't wait long enough for the glue to set.

Take it apart and find it's actually the magnet in the other side of the piece that's dislodged and stuck to my glued magnet. So I glue THAT magnet in place too.

A week or so later I decided to make my own lube following a YouTube tutorial. 1 part hair conditioner and 2 parts Vegetable Glycerin I have left over from making my own vape juice.

I went to take an edge out of the Tornado to lube it and it just crumbled in my fingers as I pull it out.

Wtf?

That lead me to another frantic glue session, I was about to go to work and wanted to take my cube with me, and putting these pieces together is hard work, I broke the fixings that hold it and had to glue it instead.

So now I have a badly glued edge piece on my shiny expensive maglev cube.

Now I've got the WRM V9. Cube head says it's adjustment system is dogshit and it's a travesty that you can't adjust the magnets.

But I just don't agree. How often do you honestly adjust a cube, once or twice? Who cares that you need a screwdriver to do this? The magnets on my Tornado seem to adjust themselves so the fact that they're adjustable is moot anyway.

But the build quality on a Moyu cube just seems to be way better. The magnets are still where they should be and I haven't broken an edge piece just taking it out for a lubing.

The cube itself just feels more solid. It doesn't feel like the plastic is cheap and it will shatter if I drop it from waist height like the Tornado does.

And that's why the WRM is my new main, and the Tornado has become the cube that lives in my leather jacket pocket for when I'm out and about.

When it comes to turning and whatnot they feel pretty similar if you turn the magnet adjustment up to full on the Tornado, so there's not much difference in performance, but the WRM just feels like a better quality cube.

So yeah, I wanna hear about how quickly my cubes will break on YouTube reviews. I don't wanna be dropping cash on a cube that will be broken out of the box.

view more: next ›

Lifebandit666

joined 11 months ago