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.
failed to associate device
-
- Posts: 2
- Joined: Fri Feb 24, 2023 10:01 am
failed to associate device
- Attachments
-
- Screenshot_20230224-134315_ESP RainMaker.jpg (118.92 KiB) Viewed 7523 times
-
- Posts: 32
- Joined: Tue Jul 26, 2022 10:08 am
Re: failed to associate device
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
-
- Posts: 2
- Joined: Fri Feb 24, 2023 10:01 am
Re: failed to associate device
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
-
- Posts: 32
- Joined: Tue Jul 26, 2022 10:08 am
Re: failed to associate device
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?
-
- Posts: 1
- Joined: Mon Mar 06, 2023 5:19 am
Re: failed to associate device
Same issue here but downgrading the board manager to 2.0.6 made it work again.
-
- Posts: 6
- Joined: Tue Feb 21, 2023 9:34 am
Re: failed to associate device
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.
-
- Posts: 1
- Joined: Fri May 05, 2023 8:44 pm
Re: failed to associate device
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.
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.
-
- Posts: 32
- Joined: Tue Jul 26, 2022 10:08 am
Re: failed to associate device
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.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.
Who is online
Users browsing this forum: No registered users and 9 guests