Skip to content

Bug: The plugin "homebridge-smarthq" defines 'homebridge' and/or 'hap-nodejs' in their 'dependencies' section #55

@jlg89

Description

@jlg89

Describe The Bug

Apparently 'homebridge' and/or 'hap-nodejs' is defined in the dependencies section of this plugin.

To Reproduce

Install the plugin, restart homebridge.

Expected behavior

Expected to see no warnings.

Relevant log output

[9/25/2025, 8:07:51 AM] The plugin "homebridge-smarthq" defines 'homebridge' and/or 'hap-nodejs' in their 'dependencies' section, meaning they carry an additional copy of homebridge and hap-nodejs. This not only wastes disk space, but also can cause major incompatibility issues and thus is considered bad practice. Please inform the developer to update their plugin!

Config for @homebridge-plugins/homebridge-smarthq

{
    "name": "SmartHQ",
    "credentials": {
        "username": "xxx",
        "password": "xxx",
        "notice": "Keep your username and password a secret!"
    },
    "devices": [
        {
            "hide_device": false,
            "external": false
        }
    ],
    "platform": "SmartHQ",
    "_bridge": {
        "username": "0E:C1:CD:AE:D4:66",
        "port": 31965
    }
}

Screenshots

No response

Node.js Version

v22.19.0

NPM Version

v10.9.3

Homebridge Version

v1.11.0

Homebridge SmartHQ Plugin Version

v0.4.1

Homebridge Config UI X Plugin Version

v5.6.1

Operating System

macOS 15.7

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions