PSI Updates #91
Replies: 5 comments 9 replies
-
|
Hi Paul, Marcus |
Beta Was this translation helpful? Give feedback.
-
|
What target are you using for your App? The frameworks I am going to keep are:
I currently maintain an embedded WebSocket Library, but its getting in the way. The reason its embedded, as it dropped support for older frameworks, which I am now looking todo also, so can switch to the actively maintained Library. |
Beta Was this translation helpful? Give feedback.
-
|
I have added a new method to the public T ResultPayloadAs<T>()
{
return ResultPayload is T value ? value : default!;
}Example use Driver.Controller.Nodes.get(4).GetDefinedValueIDs().ContinueWith((R) =>{
ValueID[] VIDs = R.Result.ResultPayloadAs<ValueID[]>()
foreach(ValueID VID in VIDs){
// Do something with VID (Value ID)
}
})This removes the need to do manual casting, which annoys me 😄 This will be available in v4 (I still need to push it over to V4 yet) - but hoping to in the next few days |
Beta Was this translation helpful? Give feedback.
-
|
Do you want to now pull the latest V4 sources from the V4 branch?
Let me know if any issue. To build the PSI
|
Beta Was this translation helpful? Give feedback.
-
|
V4 has now been published to NuGet - But I think you compile the source anyway, so more an FYI. The next major PR will render the Main Branch with the dropped frameworks - so maybe grab a copy off it now. it will be a lil while before the V5 branch gets merged |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I know we're getting into a busy time of the year, ... but ... is there anyway to get a PSI refresh to the latest server and zwave-js versions?
thx
-paul
Beta Was this translation helpful? Give feedback.
All reactions