HTTP command to discover a device(s) supported classes

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
skiv71
Posts: 124
Joined: 01 May 2014 13:46
Location: United Kingdom
Contact:

HTTP command to discover a device(s) supported classes

Post 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
skiv71
Posts: 124
Joined: 01 May 2014 13:46
Location: United Kingdom
Contact:

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

Post by skiv71 »

Got it.... :)

http://<ip>:8083/ZWaveAPI/Run/devices[<node>].data.nodeInfoFrame.value
skiv71
Posts: 124
Joined: 01 May 2014 13:46
Location: United Kingdom
Contact:

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

Post by skiv71 »

oops, need to differentiate between multiple instances :-/

not found the answer to this yet
User avatar
PoltoS
Posts: 7649
Joined: 26 Jan 2011 19:36

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

Post 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.
skiv71
Posts: 124
Joined: 01 May 2014 13:46
Location: United Kingdom
Contact:

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

Post by skiv71 »

Hi PoltoS,

Thanks for that...

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