[Fiware-tech-help] IDAS fiware-figway

Arkaitz Carbajo arkaitz.carbajo at gmail.com
Wed Jun 24 15:08:41 CEST 2015


Hello,

I have been testing fiware-figway, doing the exercises of
http://www.slideshare.net/FI-WARE/io-t-basicexercisesdevelopersweek and
have had some troubles getting the expected results.

I have been able to register a new device (getting a 201 response code),
list it, send some observations (getting a 200 response code), delete the
device (getting a 204 response code), send observations (getting a 200
response code) but when I check the entity data from Orion Context Broker I
just get a basic entity information

Fiware-service used has been: openiot
IDAS: http://130.206.80.40:5371

It seems like data it's not being replicated to Orion from IDAS.

Commands used:

- Register a new device (see attached file): RegisterDevice.py
<http://registerdevice.py/> HEALTH_RECORD 14:da:e9 kwido:tenant:userId:hr
- List Devices: ListDevices.py <http://listdevices.py/>
- Send Observations: SendObservation.py <http://sendobservation.py/>
14:da:e9 "WEIGHT|87.54#CHOLESTEROL|201"
- Get Entity: GetEntity.py kwido:tenant:personId:hr

Response of GetEntity:

{
    "contextResponses": [
        {
            "contextElement": {
                "type": "kwido:HealthRecord",
                "isPattern": "false",
                "id": "kwido:tenant:personId:hr",
                "attributes": [
                    {
                        "name": "TimeInstant",
                        "type": "ISO8601",
                        "value": "2015-06-24T12:47:56.880888Z"
                    }
                ]
            },
            "statusCode": {
                "code": "200",
                "reasonPhrase": "OK"
            }
        }
    ]
}

There are missing attributes in the received response: WEIGHT and
CHOLESTEROL. Where is my mistake?

Thanks in advance.
Arkaitz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20150624/3cef9337/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HEALTH_RECORD
Type: application/octet-stream
Size: 658 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20150624/3cef9337/attachment.obj>


More information about the Fiware-tech-help mailing list

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