Poll operation status using Get Operation API request and that known operation ID until status value becomes “FINISHED”.
It all seems to work fine, but if I enter that device in my Octave dashboard there’s a message something like “You need to reboot that device, you have XX minutes left”. Is that reboot really necessary for provisioning to be finalized?
If a device is deleted and added again or moved from one company to another, the device should be power cycled for its Resources to show up properly (i.e., if the device remains powered on during the migration, it will not properly appear in Octave with its full Resource tree until the device is power cycled).
This can be done by physically rebooting the device or by sending a reboot command by writing an Event with: {"elems": { "/util/reboot/trigger": 1 }} to the device /:command Stream.
I would like to continue this discussion.
I did provisioning of the device in Octave using respective API function.
When I fetch the device status by using GetDevice API function, I receive “provisioningStatus”: “OPERATIONAL”
from which my application concludes device is ready for use, device gets unpowered and packed into the box.
However, when I open this device in the Octave dashboard I see the following message: