Comments (14)
This is already possible?
from node-homey-zwavedriver.
could you give an example ?
from node-homey-zwavedriver.
Just run what you typed, it should work :)
from node-homey-zwavedriver.
i'll try
from node-homey-zwavedriver.
then i get the sensor types of the device , i want the stored values of the settings parameters of the device.
from node-homey-zwavedriver.
The Command Classes are documented extensively by Sigma Designs, and are freely available.
Are all these commands implemented in the driver ?
CONFIGURATION.CONFIGURATION_GET( 'Parameter Number', 3 ) doesn't work
from node-homey-zwavedriver.
i still cant get the parameter values of the zwave device . what is correct line of code in homey to get this ?
from node-homey-zwavedriver.
CONFIGURATION.CONFIGURATION_GET( 'Parameter Number', 3 )
is wrong anyway
should be CONFIGURATION.CONFIGURATION_GET( {'Parameter Number': 3}, null )
but anyway,
using the normal capability styling (easier to implement)
have not found any device's that respond to the get,
it either timed out, (even for powered device)
gave a "SEND_SUCCESFULL_NO_ACK" (kinda like this anyway, probably because the device was asleep)
or just gave no response to the GET on report level
EDIT: the right response of the GET was TRANSMIT_COMPLETE_NO_ACK
from node-homey-zwavedriver.
I can confirm @caseda 's feedback, also tried to get a specific parameter (to learn the actual default configuration and size of a parameter)... I was not able to get proper feedback of the device
from node-homey-zwavedriver.
i already know why it is not reporting in debug on a GET, it is caught by the z-wave driver:
https://github.com/athombv/node-homey-zwavedriver/blob/master/lib/ZwaveDriver.js#L427
so it probably needs an extra tag or function check to also show it in debug.
from node-homey-zwavedriver.
Is the problem that you can't see the CONFIGURATION_GET
logging in the console? That is a very easy fix, just add a console log where @caseda refers to.
Or do I misunderstand this issue?
from node-homey-zwavedriver.
Just tested:
node.instance.CommandClass.COMMAND_CLASS_CONFIGURATION.CONFIGURATION_GET({ 'Parameter Number': 3 }, (err, result) => {
console.log(err, result);
});
The console log gives:
null { 'Parameter Number (Raw)': <Buffer 03>,
'Parameter Number': 3,
'Level (Raw)': <Buffer 01>,
Level: { Size: 1 },
'Configuration Value': <Buffer 01> }
I'll close this issue as the the CONFIGURATION_GET
is implemented and working.
from node-homey-zwavedriver.
from node-homey-zwavedriver.
Oke great, thanks!
from node-homey-zwavedriver.
Related Issues (20)
- Time-out on multiChannelNodeId HOT 6
- Add device unavailable for battery device when it does not respons on wake up HOT 3
- Refactor arguments in fat arrow functions
- Add function that executes gets/sets on device wake up HOT 1
- Support for COMMAND_CLASS_ENTRY_CONTROL HOT 6
- read.me installation instructions not working when programmming without git HOT 2
- Persist capability value
- Feature request: update default ON / OFF action card to trigger depending on state of the device (or not) HOT 2
- After last update of lib my apps crash on zwavedriver
- Documentation wrong when adding Z-wave driver?
- Homey 1.1.4 / zwavedriver 1.1.4: Unable to set the desired and accepted wakeup interval HOT 4
- Homey 1.1.9 / zwavedriver 1.1.4: getOnWakeUp too late or calling battery_get command is incorrect HOT 6
- Error: Cannot find module 'async' HOT 2
- Homey 1.3.1 - Network Graph in "Stuff for Geeks" keeps animating without reason HOT 2
- Homey 1.3.1 - Network Graph doesn't show device Zone HOT 2
- compose makes device.js which requiers homey mesh driver and not homey zwave driver HOT 2
- Fibaro Smoke alarm and Fibaro CO2 alarm Heatalarm gives Null assignment back to driver
- MCO Touch Switch - LED backlit brightness level HOT 1
- Support for command class METER V6 HOT 1
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 node-homey-zwavedriver.