sunrise

The power of the Format Date function and how to use it for shortcuts using time of day or sunrise/sunset (part 3)

Now it’s time to finally look at how we can use what we’ve done in part 1 and part 2, and add the ability to use offsets with sunrise and sunset time. When we’re talking about offsets, we mean using for example the time of the sunrise in a conditional but shifted by a predetermined […]

The power of the Format Date function and how to use it for shortcuts using time of day or sunrise/sunset (part 3) Read More »

The power of the Format Date function and how to use it for shortcuts using time of day or sunrise/sunset (part 2)

This is part two of the power of the Format Date function, and it will build on what we looked at in part 1. We’ll look at how we can utilize the Format Date function for use with the sunrise and sunset. In part three we’ll look at using this technique with offsets (for example if

The power of the Format Date function and how to use it for shortcuts using time of day or sunrise/sunset (part 2) Read More »

Advertisements

Building a shortcut using conditionals with sunrise minus one hour, time of day and room brightness

Keith, a reader of this blog, had a rather interesting problem he was trying to solve, and as I was taking a look at it, I thought the solution could help many with how to break down a trickier problem into smaller bits. What do we want to do? Use a Hue Motion Sensor to

Building a shortcut using conditionals with sunrise minus one hour, time of day and room brightness Read More »

Using both time of day and sunrise as a criteria in a shortcut

I was asked to create a HomeKit automation that turns on a certain light at 4:30AM if the sun has not already risen. This is a good exercise to play with Weather and the wealth of useful information therein. We’ll start by opening either the Home or Shortcuts app. We then choose Automation (at the

Using both time of day and sunrise as a criteria in a shortcut Read More »