[RELEASE] Fibaro FGS-222 Double Relay Switch - Driver

I'm having an issue with my FGS-222 when trying to use it with momentary switches.
It seems to behave like a toggle switch - even though I've set param14 to momentary.
The light only stays on as long as I hold down the momentary switch.

I've tried a couple of hard resets (holding B whilst powering on)
I've tried using the updated driver from AdamV.

Everything was working with normal toggle switches - but I'm upgrading the whole house to momentary (and from ST to HE also).
Turning the lights on and off via software works fine, just not with the hardware switches.
I've had no issues whilst updating the FIbaro Dimmer modules to momentary. Just the dual relay switch.

Its driving me nuts.
Any suggestions would be appreciated.
Any thing I can tell by looking at the logs?

I'm getting this error when I use this device with this driver.

This is the relevant portion in the driver.

Mike are you using the driver from @AdamV and it's throwing errors ??

Yes, I was. So I loaded up the zwave config utility, and changed it manually, since the part of the driver that was throwing erros had only to do with setting configuration.

I now have another issue, whereby debug logs are on, and I cant turn them off. I've changed the device to a type that has logs, disabled logs, but the debug logs remain......

Just so there is a log of it, for some of the people asking me why their driver isn't working, this link has a few modifications I made to Robin's driver so it should work fully in Hubitat and with child devices. I have this in HPM if that helps

Hi @cjcharles ,
I have an FGS-222. I installed the driver that you posted.
I created children, by clicking Create Children,
However , clicking on On and Off on any of the children and parent doesnt move the blind.
I know the relay is working properly as I have switched from using it on Vera to Hubitat and the physical swiches work fine.
Thanks,
Avi

I have added this driver to Hubitat Package Manager and all the updates are there. Can you check with that version first as that may hopefully fix your problem.

EDIT, just seen that this is a live link, rather than raw pasted code, hence should have the live fixes in it already.
What version of Hubitat are you running? (both the hardware version and the software version)
What do you see in Live Logging when you press the buttons?

EDIT2: Just checking you have a roller shutter device or the FGS-222? I think they are different

Thanks @cjcharles .
I have updated the hub.
My Hubitat platform version is 2.3.1.142, HW version: Rev C-7.
I have Fibaro roller shutter FGR-222 (sorry for the spelling mistake with the 's').
I've looked for Fibaro roller shutter device driver when you add a device but haven't found it, also on the new release.
So I added the driver based on the latest code you've posted on this thread.
When I click on any of the controls nothing happens, but the logs seem fine, see below.
I created child devices, and clicked on them as well, but no response.

dev:1042022-06-06 04:44:27.251 pm debugon

dev:1042022-06-06 04:44:24.907 pm debugoff1

dev:1002022-06-06 04:44:15.050 pm debugParsed: [raw:684F0100001801002043E2FF2030E4FF2000, dni:684F, endpoint:01, cluster:0000, size:18, attrId:0001, encoding:20, command:0A, value:43, clusterInt:0, attrInt:1, additionalAttrs:[[value:30, encoding:20, attrId:FFE2, consumedBytes:4, attrInt:65506], [value:00, encoding:20, attrId:FFE4, consumedBytes:4, attrInt:65508]]]

dev:1042022-06-06 04:44:13.346 pm debugoff

dev:1042022-06-06 04:44:02.163 pm debugoff1

dev:1042022-06-06 04:44:02.160 pm debugcomponentOff(0B-ep1)

dev:1072022-06-06 04:44:02.138 pm debugoff()

dev:1042022-06-06 04:43:52.459 pm debugon1

dev:1042022-06-06 04:43:52.455 pm debugcomponentOn(0B-ep1)

dev:1072022-06-06 04:43:52.432 pm debugon()

You are using the wrong driver. You should look for the FGR and not the FGS.

1 Like

Have a test of the code embedded in this post

1 Like

Thanks Charles and Amit. The driver works!.

I am using this driver which seems to work fine apart from the fact that it does not seem to update in Hubitat when I manually switch the lights on until it is refreshed, does anyone have an answer to this?
Thanks

That's probably not a driver probably and more that the response from the device is not making it back to the hub.

Can you post a screenshot of your Z-wave details (if on a C-7 or C-8)?

Hi, thanks for the reply, I reset everything and now having trouble getting it to reconnect! Am just in the process of moving from ST and only have one Z Wave & one ZigBee item connected so far but having problems with the FGS so not going to much further until I have sorted this, have migrated 2 other hubs from ST to HE with no real issues.
Have attached screenshot of details.


Hi (again), thanks again for taking the time to reply, after a few resets I finally got the fibaro switch back onto the network and it now seems to be behaving as expected!

I strongly suggest using the version on HPM as it is much more recent and does fix issues with updates sometimes not working. Hopefully that doesn't matter here if you solved it, but just saying it for the future. Compiled here for ease

Thanks for your reply, I am now using HPM for this and my other drivers.

Has anyone been using this driver with HomeAssistant? I am haveing trouble getting the child devices switches to come accross from the C8 using the intergration.

It wont let me post a picture on the device in HA to show you want I mean

Fixed using the Virtual Device Sync. Thanks