Engineering-Research-and-Development / iotagent-opcua

IoT Agent for OPC UA protocol
https://iotagent-opcua.rtfd.io/
GNU Affero General Public License v3.0
41 stars 21 forks source link

Tutorial not fully working #81

Closed prahvin closed 1 year ago

prahvin commented 2 years ago

Ref:- https://github.com/Engineering-Research-and-Development/iotagent-opcua/issues/79

Tried after the fix for the above issue, works partially now.

This request works curl -X PUT 'http://localhost:1026/v2/entities/age01_Car/attrs/Accelerate?type=Device' -H 'content-type: application/json' -H 'fiware-service: opcua_car' -H 'fiware-servicepath: /demo' -d '{ "value": [2], "type": "command" }'

but the GET request as shown below still reports error curl -X GET http://localhost:1026/v2/entities/age01_Car/attrs/Speed -H 'fiware-service: opcua_car' -H 'fiware-servicepath: /demo' {"error":"NotFound","description":"The entity does not have such an attribute"}

MattiaMarzano-Eng commented 1 year ago

Please try to follow this readme, keeping the config.propreties as is in the master (without changing endpoint property )

prahvin commented 1 year ago

Fixed via PR https://github.com/Engineering-Research-and-Development/iotagent-opcua/pull/86