I am trying to connect rpi ds18b20 with azure iot hub, but the iot hub is disconnected all the time even I entered the host name. here, I am trying with real sensor , it is not simulated. could you help me to know where is the problem, please?
I installed node-red in raspberry pi 3 modle b+ , with raspbian
node-red version V0.19.3
node.js version v8.11.1
If you haven’t read it the page dedicated to the raspberry pi in the docs is worth a read.
I’ve never used that node (if you are using a specific node it’s worth stating that in your initial post in future). But there is a initial flow in the nodes readme, so I would suggest trying to get their example to work and if you can’t come back here.
It looks like you haven't completed the setup of the Azure hub. I've not used it myself but I'm guessing that it uses an OAuth authentication that requires setup firstly in the hub itself. That should give you an access key and possibly the other settings you are missing above (DeviceId for example). It may also require you to define the URL that the authentication service will hand control back to. Likely to be the URL for Node-RED.
Are you on an enterprise network? If so, I'd say that their security services and routing is slowing down your connection. It may be that the latency is sometimes a little too high.