Hello everyone,
I'm in the early planning stages of a personal project to set up a smart home automation system using a Linux-based Raspberry Pi setup. My background is in electronics and embedded systems, but I'm relatively new to working with Linux for this kind of application. I’m hoping to get some advice from the community which lightweight Linux distribution would be best for running automation tasks smoothly on a Raspberry Pi, any recommended libraries or frameworks that make working with sensors and relays easier under Linux and common security or performance pitfalls I should keep in mind when exposing Linux-based devices on a home network?