LifeBandit666

  • 35 Posts
  • 645 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle


  • Yeah WOL was one of the first things I looked for in HA because I just didn’t have all that much in the way of Smart stuff.

    Anyway nowadays I have an automation you may like. I have set up a little wireless dock for my phone on my desk. It’s the only wireless charger I use, so using the Companion app sensors (namely the charger type) I have set up an automation that turns on my PC when I dock my phone.

    Meaning I literally flop down on my chair and put my phone on the charging stand and the PC turns on.

    Now when that PC is picked up on the network HA will turn on my monitor (via a smart plug) and my desk lamp.

    I also have a program on the PC that detects what I’m doing, and can switch the PC off!

    So I can add switching the PC off to my automations, like my Goodnight automation


  • That was the idea! I came across it looking for something else. I’ve been using a blueprint for a while (since you haven’t even looked yet) that will pull when the alarm is sounding and snoozed and such.

    I have moved back to Node Red and made it myself there now though. What I use it for is I set the alarm to ramp up volume after 3 minutes, but the alarm also triggers my lights turning on.

    Since the lights usually wake me up I usually have a silent alarm clock, meaning I don’t wake The Wife at 5am when I get up for work.

    My son heard about it so now he also wakes up to the lights coming on.

    You can use that to start your morning automations if you’re so inclined, so when your alarm goes off and the Kitchen motion sensor is triggered for your morning cup of Joe, you can fire your morning reminders and traffic info




  • You need to pick a machine (if you only have 1 you don’t lol) to be your web portal, bang a block of code in via ssh or command line (I copy pasted) then you can access Portainer via the web portal.

    From there “Stacks” is Docker Compose and you can fiddle with your containers, networking settings and all the other stuff via a UI instead of having to SSH in all the time to look at your compose files.

    Then if you wanna use docker on more machines you just bang a block of code into that machine via ssh and it will appear in your Portainer

    Far easier imho






  • LifeBandit666toSelfhosted@lemmy.worldProxmox on NUC8I5BEH
    link
    fedilink
    English
    arrow-up
    2
    ·
    11 days ago

    Try a live Proxmox USB, it’s what I did when my machine went unresponsive. Allowed me to look through the logs of the OS when it hadn’t booted to find out what went wrong.

    For me it was that I had put my USB HDDs in via Fstab and one had died, which made Proxmox unbootable until I hashtagged the lines out in fstab.



  • I’ve solved this exact issue and numerous others with samba / CIFS recently. This is how I have my Proxmox on a mini pc with usb mounted HDDs at present:

    1 VM Home Assistant OS, not relevant really

    1 VM OMV Open Media Vault.

    1 VM Debian with Docker installed.

    So in my experience over the last few months you want your usb drive to have absolutely nothing to do with Proxmox. Nope.

    I had 3 hooked in mounted in Proxmox and when one of them threw a fit Proxmox refused to load.

    Better to have a NAS VM installed and have the drive(s, I have 3, 2x1tb and 1x750gb) passed straight through, whole usb, to the NAS VM.

    This means if the drive fails Proxmox doesn’t break, and also in my experience with OMV, it’ll still run if a drive breaks

    Then what I did was set up the shares and made them samba in OMV then set my other VM, the Debian one, with mount points in the Fstab.

    The key for me in this endeavour was to make sure the Fstab entry made sure that the OS wouldn’t fail if it couldn’t find a drive, as happened in Proxmox, so I made sure “nofail” was somewhere in the Fstab config.

    For Samba to work in Linux you need to install cifs-utils, then add a line in /etc/fstab. Mine goes:

    //omv.local/sharename /mnt/filename cifs credentials=/etc/cifs-credentials,file_mode=0777,dir-mode=0777,auto,nofail,vers=3.0 0 0

    You have to create the mount point mkdir /mnt/filename and give it permissions with chmod

    You also need to made the cifs-credentials file in /etc/

    It needs to contain:

    username=yourusername password=yourpassword domain=WORKGROUP

    Then what I do for Audiobookshelf and whatnot is mount the mount point as directories in Portainer under the volumes: - /mnt/Downloads:/Downloads

    Then in the UI of the service I’m using in Docker I can use the Downloads folder and it’s the mount point.

    This is what’s working well for me. If a drive fails I try and fix it in OMV instead of trying to plug a monitor into my mini pc to try and work out from the logs why Proxmox has failed…

    Use this comment as a framework for your research and save yourself some heartache. You can mount the CIFS/Samba share to Proxmox and use that, so you can still use the drive in Proxmox for backups and such




  • LifeBandit666toMemes @ Reddthat@reddthat.comIt’s quicker
    link
    fedilink
    English
    arrow-up
    3
    ·
    15 days ago

    No my point is, as a British person that uses the kettle A LOT we went out and bought one that heats up a single cup at a time, which is quicker than boiling a whole kettle.

    I fill it up like a kettle and it has a little chamber underneath that it fills and heats, then the boiling water comes out of a spout into the cup.

    After owning this type of kettle for over a decade I don’t think I can go back to a conventional kettle.




  • My budget-friendly solution has been to replace my ISP provided router with a 10 year old Netgear router that handles all the protocols my ISP does off eBay for £25.

    I have a 4 storey townhouse so having this on the ground floor is useless when you’re on the top floor.

    So I have a power line system installed which I’ve hooked into the modem. I’ve got a wired router in the front room that has all the front room tech worked in.

    On the top floor I have an even older Netgear router a friend gave me, with OpenWRT installed plugged into the power line and running as an access point.

    In total this whole system has probably cost me £80 to fully install as I was given the older Netgear.

    Works beautifully, cost very little, and I’ve got a Guest Mode ap that turns on when I turn guest mode in Home Assistant, a simple “Hey Google turn on Guest mode”