Closed hsakamoto123 closed 1 year ago
DUPLICATE_DEVICE_ID
would indicate that the device has already been correctly provisioned. Deleting it will remove it as you can see the count
is reduced. What I suspect is happened here, is that the Lamp was ON and streaming data, once it was deleted the next request from the lamp (which had a known API Key) recreated the lamp as an anonymous device. IIRC if the tutorial is running and any actuation has occurred dummy measures are sent periodically once a minute.
The key takeaway here is not to send measures to the IoT Agent until all devices are fully provisioned.
Thank you Jason Fox. After ./services start I was able to get it to work by only provisioning 4 devices.
Execution of request 10 results in the following.
Immediately after deleting lamp001, it becomes as follows.
I didn't do anything, but when I checked after a while, lamp001 was registered.
How can I enable provisioning of lamp001 (request 10)?