Page 1 of 1

HTTP command to discover a device(s) supported classes

Posted: 08 Jun 2014 12:50
by skiv71
Hi,

Does anyone know if i can issue a HTTP command to the z-way server to discover a devices instance and supported command class values?

I've checked the Z-way dev reference but not turned anything up.

I suppose it would be a little bit like, show interview results?

Thanks

Neil

Re: HTTP command to discover a device(s) supported classes

Posted: 08 Jun 2014 13:10
by skiv71
Got it.... :)

http://<ip>:8083/ZWaveAPI/Run/devices[<node>].data.nodeInfoFrame.value

Re: HTTP command to discover a device(s) supported classes

Posted: 08 Jun 2014 15:34
by skiv71
oops, need to differentiate between multiple instances :-/

not found the answer to this yet

Re: HTTP command to discover a device(s) supported classes

Posted: 08 Jun 2014 16:05
by PoltoS
/JS/Run/zway.devices[<node>] will give you a big tree. You can see instances in it and all CCs on each instance. Then .data.supported.value will give you knowledge if it is supported.

Re: HTTP command to discover a device(s) supported classes

Posted: 08 Jun 2014 16:16
by skiv71
Hi PoltoS,

Thanks for that...

It's a pity not contained inside a single field entry like the nodeInfoFrame.value :-/