You can also send JSON over UDP. Wiz smart bulbs do this for communication.
https://github.com/sbidy/pywizlight?tab=readme-ov-file#examp...