[Backlogmanager] [FIWARE-JIRA] (HELP-14418) [fiware-stackoverflow] Orion CB output regarding provisioned device

Veronika Vlnkova (JIRA) jira-help-desk at jira.fiware.org
Tue Jul 17 18:20:00 CEST 2018


     [ https://jira.fiware.org/browse/HELP-14418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Veronika Vlnkova reassigned HELP-14418:
---------------------------------------

    Assignee: Jose Manuel Cantera

> [fiware-stackoverflow] Orion CB output regarding provisioned device
> -------------------------------------------------------------------
>
>                 Key: HELP-14418
>                 URL: https://jira.fiware.org/browse/HELP-14418
>             Project: Help-Desk
>          Issue Type: Monitor
>          Components: FIWARE-TECH-HELP
>            Reporter: Backlog Manager
>            Assignee: Jose Manuel Cantera
>              Labels: fiware, fiware-orion
>
> Created question in FIWARE Q/A platform on 17-07-2018 at 14:07
> {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/51381033/orion-cb-output-regarding-provisioned-device
> +Question:+
> Orion CB output regarding provisioned device
> +Description:+
> I have noticed that upon querying Orion CB, while it is working with provisioned devices and having IoT Agent receive HTTP and MQTT messages, it will always output all the values written in the quotation marks:
> {
>     "id": "sensor_data",
>     "type": "Sensor",
>     "ActiveTime": {
>         "type": "Seconds",
>         "value": "17703",
>         "metadata": {
>             "TimeInstant": {
>                 "type": "ISO8601",
>                 "value": "2018-07-04T13:32:27.357Z"
>             }
>         }
>     },
>     "Distance": {
>         "type": "Number",
>         "value": "312",
>         "metadata": {
>             "TimeInstant": {
>                 "type": "ISO8601",
>                 "value": "2018-07-04T13:32:27.413Z"
>             }
>         }
>     }
> }
> However, if to work with only entities in Orion CB, it is possible to receive actual values (like in the example in the manual):
> {
> "id": "Room1",
> "pressure": {
>     "metadata": {},
>     "type": "Integer",
>     "value": 720
> },
> "temperature": {
>     "metadata": {},
>     "type": "Float",
>     "value": 23
> },
> "type": "Room"
> }
> Sometimes, I need to receive the actual value from my sensor in order to format it and use in further applications, but they are in quotation marks, which makes it a little difficult.
> Is it possible to somehow change?(maybe in device provisioning), or it really should be that way regarding devices?
> Thanks in advance!



--
This message was sent by Atlassian JIRA
(v6.4.1#64016)


More information about the Backlogmanager mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy