Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Plugin ignoring blacklist #127

Open
dakovacic opened this issue Oct 14, 2022 · 0 comments
Open

[BUG] Plugin ignoring blacklist #127

dakovacic opened this issue Oct 14, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@dakovacic
Copy link

Logs

See attached.

Describe the bug

I have a MagicHome individually addressable LED strip as part of my home network. I know that the individually addressable controllers are not yet supported by the plugin, so I have blacklisted the device ID which according to the documentation is supposed to cause the plugin to ignore it.

Every time the plugin runs a discovery however, it attempts to contact the controller and generates the error you see in the logs.

The plugin is configure with the following settings:

{
            "pruning": {
                "pruneMissingCachedAccessories": true,
                "restartsBeforeMissingAccessoriesPruned": 3,
                "pruneAllAccessoriesNextRestart": false
            },
            "whiteEffects": {
                "simultaniousDevicesColorWhite": true,
                "colorWhiteThreshold": 10,
                "colorWhiteThresholdSimultaniousDevices": 50,
                "colorOffThresholdSimultaniousDevices": 5
            },
            "deviceManagement": {
                "blacklistOrWhitelist": "blacklist",
                "blacklistedUniqueIDs": [
                    "ACD8293F63B7"
                ]
            },
            "advancedOptions": {
                "periodicDiscovery": true,
                "namesWithMacAddress": false,
                "logLevel": 4
            },
            "platform": "homebridge-magichome-dynamic-platform"
        },

To Reproduce

Just restart home bridge or allow the plugin to do its periodic discovery with the device powered on.

Expected behavior

I expected the plugin to ignore the unsupported (blacklisted) controller per the documentation.

Host Hardware

  • Hardware: Raspberry Pi 3 Model B Plus Rev 1.3
  • OS: Linux homebridge 5.10.103-v7+
  • OS Version: Raspbian GNU/Linux Buster (10)

Homebridge and MagicHome

homebridge.log.txt

@dakovacic dakovacic added the bug Something isn't working label Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants