zwave-js / zwave-js-ui

Full featured Z-Wave Control Panel UI and MQTT gateway. Built using Nodejs, and Vue/Vuetify
https://zwave-js.github.io/zwave-js-ui
MIT License
919 stars 196 forks source link

How to fetch the zwave controller sdk(chip binary) version in a separate nodejs application #3718

Open hassan-xy opened 1 month ago

hassan-xy commented 1 month ago

Hi guys, I need to fetch the zwave controller sdk(chip binary) version in a separate nodejs application. I am not sure as to how I can fetch it. I tried but was unable to do so. Can you guys share an example of how I can fetch it. image

Thanks

robertsLando commented 1 month ago

MQTT ? https://zwave-js.github.io/zwave-js-ui/#/guide/mqtt

hassan-xy commented 1 month ago

I mean not through MQTT but maybe like I hit an API and I receive the version number as response, kinda like this example: {"api":"firmwareUpdateOTW","args":[{"name":"zwave_ncp_serial_api_controller_BRD4207A.gbl","data":{}}]}

Thanks

robertsLando commented 1 month ago

@hassan-xy there is no api for that, the alternative is to enable zwavejs server and connect using websockets like home hassistant does.

See docs here: https://github.com/zwave-js/zwave-js-server