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

pasquy73's profile - activity

2021-10-27 09:02:05 +0200 commented question Orion updating the context even on sending even on sending wrong context attributes

{ "devices": [ { "device_id": "temp001", "entity_name": "urn:ngsi-ld:Thing:temp001", "entity_type": "Thing", "lazy": [{ "object_id":"t", "name": "temperature", "type": "number" }] } ] }

2021-10-27 09:01:58 +0200 commented question Orion updating the context even on sending even on sending wrong context attributes

Provisioning: Device curl -iX POST 'http://217.172.12.187:4061/iot/devices' -H 'Content-Type: application/json' -H 'fiware-service: openiot' -H 'fiware-servicepath: /'

2021-10-27 08:54:58 +0200 commented question Orion updating the context even on sending even on sending wrong context attributes

{ "services": [ { "apikey": "1234567890", "cbroker": "http://localhost:1026", "entity_type": "Thing", "resource": "/iot/d" } ] }

2021-10-27 08:54:07 +0200 commented question Orion updating the context even on sending even on sending wrong context attributes

Provisioning: Service curl -iX POST 'http://localhost:4061/iot/services' -H 'Content-Type: application/json' -H 'fiware-service: openiot' -H 'fiware-servicepath: /'

2021-10-27 08:53:21 +0200 commented question Orion updating the context even on sending even on sending wrong context attributes

Here are my steps to configure IoT Agent UL (1.12.0-next): git clone https://github.com/telefonicaid/iotagent-ul.git cd iotagent-ul/ npm install cp config.js config-ul.js Change params in config-ul.js if you need node bin/iotagent-ul config-ul.js

2021-10-27 08:53:21 +0200 received badge  Commentator
2021-10-27 08:48:26 +0200 commented question Orion updating the context even on sending even on sending wrong context attributes

