[Backlogmanager] [FIWARE-JIRA] (HELP-15683) [fiware-stackoverflow] IoT Agent provisioning

Fernando Lopez (JIRA) jira-help-desk at jira.fiware.org
Fri Apr 12 09:18:00 CEST 2019


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

Fernando Lopez reassigned HELP-15683:
-------------------------------------

    Assignee: Fermín Galán

> [fiware-stackoverflow] IoT Agent provisioning
> ---------------------------------------------
>
>                 Key: HELP-15683
>                 URL: https://jira.fiware.org/browse/HELP-15683
>             Project: Help-Desk
>          Issue Type: Monitor
>          Components: FIWARE-TECH-HELP
>            Reporter: Backlog Manager
>            Assignee: Fermín Galán
>              Labels: fiware, iot
>
> Created question in FIWARE Q/A platform on 09-04-2019 at 14:04
> {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/55593263/iot-agent-provisioning
> +Question:+
> IoT Agent provisioning
> +Description:+
> I'm using these provisioning for service and device in my IoT Agent.
> {  
>    "services":[  
>       {  
>          "resource":"/iot/d",
>          "apikey":"1234",
>          "type":"multiSensor"
>       }
>    ]
> }
> {  
>    "devices":[  
>       {  
>          "device_id":"myDeviceId",
>          "entity_name":"LivingRoomSensor",
>          "entity_type":"multiSensor",
>          "attributes":[  
>             {  
>                "name":"a",
>                "type":"celsius"
>             },
>             {  
>                "name":"b",
>                "type":"degrees"
>             }
>          ]
>       }
>    ]
> }
> and I noticed that the attribute "type" in services can be also named "entity_type" and it must be equals to "entity_type" of devices. If these attributes are not equals I've this error:
> DEVICE_GROUP_NOT_FOUND","message":"Couldn\t find device group","code":404} in get group device 
> Anyway the IoT Agent works. Can I use only device provisioning in my IoT Agent?



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