Why is the data sent by IoT Central device bridge returns unmodeled?
first, i have a simulator that sends this Message class to IoT Central
{"data":"{\"plastic\":4.919332980630919,\"paper\":87.99210704867694,\"mixed\":94.68753485479351}","properties":{"propertyList":[{"key":"$.sub","value":"bin2"}]},"messageId":"","to":"","lockToken":"","correlationId":"","userId":"","contentEncoding":"utf-8","contentType":"application/json"}
I edited the device template with these values
The thing is, I added an IoT central device bridge (Function App), so data transformation happens in the cloud.
The final Message class sent by the bridge is
{"data":"{\"currentMixed\":94.68753485479351,\"currentPaper\":87.99210704867694,\"currentPlastic\":4.919332980630919,\"addedMixed\":44.49541961386614,\"addedPlastic\":-81.61903395501906,\"addedPaper\":29.16895972965449}","properties":{"propertyList":[{"key":"$.sub","value":"bin2"},{"key":"iothub-creation-time-utc","value":"2022-10-03T10:47:40.484Z"},{"key":"computed","value":true}]},"messageId":"","to":"","lockToken":"","correlationId":"","userId":"","contentEncoding":"utf-8","contentType":"application/json"}
looks very similar to the Message Class sent by the simulator.
but when received by IoT central,
I've added the extra props in the device template
Hoping you can help me, thank you in advance!