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

feat: add driver option to configure vendor-specific constants #6876

Merged
merged 2 commits into from
Jun 10, 2024

Conversation

AlCalzone
Copy link
Member

@AlCalzone AlCalzone commented May 29, 2024

This PR adds a way to configure the values of some constants used in responses to queries from other nodes.

@raman325 we may need support in the server for this, although updateOptions should handle it already.
@spudwebb this might interest you too

fixes: #6854

@spudwebb
Copy link
Contributor

@AlCalzone , not sure I understand...
Why, when and how should I use that? Could you give me a use case example?

@AlCalzone
Copy link
Member Author

For certification (assuming you plan on certifying with Z-Wave JS), Z-Wave JS needs to know which manufacturer ID etc. to use for responses to some queries. This gives you a way to use yours.

@AlCalzone
Copy link
Member Author

@zwave-js-bot automerge

@zwave-js-bot zwave-js-bot merged commit 5feb4ab into master Jun 10, 2024
15 checks passed
@zwave-js-bot zwave-js-bot deleted the vendor branch June 10, 2024 10:13
AlCalzone added a commit that referenced this pull request Jun 10, 2024
### Features
* Add `ZWaveNode.createDump()` method to save debug information in a format Z-Wave JS understands (#6906)
* Support node dumps created by `ZWaveNode.createDump()` as input for `mock-server' (#6907)
* `mock-server`: enable mDNS discovery (#6909)
* Add driver option to configure vendor-specific constants Z-Wave JS uses to reply to requests from other nodes, including manufacturer ID, product type/ID and hardware version (#6876)

### Bugfixes
* Fixed a race condition that would cause a timeout error to be shown after an actually successful OTW update (#6912)
* Create `supportedNotificationTypes` and `supportedNotificationEvents` values with `alarmMapping` compat flag (#6914)

### Config file changes
* Correct config parameters for Minoston MP21ZD Dimmer Plug (#6686)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Customize manufacturer ID, product type, product ID, hardware ID, icon types for responses
3 participants