aarons22 / homebridge-bond

Homebridge plugin for Bond
MIT License
64 stars 31 forks source link

All devices not showing since update #152

Open johnpaulmedina opened 3 years ago

johnpaulmedina commented 3 years ago

Describe the bug All devices are not showing on HomeKit any more

Information (please complete the following information):

LOG [4/29/2021, 10:02:01 AM] [Bond] Initializing Bond platform... [4/29/2021, 10:02:02 AM] [Bond] 0 cached accessories were loaded [4/29/2021, 10:02:02 AM] [Bond] Getting devices for this Bond (XXXXXXXXXX)... [4/29/2021, 10:02:02 AM] [Bond] 27 devices were found on this Bond (XXXXXXXXXX). [4/29/2021, 10:02:02 AM] [Bond] Attempting to add 27 devices that were not previously added. [4/29/2021, 10:02:12 AM] [Bond] A request error occurred: undefined [4/29/2021, 10:02:12 AM] [Bond] Error getting devices: TypeError: Cannot set property 'id' of undefined [4/29/2021, 10:02:12 AM] [Bond] A request error occurred: undefined [4/29/2021, 10:02:12 AM] [Bond] A request error occurred: undefined [4/29/2021, 10:02:12 AM] [Bond] A request error occurred: undefined [4/29/2021, 10:02:12 AM] [Bond] A request error occurred: undefined [4/29/2021, 10:02:12 AM] [Bond] A request error occurred: undefined [4/29/2021, 10:02:12 AM] [Bond] A request error occurred: undefined [4/29/2021, 10:02:12 AM] [Bond] A request error occurred: undefined [4/29/2021, 10:02:12 AM] [Bond] A request error occurred: undefined [4/29/2021, 10:02:12 AM] [Bond] A request error occurred: undefined [4/29/2021, 10:02:12 AM] [Bond] A request error occurred: undefined [4/29/2021, 10:02:12 AM] [Bond] A request error occurred: undefined [4/29/2021, 10:02:12 AM] [Bond] A request error occurred: undefined [4/29/2021, 10:02:12 AM] [Bond] A request error occurred: undefined [4/29/2021, 10:02:12 AM] [Bond] A request error occurred: undefined [4/29/2021, 10:02:12 AM] [Bond] A request error occurred: undefined [4/29/2021, 10:02:12 AM] [Bond] A request error occurred: undefined [4/29/2021, 10:02:12 AM] [Bond] A request error occurred: undefined [4/29/2021, 10:02:12 AM] [Bond] A request error occurred: undefined [4/29/2021, 10:02:12 AM] [Bond] A request error occurred: undefined [4/29/2021, 10:02:12 AM] [Bond] A request error occurred: undefined [4/29/2021, 10:02:12 AM] [Bond] A request error occurred: undefined [4/29/2021, 10:02:26 AM] [Bond] A request error occurred: undefined [4/29/2021, 10:02:26 AM] [Bond] A request error occurred: undefined [4/29/2021, 10:02:26 AM] [Bond] A request error occurred: undefined [4/29/2021, 10:02:26 AM] [Bond] A request error occurred: undefined

aarons22 commented 3 years ago

So if you downgrade to the previous version, it works?

johnpaulmedina commented 3 years ago

No I tried going to a previous version but it seems stuck.

At the current moment none of the devices are showing on home bridge.

I even reset the home bridge from scratch. I was hoping you would be able to shed some light on the errors. I also thought maybe there are too many devices?

I have a Bond Bridge Pro. If that makes a difference or not?

aarons22 commented 3 years ago

I haven't had a chance to hookup my bond bridge pro, but that could potentially make a difference.

Can you provide debug logs? That will help shed light on which requests are failing

johnpaulmedina commented 3 years ago

Where would I get them at?

Im new to homebridge.

Sent from my iPhone

On May 9, 2021, at 10:49 AM, Aaron Sapp @.***> wrote:

 I haven't had a chance to hookup my bond bridge pro, but that could potentially make a difference.

Can you provide debug logs? That will help shed light on which requests are failing

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

jaromirrivera commented 3 years ago

I was getting this same error with my fanimation airedrop fans / lights... what helped me resolve it was to continually restart the homebridge service until all my fans were detected... after each restart a device would be added and cached until all showed up in my Home app.

johnpaulmedina commented 3 years ago

I did that plenty and not a single one was detected.

Sent from my iPhone

On May 17, 2021, at 11:03 AM, Jaromir Rivera @.***> wrote:

 I was getting this same error with my fanimation airedrop fans / lights... what helped me resolve it was to continually restart the homebridge service until all my fans were detected...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

aarons22 commented 3 years ago

I've got some updates coming to (hopefully) help identify the core issue here.

johnpaulmedina commented 3 years ago

Great. I think it is an issue with JS and looping over the devices.

Sent from my iPhone

On May 26, 2021, at 6:39 PM, Aaron Sapp @.***> wrote:

 I've got some updates coming to (hopefully) help identify the core issue here.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.