Hello,
I am using a ESP32C3 node with Linux and the Visual Studio Code Espressif extension.
I would like to add the node to my Rainmaker account to flash the firmware OTA and modify some parameters of the flashed firmware with the Rainmaker smartphone application.
During my early tests, I flashed a firmware and the monitor showed me a QR code. Then, with this QR code, I was able to associate the node to my Rainmaker account and provision the ESP32 with the local WiFi.
However, I then deleted the node from my Rainmaker account and flashed another firmware. The problem is that the node remembers the WiFi credentials and is not showing a QR code any more. Therefore, I can not associate it again to my Rainmaker account. Is there another way to associate the node to my Rainmaker account (e.g. using CLI)?
I have another problem: when the firmware is flashed to a node and the node is associated with my Rainmaker account, how can I change the Wifi credentials if I want to install the node in another place with a different Wifi but by keeping the node associated with my Rainmaker account? Is there a way to change the Wifi parameters on the node after the Rainmaker account association (e.g. by BLE)?
Thank you for your answers.
Associate Esp32C3 node to Rainmaker account and to new wifi provider
-
- Posts: 1
- Joined: Fri Jul 08, 2022 6:44 am
-
- Posts: 309
- Joined: Wed Feb 20, 2019 7:02 am
Re: Associate Esp32C3 node to Rainmaker account and to new wifi provider
In order to re-provision a node to add it back to the same/different account and with the same/different Wi-Fi credentials, you can use the `esp_rmaker_wifi_reset()` API. Docs for the various reset APIs can be found here. Additionally, all examples have Wi-Fi reset and factory reset configured on the BOOT button. Press and hold the button for 3+ seconds to trigger a Wi-Fi reset. You can read about this here. We also have a service called "System Service" which will enable these reset functions from the phone apps. However, the phone apps don't support this yet. This will be available shortly.
Who is online
Users browsing this forum: No registered users and 17 guests