You don’t have to flash it. You can create virtual switch in smartthings ide, then create 4 rules in ifttt with ewelink service to control it. I have a couple of those switches working fine this way
Please find the details here -
After flashing it, you’d require the correct DTH for it to work.
This isn’t a fully local control solution as the DTH is “cloud” execution.