Why is the data sent by IoT Central device bridge returns unmodeled?

De Omana, Joshua R. C 1 Reputation point
2022-10-03T11:06:12.247+00:00

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"}

246978-image.png

I edited the device template with these values 246926-image.png

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,
247005-image.png
I've added the extra props in the device template 246939-image.png

Hoping you can help me, thank you in advance!

Azure IoT Central
Azure IoT Central
An Azure hosted internet of things (IoT) application platform.
359 questions
{count} votes