Need help with second button of FGS-221
Posted: 01 Jun 2013 20:30
Hi guys,
i need your help in matter of accessing the second button of relay switch with GET request.
I have a relay Fibaro FGS-221 (v1.2 as z-way says) installed.
I can easily switch light attached to the first button by doing
GET http://pi:8083/ZWaveAPI/RUN/devices[4]. ... ].Set(255)
but i cant access the second button.
When i do GET http://pi:8083/ZWaveAPI/Run/devices[4]
i see that i have 3 instances where first has several commandClasses, second has only BASIC(32) and third has none.
See details: http://pastebin.com/GEMxys5t
I thought the preferred way is by using other instances of the device but there is no commandClass for it.
Could someone explain me what is the correct way of accessing the second button or is it some kind of a bug.
Another strange thing is that
GET http://pi:8083/ZWaveAPI/Data/0
for the same device returns 3 instances with only first one having some commandClasses without BASIC, other two instances have no commands.
This causes that the switch is not shown on device control -> switches (pyzw_zwave_tabs.js:320 filter outs instance 0 when there are more instances for the device, in my case there are but without commandClasses)
In advance many thanks for your help.
i need your help in matter of accessing the second button of relay switch with GET request.
I have a relay Fibaro FGS-221 (v1.2 as z-way says) installed.
I can easily switch light attached to the first button by doing
GET http://pi:8083/ZWaveAPI/RUN/devices[4]. ... ].Set(255)
but i cant access the second button.
When i do GET http://pi:8083/ZWaveAPI/Run/devices[4]
i see that i have 3 instances where first has several commandClasses, second has only BASIC(32) and third has none.
See details: http://pastebin.com/GEMxys5t
I thought the preferred way is by using other instances of the device but there is no commandClass for it.
Could someone explain me what is the correct way of accessing the second button or is it some kind of a bug.
Another strange thing is that
GET http://pi:8083/ZWaveAPI/Data/0
for the same device returns 3 instances with only first one having some commandClasses without BASIC, other two instances have no commands.
This causes that the switch is not shown on device control -> switches (pyzw_zwave_tabs.js:320 filter outs instance 0 when there are more instances for the device, in my case there are but without commandClasses)
In advance many thanks for your help.