OpenZWave / node-openzwave-shared

OpenZWave addon for Node.js (all versions) including management and security functions
Other
199 stars 113 forks source link

Crashes when value not found #397

Closed TonyFeestneus closed 2 years ago

TonyFeestneus commented 2 years ago

For Example: TypeError: OpenZWave valueId not found: 13-37-3-0

When you accidentally send a non-existent value, it crashes. Why not just throw an error and keep running?

(this particular error is due to a change in versions. Previously node 13 could be sent an instance of 3, now it should be 2. Solved in my code, but again: just an error should be the standard, not crash the app, right)

robertsLando commented 2 years ago

move to zwavejs https://github.com/zwave-js/zwavejs2mqtt

TonyFeestneus commented 2 years ago

Why?

robertsLando commented 2 years ago

@TonyFeestneus Because openzwave is not supported anymore and everyone is moving to zwavejs

TonyFeestneus commented 2 years ago

Alright, did not know that. Built my system entirely around openzwave so I'll just have to deal with it then