We use proprietary and third party´s cookies to improve your experience and our services, identifying your Internet Browsing preferences on our website; develop analytic activities and display advertising based on your preferences. If you keep browsing, you accept its use. You can get more information on our Cookie Policy
Cookies Policy
Ask Your Question

arilwan's profile - activity

2019-04-24 11:16:05 +0200 answered a question How to install Cygnus correctly?

I suggest you use docker and docker-compose to install it (and any other GE you want to add) as it is done here https://github.com/FIWARE/tutorials.H...

Check Cygnus service health using curl -X GET 'http://localhost:5080/v1/version'

Cheers.

2019-03-10 14:53:27 +0200 received badge  Famous Question (source)
2019-01-18 10:28:28 +0200 received badge  Notable Question (source)
2019-01-08 08:59:43 +0200 received badge  Popular Question (source)
2018-12-11 08:50:11 +0200 asked a question MongoDB-Cygnus Persistence

Using a sensor device (LWM2M) to receive context for historic persistence, all services run using docker-compose. I added Cygnus and set-up all docker-compose definitions. Checking up with Mongodb, device table not created, here the only db have: $mongo

show dbs admin 0.000GB local 0.000GB lwm2miotagent 0.000GB orion-smartgondor 0.000GB sthsmartgondor 0.000GB use sthsmartgondor switched to db sthsmartgondor show collections sth/gardensraspiSensorTV:DeviceDevice.aggr

I expect to see sth/gardensraspiSensorTV:Device_Device for device table, but not created.

I am not sure if the IDAS agent is actually receiving data from device, or if received may not be forwarded to Orion. Can someone please help how I can achive my goal, below are the IDAS agent and Orion logs please:

time=2018-12-07T11:56:58.136Z | lvl=DEBUG | corr=n/a | trans=n/a | op=LWM2MLib.COAPRouter | msg=Handling request with method [POST] on url [/rd/1] with messageId [42655] time=2018-12-07T11:56:58.137Z | lvl=DEBUG | corr=n/a | trans=n/a | op=LWM2MLib.UpdateRegistration | msg=Handling update registration request time=2018-12-07T11:56:58.137Z | lvl=DEBUG | corr=n/a | trans=n/a | op=LWM2MLib.COAPUtils | msg=Extracting query parameters from request time=2018-12-07T11:56:58.138Z | lvl=DEBUG | corr=n/a | trans=n/a | op=LWM2MLib.UpdateRegistration | msg=Updating device register with lifetime [undefined] and address [193.136.33.222]. {"op":"IOTAgent.LWM2MHandlers","time":"2018-12-07T11:56:58.138Z","lvl":"DEBUG","msg":"Handling update registration of the device"} time=2018-12-07T11:56:58.140Z | lvl=DEBUG | corr=715bff5c-5c01-4295-9881-c32cdd193cad | trans=715bff5c-5c01-4295-9881-c32cdd193cad | op=IoTAgentNGSI.MongoDBGroupRegister | srv=n/a | subsrv=n/a | msg=Looking for group params ["resource","apikey"] with queryObj {} | comp=IoTAgent time=2018-12-07T11:56:58.145Z | lvl=DEBUG | corr=715bff5c-5c01-4295-9881-c32cdd193cad | trans=715bff5c-5c01-4295-9881-c32cdd193cad | op=IoTAgentNGSI.MongoDBGroupRegister | srv=n/a | subsrv=n/a | msg=Device group for fields [["resource","apikey"]] not found: [{}] | comp=IoTAgent time=2018-12-07T11:56:58.146Z | lvl=ERROR | corr=715bff5c-5c01-4295-9881-c32cdd193cad | trans=715bff5c-5c01-4295-9881-c32cdd193cad | op=IoTAgentNGSI.Alarms | srv=n/a | subsrv=n/a | msg=Raising [MONGO-ALARM]: {"name":"DEVICEGROUPNOT_FOUND","message":"Couldn\t find device group","code":404} | comp=IoTAgent time=2018-12-07T11:56:58.147Z | lvl=DEBUG | corr=715bff5c-5c01-4295-9881-c32cdd193cad | trans=715bff5c-5c01-4295-9881-c32cdd193cad | op=IoTAgentNGSI.MongoDBDeviceRegister | srv=n/a | subsrv=n/a | msg=Looking for device with id [raspiSensorTV]. | comp=IoTAgent time=2018-12-07T11:56:58.152Z | lvl=ERROR | corr=715bff5c-5c01-4295-9881-c32cdd193cad | trans=715bff5c-5c01-4295-9881-c32cdd193cad | op=IoTAgentNGSI.Alarms | srv=n/a | subsrv=n/a | msg=Releasing [MONGO-ALARM] | comp=IoTAgent {"op":"IOTAgent.LWM2MHandlers","time":"2018-12-07T11:56:58.153Z","lvl":"DEBUG","msg":"Preregistered device found."} time=2018-12-07T11:56:58.153Z | lvl=DEBUG | corr=n/a | trans=n/a | op=LWM2MLib.UpdateRegistration | msg=Update registration request ended successfully {"time":"2018-12-07T11:56:58.204Z","lvl":"DEBUG","msg":"Observers created successfully."}

Looking like measures sent above, but nothing with mongodb. Also don'e understand the "DEVICEGROUPNOT_FOUND","message":"Couldn\t find device group","code":404} error. I would appreciate step-by-step process, please.