Skip to main content
1-Visitor
July 24, 2017
Solved

How get data from the thing to Mashup/widget

  • July 24, 2017
  • 1 reply
  • 4678 views

Hi all,

may be I missed something from the very beginning. Please help.

When I'm trying to drag and drop "property" of the thing/service from the right part of screen to the widget (LED Display for example), nothing's happen`. And it looks like something wrong with my properties, as I see arrows icons on that "look on the right" when on the tutorial description such arrows "look on the left". I don't know how explain the situation more correct. But as a result, drag and drop doesn't work. So I can't bind the thing's data with my mashup/widget.

Please describe me what could be wrong, or suggest the tutorial page to find the answer.

Thank you in advance,

A.

Best answer by posipova

Yes, that is a wrong kind of data 🙂 From what I'm seeing, you have a service that sets parameters, meaning you feed property values to it rather than take them from the service. So you supply temperature and humidity but it does not display anything back. The opposite service would be getData. Then you would be able to consume property values from the service.

Alternatively, you may modify/edit your existing "set" service to include an output/result of a matching base type (string in this case), and then you would be able to see data that can be taken from the service, like in an example below:

1 reply

20-Turquoise
July 24, 2017

Can you please send a screenshot of your right-hand side panel where the service and "properties" are? I suspect you are dragging the properties from under the "parameters" section instead of "all results"/"selected row".

akurakin1-VisitorAuthor
1-Visitor
July 24, 2017

Screenshot from 2017-07-24 16-37-14.png

Looks like the problem with the type of data, or with type of service, but I can't realize what exactly... )

posipova20-TurquoiseAnswer
20-Turquoise
July 24, 2017

Yes, that is a wrong kind of data 🙂 From what I'm seeing, you have a service that sets parameters, meaning you feed property values to it rather than take them from the service. So you supply temperature and humidity but it does not display anything back. The opposite service would be getData. Then you would be able to consume property values from the service.

Alternatively, you may modify/edit your existing "set" service to include an output/result of a matching base type (string in this case), and then you would be able to see data that can be taken from the service, like in an example below: