[RELEASE] HomeSeer Indicator Light Sensor HS-FS100-L

This is a device handler for the HomeSeer Indicator Light Sensor (HS-FS100-L).

This handler includes some workarounds that make it fully functional with Automations and all the built-in SmartApps, but they shouldn’t be needed once Custom Capabilities are fully supported. The handler also has some quirks that were unavoidable at the time of writing this handler because Custom Capabilities still have a lot of broken features.

Features

  • Supports all the settings that are meant to be used with this model.

  • Indicator Light Sensor
    no light | light | color change

  • Button
    pushed: no light | pushed_2x: light | pushed_3x: color change

  • Temperature

  • Power Source
    Shows if it was joined as a DC powered repeater or sleeping battery device

  • Alarm
    Makes device beep, but only works if the device was joined on DC power and is still on DC power. The ability to conditionally show tiles is currently broken so it’s displayed even when you can’t use it. The built-in Tone capability is missing from Automations and gets displayed as “find my device” on the device details screen so using the Alarm capability was the best workaround I could think of

  • Battery
    If the device was joined on DC power it’s not possible to get the battery level or conditionally hide it at the moment so it will always be 100%

Important

  • Indicator Light Sensor is a Custom Capability so you won’t be able to use it in Automations so you’ll need to use the Button Actions to trigger automations until they’re supported.

  • This device shares a fingerprint with the HS-FS100-W so if you have both handlers installed you need to put // in front of the fingerprint line in the other handler before joining the device. If you don’t do that it might get assigned the wrong handler and it might still show the old UI after changing handler due to caching issues with the platform.

  • When the device is powered by batteries and you change a setting the device won’t receive it until the next time it wakes up which could take 24 hours. You can manually wake the device up by pushing the physical button, but it doesn’t notify the hub that it’s awake so you need to refresh the device details a moment after waking it up. Swiping down when you’re at the top of the device details screen executes the refresh command.

Screenshots

         

   


   

Device Handler Code

1 Like

Is this still working under the new app?

Yes, it was written for the new mobile app.

SmartThings now supports custom capabilities in automations so you can probably use the indicator light attribute to trigger automations instead of having to use the button workaround mentioned above.