Information and code on adding HS-FLS100+ (GEN 2) to SmartThings
This device handler provides extended feature support of this product to SmartThings new app users. By default, if you add the sensor to ST without the device handler, you will not be able to trigger on motion, you can only turn the load on and off. The device handler adds the following:
For triggering actions, you can use the built-in automation to trigger on motion and you can set an action to control the load.
If you need to trigger on the light level, install the SmartApp named "Smart Lighting". This will allow you to trigger on the device LUX value. For an overview of its capabilities, navigate to https://community.smartthings.com/t/release-homeseer-floodlight-sensor-hs-fls100-g2/220104