Today’s SharpTools.io platform release adds the popularly requested Fade Level (Dim over Duration) feature to the Rule Engine and Custom Attributes (dynamic subscriptions) to dashboards.
Have you ever wanted to change the dim level of your lights over a period of time? Now you can with the new
fadeLevel macro command. If your device implements the
setLevel() command, you’ll now see a new ‘Macro Commands’ group with
fadeLevel() in the list of device commands when creating a new Device Action in the Rule Engine.
fadeLevel() command accepts the following parameters:
From: the optional initial value to set the level to.
Note: If this value is omitted, the system will use the current level to determine the dimming levels over the specified duration.
- To: the target dim level to end at
Over: the period of time over which to dim from the
fromlevel to the
As you may have noticed, the command is grouped under a new Macro category… internally, the SharpTools.io platform will calculate a series a
setLevel commands to send over the specified duration to achieve a gradual dimming from the start value to the end value.
This is particularly useful in dimming lights up or down in the mornings and evenings to approximately align with the rising and falling of the sun, but can be used with any device which offers
Custom Attributes (dynamic subscriptions)
Today’s release includes the ability to use custom attributes in Hero Attribute tiles in the SharpTools dashboard. Previously, dashboards only exposed the attributes defined by the core/hero capability of a device. While this worked well for many device types, we heard your feedback that some devices implemented multiple capabilities or custom attributes that you wanted to expose in your dashboards.
This feature is immediately available for SmartThings users and is currently in the Hubitat 2.0.6 beta release (which will likely be available to everyone in the next few weeks).
Additionally, this improvement resolves an issue that some users may have experienced with Hubitat Weather device tiles where some attributes would not update as expected.