FIWARE / tutorials.Time-Series-Data

:blue_book: FIWARE 304: Querying Time Series Data (QuantumLeap)
https://quantumleap.readthedocs.io/en/latest/
MIT License
16 stars 20 forks source link

FillingLevelSensor has no attribute location #37

Closed kosgobakis closed 3 years ago

jason-fox commented 3 years ago

According to the provisioning command here: https://github.com/FIWARE/tutorials.Time-Series-Data/blob/NGSI-LD/provision-devices#L220

 {
      "device_id": "filling001",
      "entity_name": "urn:ngsi-ld:Device:filling001",
      "entity_type": "FillingLevelSensor",
      "endpoint": "http://context-provider:3001/iot/filling001",
      "static_attributes": [
        {"name": "controlledAsset", "type": "Relationship","value": "urn:ngsi-ld:Building:farm001"},
        {"name": "location", "type": "GeoProperty", "value": [13.3505, 52.5144]}
      ]
    }, 

The location should be provisioned as part of the static data.

kosgobakis commented 3 years ago

Yeap. I did not properly add hay