I put most of the components on DIN rails but I made a dedicated PCB (160x122mm) for ESP/IO/Display. My system talks to ESPHOME and I use InfluxDB to analyze/report historic data. My pool is not finished yet so I still have to gather practical knowledge :D. As switches i will use reed contact...