We have been working hard to get our app and server reliably working with Photon P1 and use a claiming process that always works. We follow this sequence of steps:
- Photon P1 is in SoftAP mode
- Our app sends WiFi-credentials to the P1
- Our app send Photon ID to our server, server verifies list of IDs and adds device to Photon Cloud, claims the device and the renames the device
- typically before the claim is ready the P1 is already online and (trying to) sends webhook calls.
Issue is that the webhooks sometimes work right after setup, but 1 out of 3 times we need a reboot of the P1 to have the webhook works (arrive via the cloud at our server).
Are we doing something wrong here? Are we running in a similar issue as this [Webhooks] Hook-response fails when device claimed
Any help is really appreciated.