Hello, I am hoping you can assist me with a problem I am experiencing.
I have set up the LoRaWAN IoT Agent with TTN, correctly providing the ApiKey and establishing the flow between the sensor and Orion. I am able to successfully retrieve and store data from the sensor.
However, I am encountering an issue when attempting to send a command to the sensor through a PATCH request in the Orion Context Broker.
What I send to Orion Context Broker is the following:
{
"error": "NotFound",
"description": "The requested entity has not been found. Check type and id"
}
That sounds quite weird, since all the entities in the IoTA and Orion Context Broker were automatically created by the IoTA since I've created a sensor group.
This is the body of my POST request that I've sent to the IoTA while creating the service group:
Hello, I am hoping you can assist me with a problem I am experiencing.
I have set up the LoRaWAN IoT Agent with TTN, correctly providing the ApiKey and establishing the flow between the sensor and Orion. I am able to successfully retrieve and store data from the sensor.
However, I am encountering an issue when attempting to send a command to the sensor through a PATCH request in the Orion Context Broker.
What I send to Orion Context Broker is the following:
What I receive is the following (404 not found):
That sounds quite weird, since all the entities in the IoTA and Orion Context Broker were automatically created by the IoTA since I've created a sensor group.
This is the body of my POST request that I've sent to the IoTA while creating the service group:
If I retrieve the entity from the context broker this is what I get:
Also, all the registrations are correctly set up:
These are the logs regarding my PATCH request:
Could somebody help me with this issue?
Best regards, Andrea