The first release of 2019 includes new Sunrise and Sunset triggers and conditions in the SharpTools.io Rule Engine as well as a number of other enhancements!
Sunrise and Sunset Triggers
The triggers section of a rule now includes two new time triggers, Sunset and Sunrise, which both provide the ability to specify an offset before or after the actual sunrise or sunset event.
Multiple Timer Triggers
This release also includes support for multiple time triggers in a single rule. This makes it easier than ever to create rules that run at multiple different times in a day. When paired with If Conditions, a single rule can handle a variety of scenarios throughout the day.
Sunset and Sunrise Conditions
Similarly, when selecting a Time condition which uses the before or after operator, you’ll have the option of selecting Sunrise or Sunset in the left-hand side of the time-picker:
Time UI Improvements and Other Changes
Time UI Enhancements
As part of this release, you may also notice that the interface for setting up Time based triggers or conditions in rules has been simplified, making it easier than ever to setup time based actions in your rules.
Geolocation Requirement
In order to make sunset/sunrise possible and enable the new streamlined UI, you’ll find that it is now required to set a geolocation on your desired location. This location simply needs to be in the rough geographic area as it’s used to calculate the sunrise and sunset times throughout the year and also used to determine your timezone. As such, it should be sufficient to approximate your location to your city or metropolitan area for most people.
If you don’t already have a geolocation set, you will be prompted to do so when setting up a time based rule. Alternatively, you can modify the geolocation by tapping the ...
next to your desired location/hub in your user page.
Legacy Browser Improvements
This release (and the previous release) also include improved support for legacy browsers including Android 4.4 and Internet Explorer (11). We continue to recommend the use of a modern browser like Google Chrome, but reach out to support if something isn’t working as expected on an older browser.