Page 1 of 1
failed to associate device
Posted: Fri Feb 24, 2023 2:06 pm
by odirile.garebabitse
Wifi failing to connect,
Now I get the QR code and Bluetooth gave access, but when submitting the WiFi name and password
via the Android app I get "
". On the ESP RAINMAKER when it is supposed to send WiFi credentials.
I tried with all example code provided by esp32 Rainmaker for arduino IDE.
Re: failed to associate device
Posted: Fri Feb 24, 2023 6:05 pm
by sanketwadekar
Can you specify the version of ESP32-Arduino you are using? You can also refer the steps mentioned here
https://blog.espressif.com/esp-rainmake ... 1474526172
Re: failed to associate device
Posted: Sun Feb 26, 2023 9:50 pm
by odirile.garebabitse
I am using Arduino IDE 2.0.3 and ESP32 board manger 2.0.7, it was workings since last year until this week Monday where it just refuses to connect the wi-fi
Re: failed to associate device
Posted: Tue Feb 28, 2023 7:24 am
by sanketwadekar
Please attach any error logs you see on the Serial Monitor. Also, can you try building the sketch using ESP32-Arduino 2.0.6 from the Boards manager and check if the issue still persists?
Re: failed to associate device
Posted: Mon Mar 06, 2023 5:21 am
by Danielvrey
Same issue here but downgrading the board manager to 2.0.6 made it work again.
Re: failed to associate device
Posted: Thu Mar 30, 2023 5:56 am
by kamranibadov
I would like to draw attention to this issue and express my gratitude to Danielvrey for providing a solution. I was also able to resolve the problem by downgrading to version 2.0.6. It appears that version 2.0.7 has a bug.
Re: failed to associate device
Posted: Fri May 05, 2023 8:52 pm
by cptnmtrcycl3
Hi, I am having the same issue. I have Arduino IDE 2.0.4, and am running on an ESP32 Wrover-IE. My Arduino board choice is ESP32 Dev Module, so I can change the flash size to 8Mb to fit my board. I am obviously using the Rainmaker partition, and am trying to get the basic RmakerSwitch example code to run. After several issues, I can sometimes get to the point where it will tell me "Failed to associate device" just as earlier in this thread. I am getting some weird errors in the Serial monitor as well. I have tried everything I can think of, but I haven't had this board for very long and am asking for some help. Here is what the serial monitor shows.
E (53) esp_rmaker_fctry: NVS Flash init failed
E (53) esp_rmaker_core: Failed to initialise storage
E (55) esp_rmaker_node: Node or Device/Service handle cannot be NULL.
E (57) esp_rmaker_work_queue: Cannot enqueue function as Work Queue hasn't been created.
E (65) esp_rmaker_ota: Failed to enable OTA
E (70) esp_rmaker_core: ESP RainMaker not initialised
E (74) esp_rmaker_node: Node or Device/Service handle cannot be NULL.
E (81) esp_rmaker_core: ESP RainMaker not initialised
E (85) esp_rmaker_node: Node or Device/Service handle cannot be NULL.
E (91) esp_rmaker_schedule: Failed to add service Service
It then shows me the QR code.
Re: failed to associate device
Posted: Tue May 09, 2023 7:57 am
by sanketwadekar
cptnmtrcycl3 wrote:
Hi, I am having the same issue. I have Arduino IDE 2.0.4, and am running on an ESP32 Wrover-IE. My Arduino board choice is ESP32 Dev Module, so I can change the flash size to 8Mb to fit my board. I am obviously using the Rainmaker partition, and am trying to get the basic RmakerSwitch example code to run. After several issues, I can sometimes get to the point where it will tell me "Failed to associate device" just as earlier in this thread. I am getting some weird errors in the Serial monitor as well. I have tried everything I can think of, but I haven't had this board for very long and am asking for some help. Here is what the serial monitor shows.
E (53) esp_rmaker_fctry: NVS Flash init failed
E (53) esp_rmaker_core: Failed to initialise storage
E (55) esp_rmaker_node: Node or Device/Service handle cannot be NULL.
E (57) esp_rmaker_work_queue: Cannot enqueue function as Work Queue hasn't been created.
E (65) esp_rmaker_ota: Failed to enable OTA
E (70) esp_rmaker_core: ESP RainMaker not initialised
E (74) esp_rmaker_node: Node or Device/Service handle cannot be NULL.
E (81) esp_rmaker_core: ESP RainMaker not initialised
E (85) esp_rmaker_node: Node or Device/Service handle cannot be NULL.
E (91) esp_rmaker_schedule: Failed to add service Service
It then shows me the QR code.
Which version of esp32-arduino are you using? Try using esp32-arduino v2.0.6 board from the boards manager and check if this issue still exists.