Closed adyanth closed 1 year ago
Setting the initialization to api.registerAccessory("Command Accessory", CommandAccessoryPlugin)
works well. The 3 argument version causes issues with detection.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
/remove-label stale
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe The Bug
Homebridge API spec says that the 1st argument of
registerAccessory
is thepluginIdentifier
.Plugin settings for
config.schema.json
says that thepluginAlias
is thepluginIdentifier
.Doing so in my plugin v1.0.1 gets me:
But, once I restart home bridge, I see the below logs:
If I change to
"accessory": "Command Accessory"
, it works.But if I change the
config.schema.json
pluginAlias
to that in my plugin v1.0.2, I see a difference in the config UI but still the sameaccessory
in the config, and the same error logs as before:Logs
No response
Config
No response
Homebridge UI Version
v4.50.2
Homebridge Version
v1.6.0
Node.js Version
v18.12.1
Operating System
Raspberry Pi OS / Raspbian
Environment Info
Raspberry Pi Model
Raspberry Pi Zero WH