Hi,
just getting used to Azure IoT Hub integration with Node-RED. Two questions around node-red-contrib-azure-iot-hub:
-
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...
-
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