Meet zigbee2mqtt and ZHA. You only need a cheap USB adapter as a Zigbee coordinator and you are ready to go.