How to send Data from CVS File to Azure IotHub

Hi there, I'm a beginner here and trying to play around with Azure IotHub for anomalies detection. I've been able to import my data from CVS file into Node-red and I've been able to display the data sequentially with delay node.

But im having a problem on how to send the data to Azure IotHub as where to include the data stream into the Inject Payload using JSON

{"deviceId":"sdcxxx","key":"w1xUHJtGfxxxxxxxxxxxxxxxxxxA44IckMMqFHPT4=","protocol":"mqtt","data":"{"temp": 20}"}

attach are the flow of my nodes.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.