Digital twin room temperature 0

Rohan Deshamudre 11 Reputation points
2020-08-07T14:53:43.96+00:00

I used the end-to-end solution documentation to create my digital twin and at the end stage I am supposed to see the same telemetry for the thermostat and the room, I get value 0 for the room as you can see in the image below.
image
The actual output is supposed to be this:
image

I have followed all the previous steps correctly so I am not sure what the issue is. Please help @QuantumCache !

Azure Digital Twins
Azure Digital Twins
An Azure platform that is used to create digital representations of real-world things, places, business processes, and people.
231 questions
{count} votes

2 answers

Sort by: Most helpful
  1. AlexKarcher-MSFT 6 Reputation points Microsoft Employee
    2020-08-10T16:10:57.537+00:00

    Good catch!

    This has been addressed by the following github commit: https://github.com/Azure-Samples/digital-twins-samples/commit/a7f1716becdbb27c29d837c209be989f2549d99a

    Casting your temperature value as it's expected data type (float) fixes the issue:

    AdtUtilities.UpdateTwinPropertyAsync(client, parentId, propertyPath, operation["value"].Value<float>(), log);
    

    Alex
    Digital Twins PM Team

    1 person found this answer helpful.
    0 comments No comments

  2. QuantumCache 20,271 Reputation points
    2020-08-10T16:31:01.723+00:00

    Hello @Rohan Deshamudre ,

    The issue is now fixed, Thanks to Microsoft's Digital Twins PG team who helped us in a very short duration of time.

    Thanks to @AlexKarcher-MSFT !

    Now we see the room temperature as well.!!

    Please get the latest Sample code from Github repo and try it.

    The below image confirms the changes are live!.

    16835-image.png

    Please let us know if you need further help!


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.