Details
-
Type: Monitor
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: FIWARE-TECH-HELP
-
HD-Enabler:IDAS
Description
Created question in FIWARE Q/A platform on 09-04-2019 at 14:04
Please, ANSWER this question AT 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":[
]
}
{
"devices":[
{
"device_id":"myDeviceId",
"entity_name":"LivingRoomSensor",
"entity_type":"multiSensor",
"attributes":[
,
{ "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?
Activity
Field | Original Value | New Value |
---|---|---|
Component/s | FIWARE-TECH-HELP [ 10278 ] |
HD-Enabler | IDAS [ 10884 ] | |
Description |
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? |
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? |
Assignee | Fermín Galán [ fermin ] |