I have yet another (the third I think) iteration on this device handler. This time I have taken Robin (@RobinWinbourne) and Eric’s (@erocm1231) device handler and added Child Devices, hence you dont need to use a SmartApp any more, making it easier to have multiple devices (if you have two FGS-222’s).
Because the Philio PAN 02/04/08 models use similar commands to Fibaro FGS222, this device handler should work fine with Philio aswell, I have added one extra parameter to the config section to allow Philio configuration. If you have a Fibaro you can leave this parameter (2) blank (in fact all commands can be blank unless you want to override the detault values).
Installation is simple, all you do is install the Fibaro FGS-222 device handler (add it as code, then press save and publish). Then after discovering the device using the SmartThings app, you need to change the device handler to use the one just added. When you go into settings (top right) and exit again, it will automatically create the two child devices for each of the two relays. You are then free to rename them (or even delete one) as required.
Note, this uses an erocm1231 published child switch which is now hosted by SmartThings, hence you shouldnt need to install a child device template.