The MQTT-API from thingsboard describes:
Claiming devices
Please see the corresponding article to get more information about the Claiming devices feature.
In order to initiate claiming device, send PUBLISH message to the following topic:
v1/devices/me/claim
The supported data format is:
{"secretKey":"value", "durationMs":60000}
Please note that the above fields are optional. In case the secretKey is not specified, the empty string as a default value is used. In case the durationMs is not specified, the system parameter device.claim.duration is used (in the file /etc/thingsboard/conf/thingsboard.yml).
But here are some problems. Devices must be authenticated with a access-token. But the claim process is for unknown devices.
Is it necessary to import the device to thingsboard before I can start the claim process?
What is the real procedure?