Accepts a device state report and forwards it (as-is) to Kafka topic esper.device.device.state after enriching with tenant_id and device_id.
Security
device_apiKey
- Mock serverhttps://api.esper.io/_mock/openapi/v2/devices/{id}/devicestate
- https://develop-api.esper.cloud/apihttps://develop-api.esper.cloud/api/v2/devices/{id}/devicestate
curl -i -X PUT \
'https://api.esper.io/_mock/openapi/v2/devices/{id}/devicestate' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"event_ts": 0,
"device_settings": {}
}'