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.
Need help with second button of FGS-221
Please try to force interview
Please try to force interview. This might happen due to problem in interview. Does your interview result show all +?
Forcing re-interview does not
Forcing re-interview does not help, result is the same despite all +
Do you think excluding and including it back could help? Should i give it a try?
Do you think excluding and including it back could help? Should i give it a try?
Have a try. This seems to be
Have a try. This seems to be a pretty old device (v1.2 of Fibaro switch). May be the problem is in the device...
I tried to re-include it, but
I tried to re-include it, but its still the same.
I may be wrong but imo it cant be matter of old device, otherwise it would not work with Fibaro HC which I assume works fine. Usually older devices are more often supported then the newest ones.
Is there a way to update the device?
I suspect its a bug of z-way, part responsible for communication with fgs221 or fetching command classes of the device.
Is there a way to debug it? The thing is that my home automation installation is based on fgs221 and i need it running.
I may be wrong but imo it cant be matter of old device, otherwise it would not work with Fibaro HC which I assume works fine. Usually older devices are more often supported then the newest ones.
Is there a way to update the device?
I suspect its a bug of z-way, part responsible for communication with fgs221 or fetching command classes of the device.
Is there a way to debug it? The thing is that my home automation installation is based on fgs221 and i need it running.
My FGS 221 is version 1.7,
My FGS 221 is version 1.7, which seems to be recognised as 1.9. It works perfect both in the Razberry webpage as well as via the Z-Way API calls...
Since 29-12-2016 I am no longer a moderator for this forum
Good for you mate, but i have
Good for you mate, but i have only 1.2 that does not work with z-way.
Guys, again:
1) Can i update my fgs221 to newer version?
2) Is there an other way to control S2 button? Endpoints?
3) How to debug it to find why there are no commands for other instances?
Thanks in advance for answers.
Guys, again:
1) Can i update my fgs221 to newer version?
2) Is there an other way to control S2 button? Endpoints?
3) How to debug it to find why there are no commands for other instances?
Thanks in advance for answers.
re 1) Maybe the shop that
re 1) Maybe the shop that sold you the device can update it. I do not know explicitly for this version, but I have seen advertissements from Fibaro, where they claim that some devices can be upgraded using their HC2 controller.
Since 29-12-2016 I am no longer a moderator for this forum
Update is possible but only
Update is possible but only for 2.0+ versions.
I think i tried everything and need help from developers who actually provide support for such device to check is it a bug or missing support. I'm pretty sure this is something extremely simple.
Anyone know how i can contact them?
I think i tried everything and need help from developers who actually provide support for such device to check is it a bug or missing support. I'm pretty sure this is something extremely simple.
Anyone know how i can contact them?
May be you need to touch another instance?
> GET http://pi:8083/ZWaveAPI/RUN/devices[4]. ... ].Set(255)
Did you tried instances[1] and instances[2] for that?
For my fibaro works these commands:
...instances[1].SwitchBinary.Set(255) - switch on 1-st switch
...instances[1].SwitchBinary.Set(0) - switch it off
...instances[2].SwitchBinary.Set(255) - switch on 2-st switch
...instances[2].SwitchBinary.Set(0) - switch it off
Did you tried instances[1] and instances[2] for that?
For my fibaro works these commands:
...instances[1].SwitchBinary.Set(255) - switch on 1-st switch
...instances[1].SwitchBinary.Set(0) - switch it off
...instances[2].SwitchBinary.Set(255) - switch on 2-st switch
...instances[2].SwitchBinary.Set(0) - switch it off