No, the client id can be specified in the MQTT server nodes. If left blank then node red will automatically provide a unique id.
I tried placing "some id" into the client box without success.
Where is the MQTT broker you are trying to connect to and what have you specified for the server URL in the MQTT broker node (where I have owl.local in the image I posted)?
I attempt Node-RED -MQTT in- node connection to a MQTT integration at The Things Network Sandbox. Here is the screen shot at TTN
On my Node-RED side here is the server screen
(Security tab shows User Name: pme-test-application@ttn and password generated by TTN.)
The image above come from my Azure Ubuntu VM Node-RED. They also represent my Win10 Node-RED. Azure doesn't work but Win10 does.
Back to your notice of the Node-RED version. On Azure VM Node-RED is V2.2.3 whereas on Win10 Node-RED is V3.1.0. Perhaps this explains why Win10 works and Azure fails.
My next step must be to update Node-RED.
On Azure VM I have only a command line interface, no Docker desk top. I guess I am running Node-RED under Docker. I see something that looks like Node-RED in my Docker images on Azure Ubuntu VM. Here is the response I see:
mhead@LinuxAquasendIoT:/home$ sudo docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
iot-app-nodered latest 419935a3924a 3 days ago 525MB
hello-world latest d2c94e258dcb 11 months ago 13.3kB
influxdb 2.6.1 2d51928ea51a 11 months ago 233MB
grafana/grafana-oss 9.4.3 944e84f25bc7 13 months ago 329MB
- I guess somehow I must tell Docker to remove and discard iot-app-nodered
- Then I must tell Docker to obtain the latest Node-RED container from who-knows-where. This would be something like "sudo docker pull ????" What do I use for the ????
- And lastly I must tell Docker to start operation of this new Node-RED.
I found a list of instructions at URL
Update Docker Image
Should I follow these instructions?
Can you fill in the [docker_image] part in the statement below:
sudo docker pull [docker_image]
for me or tell me how to search the 'net for the answer?
Thanks!