failed to associate device

odirile.garebabitse
Posts: 2
Joined: Fri Feb 24, 2023 10:01 am

failed to associate device

Postby odirile.garebabitse » Fri Feb 24, 2023 2:06 pm

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 "Image". 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.
Attachments
Screenshot_20230224-134315_ESP RainMaker.jpg
Screenshot_20230224-134315_ESP RainMaker.jpg (118.92 KiB) Viewed 7548 times

sanketwadekar
Posts: 32
Joined: Tue Jul 26, 2022 10:08 am

Re: failed to associate device

Postby sanketwadekar » Fri Feb 24, 2023 6:05 pm

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

odirile.garebabitse
Posts: 2
Joined: Fri Feb 24, 2023 10:01 am

Re: failed to associate device

Postby odirile.garebabitse » Sun Feb 26, 2023 9:50 pm

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

sanketwadekar
Posts: 32
Joined: Tue Jul 26, 2022 10:08 am

Re: failed to associate device

Postby sanketwadekar » Tue Feb 28, 2023 7:24 am

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?

Danielvrey
Posts: 1
Joined: Mon Mar 06, 2023 5:19 am

Re: failed to associate device

Postby Danielvrey » Mon Mar 06, 2023 5:21 am

Same issue here but downgrading the board manager to 2.0.6 made it work again.

kamranibadov
Posts: 6
Joined: Tue Feb 21, 2023 9:34 am

Re: failed to associate device

Postby kamranibadov » Thu Mar 30, 2023 5:56 am

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.

cptnmtrcycl3
Posts: 1
Joined: Fri May 05, 2023 8:44 pm

Re: failed to associate device

Postby cptnmtrcycl3 » Fri May 05, 2023 8:52 pm

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.

sanketwadekar
Posts: 32
Joined: Tue Jul 26, 2022 10:08 am

Re: failed to associate device

Postby sanketwadekar » Tue May 09, 2023 7:57 am

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.

Who is online

Users browsing this forum: No registered users and 11 guests