You can get a bluetooth/wifi enabled microcontroller like a Pi Pico 2 for $5 or a full on computer running linux for $15 (Pi zero 2)