Firmware updates #43
Replies: 3 comments 3 replies
-
Hi @georgeinva2004, Whilst the projects are all under the ZWaveJS ORG on GitHub - the projects are owned by their respective developer as individuals - we don't get perks 😒 I founded the Node RED plugin, and of course the NET lib. I acquired a license for my Node RED project - as it's open source, so was free, but i allow users who use it in a corporate setting to enter a key (to override the embedded one) The .NET lib will take on a similar approach (thank you for reminding me, I need to ask for one). You can request one with no fuss as it's a home project via [email protected] But one will be embedded before release, for non commercial-use |
Beta Was this translation helpful? Give feedback.
-
I should note: Once the non-commercial key is embedded, the requirement for a key will become optional when using the method. |
Beta Was this translation helpful? Give feedback.
-
Working on implementing the Firmware update functionality. I was able to secure a key. The NET Lib is throwing an exception in Controller.GetAvailableFirmwareUpdates(..). It looks like NewtonSoft is having a problem deserializing the result.updates token when there are no updates. Exception details below. Assuming that the return value is an array, I made the following change to line that deserializes the result.updates token:
As you can see, I just made the result a List and it appears to be working. Unfortunately, I don't have any devices that are reporting as needing a firmware update, so I can't fully test the functionality. I hope this helps...
|
Beta Was this translation helpful? Give feedback.
-
The Zwave Firmware Update project implies that all ZwaveJS projects already have an API key. Does that apply to ZwaveJS.Net? Does the PSI file embed that key somewhere so we don't have to request one for ourselves?
Beta Was this translation helpful? Give feedback.
All reactions