MQTT - Send measurements to multiple devices

Hi,

I was able to send MQTT measurement to 1 device but not for multiple devices simultaneously. There is no deviceId or deviceName in sending measurements topics, I even tried to instanciate multiple clients in a Python program. But only measurement sent to te first connected device work.

Could you help with that ?

Thanks

I got it working using unique MQTT clientId for each sensor.

1 Like