zwave-js / node-zwave-js

Z-Wave driver written entirely in JavaScript/TypeScript
https://zwave-js.github.io/node-zwave-js/
MIT License
739 stars 588 forks source link

Allow Manual Region Specification for automatic firmware updates on older controllers #6891

Open mwaterbu opened 1 month ago

mwaterbu commented 1 month ago

I noticed that I was not being offered an update which should have been available (for a Zooz ZSE43). I believe the issue is that I do not have a region specified by my ZWave stick, so the update cannot match.

In cases like this, could it be possible to manually specify a region (for older sticks)?

Also, just to check that my assumption is correct, where would I see this region, if my stick did allow retrieving it?

As a sidenote, zwave-js/firmware-updates#82 would be useful here, as at first glance, it simply looked like my device was up to date, when in reality, the update check could not be properly executed.

AlCalzone commented 1 month ago

The region would have to be provided by the client application, most likely https://github.com/zwave-js/node-zwave-js/ - I'll move the feature request there.

Also, just to check that my assumption is correct, where would I see this region, if my stick did allow retrieving it?

You should see it either in the logs during startup, or in Z-Wave JS UI for example if you open the dropdown for the controller device.