The MQTT client ID is currently set as per the mqtt.js default: 'mqttjs_' + Math.random().toString(16).substr(2, 8)
This change adds the option to specify a custom client ID in the config.js file, if required. This can make it easier to differentiate between clients when looking through the logs of the MQTT broker.
The MQTT client ID is currently set as per the mqtt.js default: 'mqttjs_' + Math.random().toString(16).substr(2, 8)
This change adds the option to specify a custom client ID in the config.js file, if required. This can make it easier to differentiate between clients when looking through the logs of the MQTT broker.