Hello, wondering if anyone has any resources for how things like Google Home, Alexa and Home Assistant gateway turn lights on and off?
I mean on the network level when I say “Ok google, turn on the lights”, how does it know the IP address of my smart switch, and what packet (JSON?) to send it to? Does it just use the broadcast address? Having trouble finding stuff on it, because I don’t even know what term to search for without it coming up with a bunch of irrelevant stuff.
Want to build my own sensor out of an ESP8266 and have it talk to one of the numerous smart switches I have, and also how Home Assistant and other systems monitors the states of the switches, lights and other things like that.
Wasn’t sure which section to put this into, so I thought Third Party Integrations was as good as any.