Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| simulate_sunrise [2009/04/24 21:31] – created jay | simulate_sunrise [2026/04/07 18:27] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== How to simulate sunrise using a dimmable light ====== | ||
| + | We often get asked how to simulate sunrise by gradually increasing the brightness of a lamp over a longish period of time. There are a bunch of different ways of doing this, some specific to the technology, others requiring AppleScript. The first scenario here will be technology-agnostic and not require AppleScript so that both Pro and Lite customers can use this technique. | ||
| + | |||
| + | ===== Any technology, no AppleScript Scenario ===== | ||
| + | This technique has the following components: | ||
| + | * a schedule that, at the appropriate time in the morning, enables the following schedule and sets it to automatically disable after a certain amount of time | ||
| + | * a schedule that repeats every minute, gradually brightening the light | ||
| + | * optionally, a trigger that will cancel the whole shebang by setting disabling the schedule above and turning off the light | ||
| + | |||
| + | So, here's our scenario description: | ||
| + | |||
| + | == First, we'll create the Schedule that actually brightens the light == | ||
| + | - Select **'' | ||
| + | - Click the **'' | ||
| + | - Name it **'' | ||
| + | - In the **'' | ||
| + | - Click on the **'' | ||
| + | - Select **'' | ||
| + | - Select your lamp from the **'' | ||
| + | - Enter **'' | ||
| + | - Click the **'' | ||
| + | |||
| + | == Next, let's create the Schedule that will start the simulation at 5:00am == | ||
| + | - Click the **'' | ||
| + | - Name it **'' | ||
| + | - In the **'' | ||
| + | - Click on the **'' | ||
| + | - Select **'' | ||
| + | - Select **'' | ||
| + | - Click on the **'' | ||
| + | - Click the **'' | ||
| + | |||
| + | == Finally, create the trigger so that when we see a B1 OFF, we stop everything == | ||
| + | - Select **'' | ||
| + | - Name it **'' | ||
| + | - Select **'' | ||
| + | - Select **'' | ||
| + | - Click on the **'' | ||
| + | - Click on the **'' | ||
| + | - Select **'' | ||
| + | - Select **'' | ||
| + | - Click on the **'' | ||
| + | - Select **'' | ||
| + | - Select your lamp from the **'' | ||
| + | - Click the **'' | ||
| + | \\ | ||
| + | That's it! Now, every morning at 5:00am, you'll get a simulated sunrise over 20 minutes, and if you hit the B1 OFF button on your X10 remote, it will stop it and turn the light back off. Obviously, there are several things you can adjust about this: the amount of time that it takes, the ramp rate, use a different remote, etc. But you get the general idea. | ||