Git Product home page Git Product logo

Comments (14)

WeeJeWel avatar WeeJeWel commented on May 27, 2024

This is already possible?

from node-homey-zwavedriver.

nattlip avatar nattlip commented on May 27, 2024

could you give an example ?

from node-homey-zwavedriver.

WeeJeWel avatar WeeJeWel commented on May 27, 2024

Just run what you typed, it should work :)

from node-homey-zwavedriver.

nattlip avatar nattlip commented on May 27, 2024

i'll try

from node-homey-zwavedriver.

nattlip avatar nattlip commented on May 27, 2024

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.

nattlip avatar nattlip commented on May 27, 2024

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.

nattlip avatar nattlip commented on May 27, 2024

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.

caseda avatar caseda commented on May 27, 2024

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.

TedTolboom avatar TedTolboom commented on May 27, 2024

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.

caseda avatar caseda commented on May 27, 2024

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.

RobinBol avatar RobinBol commented on May 27, 2024

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.

RobinBol avatar RobinBol commented on May 27, 2024

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.

TedTolboom avatar TedTolboom commented on May 27, 2024

from node-homey-zwavedriver.

RobinBol avatar RobinBol commented on May 27, 2024

Oke great, thanks!

from node-homey-zwavedriver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.