#I see mentions of MQTT ocassionally.
1 messages · Page 1 of 1 (latest)
A well known and widely supported protocol that can be used by almost anything - from little ESPs and the likes on up
Also wonderfully decoupled, your ESP can be on the far side of the planet from HA
I described it as a group chat for devices to my family.
That’s a good analogy
I meant how does it fit in with HA? I have a sonoff S31 flashed to esphome and a Shelly temp+humidity sensor so far.
Does mqtt allow devices to pub/sub to queues to talk to each other or is it to get data into HA?
It holds the devices state so that ha can read and control it
Because right now I'd really like to get 10, 100hz, or 1khz(theoretical limit of sensor)sampling out of the S31. But I don't know what HA uses for history, and that's a lot of data. Probably should be an external influxDB server
Why do you need that many updates?
Even on the assembly lines I manage, we don’t go below 10hz because there’s no net gain.
Especially for a temperature sensor.
Temp no, but voltages/amps yes- if you're looking for transients
If It can be processed before being broadcast I will
You should because HA is not designed for that level of updates.