mirror of
https://github.com/mtan93/SmartThingsPublic.git
synced 2026-03-08 05:31:56 +00:00
Code brought oever from @varzac commit 8bcbe7b924
Original commit message:
> Fix sengled use of FF for max level
> This works around the fact that sengled element touches can get back
> into a state of reporting an invalid value (of FF) if the physical
> button on the bulb is used to cycle back to the 100% state. Here we
> interpret FF as FE for sengled and then issue a move to level command to
> put it in a state where it will report FE until the level is changed
> again.
>
> This resolves: https://smartthings.atlassian.net/browse/DVCSMP-2597
While the Classic does not have a physical button, since it does represent 100% as FF we want to always catch this.
Zigbee Dimmer
Cloud Execution
Works with:
Table of contents
Capabilities
- Actuator - represents that a Device has commands
- Configuration - configure() command called when device is installed or device preferences updated
- Refresh - refresh() command for status updates
- Switch - can detect state (possible values: on/off)
- Switch Level - represents current light level, usually 0-100 in percent
- Health Check - indicates ability to get device health notifications
Device Health
ZigBee Dimmer with reporting interval of 5 mins.
SmartThings platform will ping the device after checkInterval seconds of inactivity in last attempt to reach the device before marking it OFFLINE
- 12min checkInterval
Troubleshooting
If the device doesn't pair when trying from the SmartThings mobile app, it is possible that the device is out of range. Pairing needs to be tried again by placing the device closer to the hub. Other troubleshooting tips are listed as follows: