Node-red-contrib-azure-iot-hub - Quotes in data and unencrypted body

Hi,

just getting used to Azure IoT Hub integration with Node-RED. Two questions around node-red-contrib-azure-iot-hub:

  1. how can I get quoted texts into the data area? The example is not using them, without escape characters it won't work (the quotes would end the string), with escape characters these are carried forward into the IoT stream which messes up the JSON there...

  2. the body is delivered as a Base64 encrypted string. A lot of tools can work with that, however if you want to simply use IoT Hub's custom endpoints (like a Storage Account for logging) you will always see the the encrypted string. Microsoft recommends to use something like (in C#) "// Set message body type and content encoding message.contentEncoding = "utf-8"; message.contentType = "application/json"" but I have no clue where to add that in the module

Thanks for any help,

Thomas

I'm having the same issue. Did you solve it?

Hi,

sorry, didn't solve that and moved to a different solution...

Best Regards,

Thomas