espressif / esp-rainmaker

ESP RainMaker Agent for firmware development
Apache License 2.0
431 stars 145 forks source link

Nova Home app unable to find device. (MEGH-4872) #277

Open hackintoshlover opened 10 months ago

hackintoshlover commented 10 months ago

Answers checklist.

General issue report

Using esp-launchpad i uploaded the fan example to esp32. Rainmaker android app is able to search for the device over bluetooth and adds the device. Nova home app is unable to find the device over bluetooth. I have to manually scan qr code to add device to the app. Kindly fix/suggest a solution.

hackintoshlover commented 10 months ago

Issue still remains even after updating app to v2.0.0 released on august 16 2023 on google play store. Any steps to solve it?

shahpiyushv commented 10 months ago

@hackintoshlover , Nova home app looks for some additional info in the BLE advertisement data to show the devices in the scan list. We have added this in the switch and led_light examples in this commit. However, there's a bug in the Nova Home app due to which pairing with such scanned devices fails if they use a PIN for provisioning. So, these examples will work fine with Nova Home app, only if you pass POP_TYPE_NULL to app_wifi_start(). We will fix this bug asap.

hackintoshlover commented 10 months ago

@hackintoshlover , Nova home app looks for some additional info in the BLE advertisement data to show the devices in the scan list. We have added this in the switch and led_light examples in this commit. However, there's a bug in the Nova Home app due to which pairing with such scanned devices fails if they use a PIN for provisioning. So, these examples will work fine with Nova Home app, only if you pass POP_TYPE_NULL to app_wifi_start(). We will fix this bug asap.

This works. Tried just now. Thanks for the help. Eagerly waiting for the nova home app to be fixed.

hackintoshlover commented 10 months ago

1) So i just removed the device from app using remove button, but the device did not enter back into provision mode. Upon pressing reset button, the device is still connected to my wifi network but does not show in app nor it enters provision mode. I have to manually hold down boot button to reset and bring back it in provision mode. Ideally it should happen like once device is removed from app, it goes back into provision mode (erases store wifi credentials) Is this a bug or am i not understanding it?

2) Is there no local control in nova home app because rainmaker app commands work instantly but nova home app commands have a bit of delay. Ideally even nova home app should also have local control option.