Closed a39172 closed 1 year ago
If the IoT Agent is running in NGSI-LD or "mixed" modes, then the router will set up a listener for actuation requests, you can find the code here: see contextServer-NGSI-LD.js#L48
If you are running an IoT Agent in NGSI-v2 mode, the endpoint won't be serviced.
Is this PATCH request to the IoT agent possible? Does the IoT agent have such an endpoint?
curl -L -X PATCH 'http://localhost:4041/ngsi-ld/v1/entities/urn:ngsi-ld:Device:water001/attrs/on'