yenoiwesa / homebridge-connexoon

A homebridge plugin to integrate Somfy blinds with the Connexoon RTS hub
Apache License 2.0
26 stars 2 forks source link

Avoid 'No device is associated' logging on start up #47

Closed tkilik11 closed 2 years ago

tkilik11 commented 2 years ago

How do I remove these errors?

[15/03/2022, 13:15:06] [Connexoon] No device is associated to Living Blind
[15/03/2022, 13:15:06] [Connexoon] No device is associated to Living Blind
[15/03/2022, 13:15:06] [Connexoon] No device is associated to Bedroom 1 Blinds
[15/03/2022, 13:15:06] [Connexoon] No device is associated to Bedroom 1 Blinds
[15/03/2022, 13:15:06] [Connexoon] No device is associated to Bedroom 2 Blind
[15/03/2022, 13:15:06] [Connexoon] No device is associated to Bedroom 2 Blind
[15/03/2022, 13:15:06] [Connexoon] No device is associated to Master Bedroom Blind
[15/03/2022, 13:15:06] [Connexoon] No device is associated to Master Bedroom Blind
[15/03/2022, 13:15:06] [Connexoon] No device is associated to Stairwell Blind
[15/03/2022, 13:15:06] [Connexoon] No device is associated to Stairwell Blind
yenoiwesa commented 2 years ago

Hi @tkilik11,

Are these blinds that do no longer exist in your Connexoon app?

tkilik11 commented 2 years ago

45B77D8B-A6B8-4FFF-978F-CFC16B25E8D7

they still exist

yenoiwesa commented 2 years ago

And they are mapped just fine by the plugin? It can happen that it takes some time for the accessories to be re-associated. If the plugin is functional then there is no problem.

tkilik11 commented 2 years ago

Yes it is all functional! I just like cleaning up my logs

yenoiwesa commented 2 years ago

Lol that's a weird hobby but alright! This is currently working as I designed. Homebridge tells the platform that accessories already exist, accessories are not hydrated yet with the Connexoon response, so they are unmapped for a short while.

I will not close the ticket but mark it as improvement. It's not urgent.

gymrat801 commented 2 years ago

I tend to agree with OP. I'm using TaHomaUSA products and get the same list of errors. Would be nice not to see them in bright red since there isn't actually anything wrong. But, it works great and I couldn't be happier.

(Thank you, btw! Your addition this week of TaHomaUSA ended a two-year long frustration with multiple other plugins that have never worked correctly...yours just works!)

yenoiwesa commented 2 years ago

Glad to hear that my plugin works for you @gymrat801 !

I reduced the log level to debug for that error since it only really happens during start up. Please update the plugin to version 2.2.1 to pull in that change.

Cheers.