Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New version of Rainmaker not working (MEGH-5906) #327

Closed
3 tasks done
fmb787 opened this issue Aug 20, 2024 · 8 comments
Closed
3 tasks done

New version of Rainmaker not working (MEGH-5906) #327

fmb787 opened this issue Aug 20, 2024 · 8 comments

Comments

@fmb787
Copy link

fmb787 commented Aug 20, 2024

Answers checklist.

  • I have read the Rainmaker documentation and the issue is not addressed there.
  • I have updated my IDF branch (release/vX.Y) to the latest version and checked that the issue is present there. This is not applicable if you are using Rainmaker with Arduino.
  • I have searched the Rainmaker forum and issue tracker for a similar issue and not found a similar issue.

General issue report

Hello,

iam facing issue when i updated ESP Rainmaker app on IOS from V3.2.0 to V3.2.1 , app now stuck in "confirming Node association" and receive error below , device not added to app but the esp32 appears to be already connected to wifi .
it was working fine with V3.2.0 also there is no issue with (Android app ) only in IOS .

Captuddre

here is a brief of my setup

  • Iphone 11 , 17.5.1 ios
  • Arduino IDE 2.3.2
  • ESP32 core 3.0.4
  • ESP RainMaker App V3.2.1
  • code "RMakerSwitch" sample without single change on it . RMakerSwitch.ino

below is serial Monitor log

21:19:02.527 -> [  6331][I][RMaker.cpp:17] event_handler(): RainMaker Initialized.
21:19:02.571 -> [  6346][I][RMaker.cpp:18] event_handler(): RainMaker Claim Started.
21:19:02.571 -> [  6353][I][WiFiProv.cpp:143] beginProvision(): Starting AP using BLE. service_name : PROV_1234, pop : abcd1234
21:19:03.021 -> 
21:19:03.021 -> Provisioning Started with name "PROV_1234" and PoP "abcd1234" on BLE
21:19:03.068 -> Scan this QR code from the ESP RainMaker phone app.

21:19:03.199 ->   █ ▀▀▀ █ ▄▄▀▀▄ ▄▀  █▀█▀▀███▄▀█ █▄█   
21:19:03.199 ->   ▀▀▀▀▀▀▀ ▀▀▀ ▀▀▀▀▀▀ ▀  ▀▀▀▀▀▀▀       

21:19:03.239 -> If QR code is not visible, copy paste the below URL in a browser.
21:19:03.239 -> https://rainmaker.espressif.com/qrcode.html?data={"ver":"v1","name":"PROV_1234","pop":"abcd1234","transport":"ble"}
21:19:40.145 -> E (52540) esp_rmaker_core: Node connected to Wi-Fi without Assisted claiming. Cannot proceed to MQTT connection.
21:19:40.203 -> E (52540) esp_rmaker_core: Please update your phone apps and repeat Wi-Fi provisioning with BLE transport.
21:19:51.253 -> E (63647) wifi_prov_scheme_ble: bt_mem_release of BTDM failed 259

and after i restart the ESP32

21:33:22.094 -> [   112][I][RMaker.cpp:17] event_handler(): RainMaker Initialized.
21:33:22.139 -> [   126][I][RMaker.cpp:18] event_handler(): RainMaker Claim Started.
21:33:22.139 -> [   133][I][WiFiProv.cpp:159] beginProvision(): Already Provisioned
21:33:22.139 -> [   139][I][WiFiProv.cpp:163] beginProvision(): Attempting connect to AP: xxxxxxx
21:33:22.139 -> 
21:33:22.233 -> E (220) wifi_prov_scheme_ble: bt_mem_release of BTDM failed 259
21:33:23.245 -> [  1224][E][STA.cpp:302] begin(): NETIF_STARTED_BIT not set! try to connect anyway...

Could someone please advise how to correct this, and whether the issue from the app or not .

.
.

thanks alot

.

@github-actions github-actions bot changed the title New version of Rainmaker not working New version of Rainmaker not working (MEGH-5906) Aug 20, 2024
@fmb787
Copy link
Author

fmb787 commented Aug 21, 2024

i'll be happy for any suggestion

@vikramdattu
Copy link
Contributor

Hi @fmb787 couple of questions:

  • Have you also tried with Android App and face same issue?
  • Can you perform a factory reset (Press and hold boot button for ~10seconds) and then try provisioning again?

@fmb787
Copy link
Author

fmb787 commented Aug 22, 2024

Hello @vikramdattu thanks for your reply ,

  • yes i tried with Android App and it's working fine ( i mentioned this in my description)
  • yes i have perform a factory reset (10seconds) and WiFi reset (3seconds) with same issue .

@fmb787
Copy link
Author

fmb787 commented Aug 23, 2024

is there any workaround way ! i can use/fix then will build app by myself .

@vikramdattu
Copy link
Contributor

Hi @fmb787 we are able to reproduce the issue and are looking into this.

@thadius83
Copy link

Hello @vikramdattu thanks for your reply ,

  • yes i tried with Android App and it's working fine ( i mentioned this in my description)
  • yes i have perform a factory reset (10seconds) and WiFi reset (3seconds) with same issue .

Just ran into the same issue here. Same details.

@AhmedShaalan
Copy link

Same Exact error for me as well. with the led_ight and switch example. I just built it, flashed it and it didn't work.

CleanShot 2024-09-04 at 02 06 00@2x
CleanShot 2024-09-04 at 02 06 11@2x

@shahpiyushv
Copy link
Collaborator

iOS app with fix for assisted claiming is now available on the app store (v3.2.2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants