pradeepmouli / homebridge-isy-js

Homebridge platform plugin for the ISY series of home controllers from Universal Devices.
MIT License
28 stars 9 forks source link

Ignore filter not filtering some devices #11

Closed apnar closed 4 years ago

apnar commented 4 years ago

I have some Ignore rules that aren't catching all the devices they should be so those devices aren't being excluded.

For example I have the rule:

"nameContains": "Fan"

and it catches some devices fine:

[4/29/2020, 4:23:06 PM] [ISY] Ignoring device: Patio Switch - Fan High (40 CE 68 3) because of rule: {"nameContains":"Fan"} [4/29/2020, 4:23:06 PM] [ISY] Ignoring device: Patio Switch - Fan Medium (40 CE 68 4) because of rule: {"nameContains":"Fan"} [4/29/2020, 4:23:06 PM] [ISY] Ignoring device: Patio Switch - Fan Low (40 CE 68 5) because of rule: {"nameContains":"Fan"} [4/29/2020, 4:23:06 PM] [ISY] Ignoring device: Patio Switch - Fan Off (40 CE 68 6) because of rule: {"nameContains":"Fan"}

But other devices are not being ignored:

[4/29/2020, 4:23:06 PM] [ISY: Bas. Bed Fan - High] Configuring linked platform accessory [4/29/2020, 4:23:06 PM] [ISY: Bas. Bed Fan - Med] Configuring linked platform accessory [4/29/2020, 4:23:06 PM] [ISY: Bas. Bed Fan - Low] Configuring linked platform accessory [4/29/2020, 4:23:06 PM] [ISY: Bas. Bed Fan - Off] Configuring linked platform accessory

Attached config, dump, and log.

debug-info.zip

apnar commented 4 years ago

version v0.5.0-beta.24 fixed this for me.