How to get idx for z-wave (RGBW) controller

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
User avatar
Shaggie_NB
Posts: 25
Joined: Thursday 30 January 2014 20:46
Target OS: Windows
Domoticz version:
Location: Oss
Contact:

How to get idx for z-wave (RGBW) controller

Post by Shaggie_NB »

I wanted to try the following command for my Fibaro RGBW device:
To use the animation program Storm on this device.

But I don't know which number to use for the idx?
Is it derivable from the node number? In my case: 004 (0x04) or is it something else?
Can anybody help me? :oops:
sijones
Posts: 70
Joined: Wednesday 15 October 2014 14:16
Target OS: Linux
Domoticz version: Git
Location: UK
Contact:

Re: How to get idx for z-wave (RGBW) controller

Post by sijones »

Go to devices and look for it in the list, the idx is on the left.
sijones
Posts: 70
Joined: Wednesday 15 October 2014 14:16
Target OS: Linux
Domoticz version: Git
Location: UK
Contact:

Re: How to get idx for z-wave (RGBW) controller

Post by sijones »

I've moved this as it's not a bug or problem just a use case question. Please make sure you look for the correct place to create a thread.
User avatar
Shaggie_NB
Posts: 25
Joined: Thursday 30 January 2014 20:46
Target OS: Windows
Domoticz version:
Location: Oss
Contact:

Re: How to get idx for z-wave (RGBW) controller

Post by Shaggie_NB »

sijones wrote:Go to devices and look for it in the list, the idx is on the left.
I'm working a lot with domoticz and I know how to work with JSON en idx......
But the RGBW controller isn't a device in the devicelist, because it's a zwave node.

So again my question: wich idx to use for changing the parameters of the node?

(because this isn't so simple and it's not in the wiki or anything, for me it's a bug or at least a problem!)
User avatar
gizmocuz
Posts: 2471
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: How to get idx for z-wave (RGBW) controller

Post by gizmocuz »

It is also a device in the devices table
Quality outlives Quantity!
User avatar
Shaggie_NB
Posts: 25
Joined: Thursday 30 January 2014 20:46
Target OS: Windows
Domoticz version:
Location: Oss
Contact:

Re: How to get idx for z-wave (RGBW) controller

Post by Shaggie_NB »

Thnx gizmocuz!! it's working!!

I looked in the table ZWaveNodes and saw the following data for the Fibaro RGBW:
ID=1, HardwareID=14, HomeID=25487939, NodeID=4

If you want to see the configpage of the device you must use the HardwareID:
http://[ipadres]:[portnumber]/json.htm?type=openzwavenodes&idx=14 (at the end you see the idx)

If you want to change the animation setting to Storm you must use the ID:
http://[ipadres]:[portnumber]/json.htm?type=command&param=applyzwavenodeconfig&idx=1&valuelist=72_Nw%3D%3D

@gizmocus: Is it possible to show these values on the device-page? It would be a lot easier to find... :oops:
User avatar
Egregius
Posts: 2589
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: How to get idx for z-wave (RGBW) controller

Post by Egregius »

If you click the device you should see it's settings below the table.
User avatar
Shaggie_NB
Posts: 25
Joined: Thursday 30 January 2014 20:46
Target OS: Windows
Domoticz version:
Location: Oss
Contact:

Re: How to get idx for z-wave (RGBW) controller

Post by Shaggie_NB »

Egregius wrote:If you click the device you should see it's settings below the table.
But do you also see the different idx's to use for the JSON commands.... I don't :shock:
And in the devicetable you don't see the RGBW controller itself (with idx=14 in my case)
User avatar
Egregius
Posts: 2589
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: How to get idx for z-wave (RGBW) controller

Post by Egregius »

No, but you do when you enable developer mode in your browser.
That way you also see the complete command that is sent. Lot's more than just one value.

example:

Code: Select all

http://192.168.0.10:8084/json.htm?type=command&param=applyzwavenodeconfig&idx=31&valuelist=1_MTA=__2_MTU=__6_MzA=__9_MjAw__14_MjU1__16_MA==__20_MTU=__22_MzA=__26_MA==__40_MA==__42_MA==__60_MA==__62_MA==__64_MA==__66_MA==__81_NTA=__82_MTAw__83_MTAwMA==__86_MTk=__87_Mjg=__2000_NzIwMA==__3_MiBwdWxzZXM=__4_MTIgc2Vjb25kcw==__8_UElSIHNlbnNvciBhbHdheXMgYWN0aXZl__12_QkFTSUMgT04gYW5kIEJBU0lDIE9GRiBjb21tYW5kIGZyYW1lcyBzZW50IGluIEJhc2ljIENvbW1hbmQgQ2xhc3Mu__24_VGFtcGVy__80_TG9uZyBibGluaywgdGhlbiBzaG9ydCBibGluaywgTEVEIGNvbG91ciBkZXBlbmRzIG9uIHRoZSB0ZW1wZXJhdHVyZS4gU2V0IGJ5IHBhcmFtZXRlcnMgODYgYW5kIDg3Lg==__89_TEVEIGluZGljYXRlcyB0YW1wZXIgYWxhcm0u__
User avatar
Shaggie_NB
Posts: 25
Joined: Thursday 30 January 2014 20:46
Target OS: Windows
Domoticz version:
Location: Oss
Contact:

Re: How to get idx for z-wave (RGBW) controller

Post by Shaggie_NB »

Egregius wrote:No, but you do when you enable developer mode in your browser.
That way you also see the complete command that is sent. Lot's more than just one value.
Oooh Thnx!!!

I didn't know that. But it is really very handy!!
I'm not so familiar with all this web-stuff..
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest