• 0 Posts
  • 18 Comments
Joined 8 months ago
cake
Cake day: March 12th, 2025

help-circle

  • Well, good news then: lvm comes with most modern linux distros. In fact, it is an option you can enable when installing linux mint.

    I use it on every system that I run (workstations and servers) and never had any issues.

    It really just makes partition management way easyer: With normal partitions you cannot grow any partition without moving all other partitions after it. LVM can do it without touching anything else.

    The best case for semthing like this is when you buy bigger ssd. You can copy the data with dd and then grow any and partitions that you want without hassle.














  • I’ve got a Sever running Homeassistant with the ESPHome Addon. The Lights got a custom PCB in them using a ESP32 and a 4 channel warm/cold white led strip driver. But you can also build them using of-the-shelf parts. They are mains powered without a switch, instead i wired the switches to a sensor input. This allows me to control the light either via the switch, or Homeassistant. They even got some buttons directly on them to force them on/off if my server is down. I also got a radar in there for presence detection. Basically the same as an infrared motion sensor, but it doesn’t turn the light off while im on the toilet. Thanks to using Homeassistant, I can change the color temperature and brightness of the lights depending on the time of day. It’s really nice to have some dim and warm lights in the evening before going to bed.

    But ESPHome isn’t limited to some custom build stuff. Anything that uses an ESP32* chip can be flashed to run ESPHome instead of whatever it came with. I got some sonoff relays that control my shutters and an Emporia Vue 2 to measure my power usage. Depending on the device you might be able to flash it either via Wifi or you have to disassemble it to get to the programming pins. The nice thing about the ESP32 is that a vendor cannot lock the firmware. You can always flash something custom.

    ESPHome isn’t limited to Homeassistant however. You can also have each device run a web-server to control it, or connect it to MQTT.

    Also i should mention some alternatives:

    • Tasmota: similar to ESPHome, but while ESPHome as the configuration compiled into the firmware Tasmota can be reconfigured on the fly. Not like the update process of ESPHome is slow however.
    • WLED: if you only want to control some addressable RGB led strips. It does that one job way better than ESPHome.