SphtKr / homebridge-zway

Homebridge plugin for (better) HomeKit support of RaZBerry and Z-Way Server
ISC License
85 stars 37 forks source link

Deactivated Devices show up #67

Closed ghulands closed 7 years ago

ghulands commented 7 years ago

You need to skip devices with

            "permanently_hidden": true,

So they respect the settings in the Zway UI.

SphtKr commented 7 years ago

So, it does...

    if(this.opt_in) isBridged = false; else isBridged = true; // Start with the initial bias
    if(vdev.permanently_hidden) isBridged = false;
    if(isTaggedInclude) isBridged = true; // Include overrides permanently_hidden
    if(isTaggedSkip) isBridged = false; // Skip overrides Include...
    if(this.opt_in && isTaggedInclude) isBridged = true; // ...unless we're in opt_in mode, where Include always wins.

Unless you've explicitly specified the tag Homebridge.Include...did you happen to do that?

SphtKr commented 7 years ago

Closing, might have been Homebridge.Include, might have been earlier version. Reopen if needed!