Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Chapter:IoT
-
HD-Enabler:IDAS
Description
Created question in FIWARE Q/A platform on 15-06-2015 at 15:06
Please, ANSWER this question AT http://stackoverflow.com/questions/30846185/issue-when-registering-device-through-idas
Question:
Issue when registering device through IDAS
Description:
I'm using IDAS and i've previously registered 4 virtual sensors and i had no problem with it. After making tests with those sensors (a month ago from now or so) i went and tryed to register another sensor with no success.
My request:
python2.7 RegisterDevice.py SENSOR_TEMP sensortest3 sensortest3
The response:
- opening: ./devices/SENSOR_TEMP
- Asking to http://130.206.80.40:5371/iot/devices
- Headers: {'Fiware-Service': 'fiwaretestapi', 'content-type': 'application/json', 'Fiware-ServicePath': '/', 'X-Auth-Token': 'NULL'}
- Headers: {'Fiware-Service': 'fiwaretestapi', 'content-type': 'application/json', 'Fiware-ServicePath': '/', 'X-Auth-Token': 'NULL'}
- Sending PAYLOAD:
{
"devices": [Unknown macro: { "entity_name"}]
}
...
- Status Code: 400
- Response: {"reason":"The request is not well formed","details":"Missing required property: protocol [/devices[0]]"}
As you can see by my ListDevices.py request, i have 4 sensors registered:
- Asking to http://130.206.80.40:5371/iot/devices
- Headers:
{'Fiware-Service': 'fiwaretestapi', 'content-type': 'application/json', 'Fiware-ServicePath': '/', 'X-Auth-Token': 'NULL'}
...
- Status Code: 200
- Response:
Unknown macro: { "count"}
Is there a limit or something to a number of devices in IDAS?
2015-10-03 06:05|CREATED monitor | # answers= 2, accepted answer= True