Comments (3)
Hi @georgeinva2004,
The instance can't be set - but the instance properties within can be.
i.e Options.logConfig.filename = "./zwave.log"
public class CFGLogConfig
{
public bool logToFile { get; set; }
public bool enabled { get; set; }
public Enums.LogLevel level { get; set; }
public int[] nodeFilter { get; set; }
public string filename { get; set; }
}
It might also be a good idea to delete server.psi (so it pulls down the latest one via Helpers.DownloadPSI())
there are (whilst small) changes in the middleware
from zwavejs.net.
mapping of CMDResults
Yeah - prior to V3, I was not taking into consideration any error, that may be returned, so was assuming the expected result will always be returned - which of course is not always the case 😅.
providing Success is true the Payload (if any) should be provided, if Success is false - it will hold any error message retuned by the driver.
It has 2 contructors.
- Taking in the payload as is (from the middleware)
- And Allowing me to return it early (in case of an issue before it hits the middleware)
i.e certain required events not being subscribed to.
from zwavejs.net.
Feel free to open up a conversation - Have just enabled them on the repo 👍
assuming this is safe to close.
from zwavejs.net.
Related Issues (16)
- [Feat] SmartStart support + Wider support for frameworks HOT 11
- Ensure security keys are present, for Smart Start and Secure inclusions
- Handle unexpected WS disconnects better (i.e handle them 😬 )
- Access to homeID HOT 2
- ccSpecific in ValueMetadata HOT 2
- No error or exception when websocket client fails to connect in client mode HOT 8
- Driver.Destroy() throws an exception if Driver.Controller is not initialized HOT 3
- Controller Node is filtered out of the Nodes collection HOT 2
- Event handlers block processing of new events HOT 2
- Can't create a second Driver after destroying the first one HOT 10
- VirtualNode.GetDefinedValueIDs() throws a null reference exception (4.0.0 branch) HOT 2
- Method calls for asleep nodes never return HOT 3
- RefreshValues does not return any error when node is dead. HOT 6
- ZWaveJS.NET does not support multiple drivers HOT 5
- Stack overflow exception in Websocket.Client library HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zwavejs.net.