Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bind Iot-agent Json with orion and wirecloud #27

Open
Saadiatalkpool opened this issue Mar 22, 2019 · 2 comments
Open

Bind Iot-agent Json with orion and wirecloud #27

Saadiatalkpool opened this issue Mar 22, 2019 · 2 comments

Comments

@Saadiatalkpool
Copy link

Saadiatalkpool commented Mar 22, 2019

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
Copy link
Member

aarranz commented May 8, 2019

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

@Saadiatalkpool
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants