3 Replies Latest reply on Oct 12, 2017 7:04 AM by bmitioglov RSS
    bmitioglov Explorer

    How to get parameter value from embedded thing?

    Hi guys,

     

    I have a thing that have another several things as it's parameters with type: THINGNAME.

    And I want to get values from those things in my service.

     

    I tried to do (FireSensor1 has the number property called 'value'):

     

    result = Things[me.FireSensor1].value

     

     

    It is not working, the error is:

    TypeError: Cannot read property "value" from null


    Could you please explain how to do such things?

     

    Thanks.