As I know, you have to use an MQTT server as described in the doc (https://fiware-iotagent-json.readthedocs.io/en/latest/stepbystep/index.html). But if you want to send data directly to IoT Agent via HTTP, try to use IoT Agent UL (https://github.com/telefonicaid/iotagent-ul)

2021-06-07 13:41:52 +0200 commented answer Multiple subscriptions in batch mode

Singular notifications (/v2/entities/Car1/attrs/speed and /v2/entities/Car2/attrs/speed) are fine. Of course, I'm using the same headers (for all). But only the first entity (Car1) will be notified if I change the speed attribute for both, using /v2/op/update API.

2021-06-02 09:22:30 +0200 received badge  Famous Question (source)
2021-05-31 11:38:51 +0200 received badge  Popular Question (source)
2021-05-31 11:38:51 +0200 received badge  Notable Question (source)
2021-05-28 09:26:23 +0200 asked a question Multiple subscriptions in batch mode

Hi all, I created multiple notifications using idPattern (Car[1-5]) to sent notifications for any Cars of the same type to save data using Cygnus. Subscriptions works! I can update any attribute (i.e. /v2/entities/Car1/attrs/speed). But can I use a batch operation (v2/op/update) to update multiple attrs? I tried but only one (first) attribute will be notified (and stored) If yes, what can I do it? I also tried to configure CYGNUSMYSQLBATCH_xxx params but without success. Thank you pasquy

2021-05-28 09:10:53 +0200 asked a question How to add user filter on subscriptions

Hi all, I'm using Orion Context Broker to display public context information. I would like to login on my application to add subscriptions with a specific user roles; for example users belongs to roleA can see only subscriptions for that roleA, and users belongs to roleB only subscription for roleB, ect.... Is it possible?

2021-03-11 08:41:09 +0200 commented question Raspberry PI and Fiware

I think you have to install IoTAgent (i.e IoTAgentUL) on your PC and configure it in mqtt mode. Raspberry is the publisher and IoTAgent the subscriber. After configuring and provisioning you can see your data into Orion. Use the Orion's REST APIs to get all measures for displaying.I hope I help you.

2019-12-09 09:53:46 +0200 received badge  Supporter (source)
2019-12-04 09:33:15 +0200 answered a question fiware-service in Orion 2.2.0

I solved my issue: I must use multiservice option in the command line when I start orion as described in the doc (https://fiware-orion.readthedocs.io/e...): $ contextBroker -multiservice

2019-12-04 09:20:57 +0200 received badge  Notable Question (source)
2019-12-04 09:20:57 +0200 received badge  Famous Question (source)
2019-12-03 21:48:19 +0200 received badge  Notable Question (source)
2019-12-03 21:48:19 +0200 received badge  Famous Question (source)
2019-07-03 12:43:16 +0200 received badge  Popular Question (source)
2019-06-27 12:35:43 +0200 commented answer How to add user filter on subscriptions

My context is public, I've a select box to select fiware-service and fiware-servicepath. For all entities all users can add subscriptions. My problem is this; we want to display all subscriptions related to roles, so I need to filter the subscriptions by roles.

2019-06-27 11:51:15 +0200 commented answer fiware-service in Orion 2.2.0

The only difference is the version of mongo. I'm using 4.0.9 for Orion 2.2.0, instead Orion 2.0.0next uses 3.6.9

2019-06-27 10:51:43 +0200 commented answer fiware-service in Orion 2.2.0

Yes, I'm using show databases command and also a mongo client to connect on mongo instance (after open port). In my 2.2.0 instance I can see only after '> show databases': admin 0.000GB config 0.000GB local 0.000GB orion 0.000GB

2019-06-27 10:25:26 +0200 commented answer fiware-service in Orion 2.2.0

Yes, you are right, but I tried with a Orion VM in FIWARE Lab (1.3.0 and 2.0.0next) and both Orion stored data in to orion-vehicles collections. I installed manually Orion 2.2.0 on Centos 7 and I have only collection: orion, with fiware-service: vehicles. Probably it's my fault in the installation.

2019-06-27 10:19:26 +0200 asked a question How to add user filter on subscriptions

Hi all, I'm using Orion Context Broker to display public context information. I would like to login on my application to add subscriptions with a specific user roles; for example users belongs to roleA can see only subscriptions for that roleA, and users belongs to roleB only subscription for roleB, ect.... Is it possible?

2019-06-27 09:18:20 +0200 received badge  Popular Question (source)
2019-06-18 16:05:31 +0200 received badge  Editor (source)
2019-06-18 16:04:56 +0200 asked a question fiware-service in Orion 2.2.0

Hi all, I'm using Orion Context Broker 2.2.0 and I'm using fiware-service and fiware-servicepath to separate the data, but I've the same results with or without the fiware-service. Is it my fault or not?

2018-11-12 09:07:43 +0200 received badge  Popular Question (source)
2018-11-12 09:07:43 +0200 received badge  Notable Question (source)
2018-11-03 09:23:59 +0200 asked a question Get token for object storage

Dear all, I cannot use the POST call to http://cloud.lab.fiware.org:4730/v2.0... with payload:

{"auth": {"passwordCredentials": {"username":"my-email@email.com", "password":"yourpassword"}, "tenantId": "a121dfc9d22347ebb07eb89cc3c0e79f" } }

to get the token for Object Storage. Please, could you tell me how can I solve it? Thanks a lot Regards Pasquale

2018-05-02 09:27:05 +0200 answered a question REST API - Past values of an entity

Hi, Orion doesn't store own context. This policy is right, because if your context is composed by many attributes, and you update it, any second ... after few days (for example) the internal database (mongo) of Orion will became full and your service will fault.

To store the context you can use the Cygnus adapter and you can chose, for your app, the right storage system (ex. mongo, mysql, ckan, cosmos big data, etc...) that it depends how much data you want to manage.

pasquy

2018-03-20 14:17:45 +0200 received badge  Popular Question (source)
2018-03-20 14:17:45 +0200 received badge  Notable Question (source)
2018-03-20 14:17:45 +0200 received badge  Famous Question (source)
2018-02-16 11:57:22 +0200 asked a question Provisioning and autoprovisioning

I'm using IoT Agent and I'm reading that there are two types of provisioning: provisioning and autoprovisioning (or preprovisioning). I tried the "provisioning" simply using the curl command (i.e. curl localhost:4041/iot/devices ...) but I don't understand preprovisioning. Are there differents or are they the same? If not, could you give me some info or real example?

Thanks a lot

2017-09-22 07:57:20 +0200 received badge  Teacher (source)
2017-09-20 14:36:46 +0200 answered a question Raspberry Pi and Figway to register device

Ciao Simona, I guess that you want to try the B scenario of the tutorial (https://www.fiware.org/tag/raspberry-pi/). So you edited the Register4IN1, RegisterDOOR and Register_SWITCH files (replaced all 'HACKSANTANDER' strings in the files) and in the Step 3.2 when you run:

./registerDevice 0001 4IN1

you have to expect a "200 OK response" after "M2M Platform reply". First, can you set to "DEBUG = 4" in the config file? Pasquale

2017-01-11 08:46:12 +0200 received badge  Popular Question (source)
2017-01-11 08:46:12 +0200 received badge  Notable Question (source)
2017-01-11 08:46:12 +0200 received badge  Famous Question (source)
2017-01-11 08:45:30 +0200 received badge  Popular Question (source)
2017-01-11 08:45:30 +0200 received badge  Notable Question (source)
2017-01-11 08:45:30 +0200 received badge  Famous Question (source)