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

Added one of my 222 todays with this seems to work well. Added virtual switches and used rule machine commands to link to the fibaro unit.
Cheers

1 Like

Anyone out there using these get switches S1 & S2 to appear in the device drop down list in HE.
I can see the 2 switches when I look at the device but it does not show up as 2 unique switches in the drop down. Just one switch.

I don't have one of these, however it sounds like the driver needs to be updated to use the Composite (i.e. Parent/Child) Device model. This would create two independent child switch devices that are easily used in any standard app.

Without this, it appears others have manually created virtual switches, and then created rules to link the manual switches to the actual switches inside the existing driver. Then the virtual devices can be used in apps.

I didn't design this handler to generate child devices... some people don't want that and it's easy to sync simulated switches if desired.

I'm only using one switch so it isn't an issue for me. It was more of an observation that I cannot see S1 & S2 in the HE drop down when selecting devices.
Would you like to elaborate on how you can sync simulated switches for future reference. Thanks.

or webCoRE

1 Like

Thanks for pointing me in the direction of this.
As I said above I don't need this at present but I have some Fibs that I have let on ST for this very reason.
Now I can get these across to HE.
Thanks again Robin. (The Fibaro Ninja :wink: )

Does anybody got Fibaro FGS-213 working?

I have ordered controller and have couple of FGS-213 at home, but didn't find it in compatible devices list...

Search is your friend :slight_smile:

built in support for the 213 will be in the next build, 212 and 223 are in progress, doubt they will make 1.1.3
All will support correct physical/digital activation differentiation.

3 Likes

That’s great to hear Mike

Andy

1 Like

Also support switch associations?

Not in this release, we started talking internally on ways to approach this globally, driver, vs app, vs platform ect...

1 Like

Thanks for the response.

Awaiting your solutions.

Will this work for my FGS-221 relay as well?

Why not try it? Sorry, I'm not familiar with Vera, but here's how you add a custom driver and use it in Hubitat.

To add to Hubitat and select if for use:

  1. Go to the repo (first post) and copy the raw
  2. Select "Drivers Code" on the left in the Hubitat UI
  3. Click "New Driver" and paste the code you copied from the repo
  4. Save
  5. Click "Devices" on the left in the Hubitat UI
  6. Click the name of your device to reveal the device details.
  7. Scroll down until you see "Type"
  8. Click the drop-down menu and then scroll all the way to the bottom, where you'll see the custom driver code you just saved.
  9. Select it and then click the "Configure" button to send the driver details to your device.
  10. Click Save and ensure you see "Active" under the status.

Sounds like there's no reason this custom driver shouldn't work with your 221

Have you got this driver working?
Nothing happens with my FGS-222 relay when I press on/off buttons...
Seems driver is buggy and not tested
Logs are also empty

Hi everyone.
I see there has been no response here in a few months
I have a number of Fibaro FSG-223 Dual Switch 2's here installed and associated with my talking to my STT Hub. Only 1 FGS-222. An d a few FGS-213 SIngle Switch 2's.
Did anyone get a device handler working for the Dual 222 and 223?
I am assuming a generic single switch will work with the 213s?

I am planning my migration of all switches, motion sensors, contacts etc from STT to my new Hubitat and would appreciate your advice..

[RELEASE] Virtual Device Sync for eric's excellent device types

Hello @Robin,
I am using your Fibaro FGS-222 driver for my Aeotech ZW140 Dual Relay Switch. The control of the two light switches works, but I'm having two problems that I can't seem to find a resolution. The first problem is, I get a JAVA error code (java.util.IllegalFormatConversionException: x != java.lang.Character on line...) when the def configure() tries to set new parameter values in the preferences of my device. The second problem I'm having has to do with the reported status of switches 1 and 2 when they are manually operated. The status shows a "null" value when the light switch is manually operated. (UPDATE: I fixed problem #2 by changing Parameter #80 on my device to send basic report on physical change of state. Statuses are now accurate). I'm new to the zwave and JAVA arena and have much to learn. I've spent hours and hours experimenting and researching fixes for these two problems but can't seem to get anywhere. Would you possibly be able to point me in the right direction?