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:
- Button to turn the load on/off and display the status of the light
- Motion tile that tells you if motion is detected
- LUX tile that shows the current light level
- Temperature tile that shows the current temperature
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
To add this Device Handler:
- Navigate to this URL and log in with your SmartThings account: https://graph-na04-useast2.api.smartthings.com
- Click on the "My Device Handlers" menu
- Click "Create New Device Handler" on the right
- Click "From Code"
- Click here to view the code
- Click "Create" at the bottom
- Click "Publish" and select "For Me"