Open twlawrenceko opened 2 years ago
@twlawrenceko there are 2 things required for RainMaker to work
MQTT credentials These can be automatically fetched using self claiming for esp32c3, esp32s2 and esp32s3. For esp32, the assisted/host claiming are the only options. Since assisted claiming is linked to BLE provisioning, it cannot be performed after the node is already paired. Host claiming is the only option then.
User - Node association Even this happens during provisioning. If some other provisioning is being used, additional efforts are required to perform the user node association, using the underlying C APIs. Some of our customers, who have HomeKit + RainMaker have built a custom HomeKit service for RainMaker user association and used that from their HomeKit + RainMaker phone app to perform the association after HomeKit pairing.
@shahpiyushv , Thank you for the details.
For the unified provisioning process (that is included in ESP-IDF repo), it seems to only connect ESP to local Wi-Fi network but not pairing to the app or phone. Or in other words, once the device is paired, how would the phone application link back to the ESP that is on the same network?
So for ESP RainMaker we know it will go through similar process as unified provisioning, but what is method of linking the device back to RainMaker app on phone? Is it processed and searching the ESP device locally or through AWS?
Thank you.
From some answer here, the softAP provisioning is receiving the success since the softAP is working while STA is also working, which softAP isn't closed yet. But what is the method for future local connection that is done in RainMaker?
@twlawrenceko , as you can see here the user-node mapping for RainMaker happens during the provisioning itself. The information is sent to the node just before sending the wifi credentials. Post provisioning, there is no way to do the user node association using this method. But as mentioned earlier, for a case like HomeKit provisioning, you can use a custom HomeKit service to do the user-node mapping on local network.
Hello,
Once the ESP device is paired via HomeKit QRcode (MFi in our case specifically). How do we link into RainMaker app?
This is the terminal log we see once HomeKit is paired up.
When attempting to scan the RainMaker provisioning QRcode, it shows as device not found.
Thank you