Update: I have pushed an update to the FGS-223 handler that uses SmartThings new composite device type. This allows both switch endpoints to be used without the “Virtual Device Sync” app to be installed. If you update to this version you need to remove virtual device sync and the virtual devices it creates. If you are not updating but installing a new device, you do not need to take that stop.
This is a handler that I made some time ago and have had a few people have to hunt for it. They are both great devices that I highly recommend. The handler has the following configuration options (Those that are “second channel” settings are for the FGS-223 only):
9 Restore state after power failure
10 First channel - operating mode
11 First channel - reaction to switch for delay/auto ON/OFF modes
12 First channel - time parameter for delay/auto ON/OFF modes
13 First channel - pulse time for flashing mode
15 Second channel - operating mode
16 Second channel - reaction to switch for delay/auto ON/OFF modes
17 Second channel - time parameter for delay/auto ON/OFF modes
18 Second channel - pulse time for flashing mode
20 Switch type
28 S1 switch - scenes sent
29 S2 switch - scenes sent
50 First channel - power reports
51 First channel - minimal time between power reports
53 First channel - energy reports
54 Second channel - power reports
55 Second channel - minimal time between power reports
57 Second channel - energy reports
58 Periodic power reports
59 Periodic energy reports
Button Mappings for scene functionality:
Toggle Mode
1 pushed - S1 1x toggle
4 pushed - S1 2x toggle
5 pushed - S1 3x toggle
1 held - S2 1x toggle
4 held - S2 2x toggle
5 held - S2 3x toggle
Momentary Mode
1 pushed - S1 1x click
2 pushed - S1 release
3 pushed - S1 hold
4 pushed - S1 2x click
5 pushed - S1 3x click
1 held - S2 1x click
2 held - S2 release
3 held - S2 hold
4 held - S2 2x click
5 held - S2 3x click
Install the single handler below for the Single Switch 2 FGS-213
Install BOTH Handlers Below for the Double Switch 2 FGS-223