Wirecloud / docker-wirecloud

🐳 Docker Official Image packaging for WireCloud https://conwet.fi.upm.es/wirecloud
Other
8 stars 14 forks source link

Bind Iot-agent Json with orion and wirecloud #27

Open Saadiatalkpool opened 5 years ago

Saadiatalkpool commented 5 years ago

I want to route my mqtt traffic from IOT Agent Json to wirecloud. From orion I can visualize the data to grafana as well. But in wirecloud, only the entitties that are created manualy in orion are visible, while all subscribed and registered-context entities have no output/traffic in wirecloud.

aarranz commented 5 years ago

Can you provide more details? We are using WireCloud with data coming from different IoT Agents and services without any problem.

Saadiatalkpool commented 5 years ago

I am trying to create a device with following script: curl -iX POST \ 'http://localhost:4041/iot/devices' \ -H 'Content-Type: application/json' \ -H 'fiware-service: openiot' \ -H 'fiware-servicepath: /' \ -d '{ "devices": [ { "device_id": "motion001", "entity_name": "urn:ngsi-ld:Motion:001", "entity_type": "Motion", "timezone": "Europe/Berlin", "attributes": [ { "object_id": "c", "name": "count", "type": "Integer" } ], "static_attributes": [ { "name":"refStore", "type": "Relationship", "value": "urn:ngsi-ld:Store:001"} ] } ] } ' The entity created successfully, I can verify it using following script: curl -G -X GET \ 'http://localhost:1026/v2/entities/urn:ngsi-ld:Motion:001' \ -d 'type=Motion' \ -H 'fiware-service: openiot' \ -H 'fiware-servicepath: /'

But I can't see it in wire-cloud.