Yes. See the full demo in the linked post: Dynamic MQTT LWT birth, Close & Will Property - #2 by Steve-Mcl it does that in the "connect with opts" inject
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Dynamically set MQTT client ID | 7 | 301 | 31 May 2023 | |
| Other dynamic parameters in MQTT in | 3 | 431 | 4 September 2022 | |
| Insufficient dynamic mqtt documentation? | 11 | 110 | 17 October 2024 | |
| Dynamically set MQTT broker configurations | 2 | 291 | 31 July 2024 | |
| Dynamically set clientID for MQTT output | 14 | 1565 | 30 August 2021 |