Smart-Home Lighting · Connection or control

Sunrise or Sunset Automation Does Not Run

The porch light that once greeted dusk now waits until full dark — or fires at 3 p.m., or never. Sun-based rules feel mystical when they drift, but they compute from mundane inputs: a home coordinate, a timezone, an offset, an enable flag, and the absence of contradicting rules. Each input is auditable in a minute, and one of them is wrong.

DifficultyEasyTime15–35 minSteps6
FAULT OVERVIEW

Sunset is computed, and every input is auditable

A sunset trigger is arithmetic: the platform takes the home's stored coordinates, computes today's sunset for that spot, applies your offset, and fires — if the rule is enabled, its conditions pass, and nothing else overrides the result. Drift and no-shows enter through exactly those doors: a home address never set (or set to the office), a timezone inherited from a traveling phone, an offset entered in the wrong direction, a condition that stopped being true, or a second schedule quietly reversing the first.

Seasonality adds the honest confusion: sunset moves by minutes each week, and offsets tuned in June feel wrong by October. The audit below separates genuine misconfiguration from the calendar doing its job — and ends with the logs, which most platforms keep and most users never open.

Sunrise or Sunset Automation Does Not Run — complete English tutorial infographic
English tutorial overview Complete English infographic with the six diagnostic or repair steps shown below.
TOOLS

Prepare before testing

  • The platform's home settings — address/coordinates and timezone — the two inputs everything derives from
  • The rule editor — enable flag, trigger, offset, conditions, actions — read as written, not as remembered
  • The platform's activity or history log — shows whether the rule fired, when, and what failed after
  • Today's actual sunset time — any weather app supplies the ground truth to compare against
!Safety note

Configuration only. The single caution echoes the smart-bulb constant: automations control lights that must have standing power — a wall switch cutting the bulb defeats every rule ever written.

COMMON CAUSES

Check these areas first

  • Home location wrong or unset. sunset computed for a default city, the office, or nowhere
  • Timezone drift. hub or app inheriting a travel timezone, shifting every solar event
  • Offset direction confused. before/after swapped, or minutes entered as hours
  • Rule disabled or fenced. the master toggle off, or day-of-week/date fences excluding today
  • Conditions never true. presence, luminance or device-state conditions that quietly stopped passing
  • Rival schedules. an older timer or scene turning the lights back off minutes after sunset turned them on
STEP BY STEP

Diagnostic procedure

Verify the two global inputs first (location, timezone), then the rule's own anatomy, then strip it to minimal and let the logs name what remains.

01

Confirm the rule exists, enabled, unfenced

Open the rule and read its status coldly: master toggle on, no date range that expired, day-of-week including today, and the rule attached to the correct home if the account manages several. Platform updates and family members both flip these flags more often than anyone admits.

Sunrise or Sunset Automation Does Not Run — step 1: Confirm the rule exists, enabled, unfenced
Step 01: Confirm the rule exists, enabled, unfenced — Cropped directly from this tutorial’s English main infographic.
What to observeEnabled, unfenced, right home — the ten-second check that closes a surprising share of cases.
02

Verify the home's coordinates

In home or location settings, confirm the stored address or map pin is the house — not a default, not the office, not blank. Compare the platform's displayed sunset (many show it) against a weather app's figure for your town: agreement within a few minutes validates the whole solar computation at a stroke.

Sunrise or Sunset Automation Does Not Run — step 2: Verify the home's coordinates
Step 02: Verify the home's coordinates — Cropped directly from this tutorial’s English main infographic.
What to observePlatform sunset versus real sunset — matching numbers clear location and calendar in one comparison.
03

Pin the timezone on every layer

Check timezone on the platform's home, on the hub if one exists, and on the phone that configured them. A hub set to a factory default, or a home inheriting a phone that traveled, shifts every solar event by whole hours — the signature of the 3 p.m. 'sunset'. Set explicitly; never leave on 'automatic' if drift has happened once.

Sunrise or Sunset Automation Does Not Run — step 3: Pin the timezone on every layer
Step 03: Pin the timezone on every layer — Cropped directly from this tutorial’s English main infographic.
What to observeOne consistent, explicit timezone across home, hub and phone.
04

Re-read the offset as written

Open the trigger and read exactly: at / before / after sunset, and the number's units. 'Thirty before' intended but 'thirty after' stored is the classic inversion; minutes-versus-hours mistakes produce the absurd firings. Correct, save, and note that seasonal drift is not error — a fixed offset rides sunset's daily movement by design.

Sunrise or Sunset Automation Does Not Run — step 4: Re-read the offset as written
Step 04: Re-read the offset as written — Cropped directly from this tutorial’s English main infographic.
What to observeThe trigger's direction and magnitude matching intent — and seasonal movement acknowledged as normal.
05

Strip to a minimal rule and test tonight

Temporarily remove every condition — presence, luminance thresholds, device states — leaving pure 'at sunset, turn on this one light'. If the minimal rule fires tonight, the trigger machinery is healthy and one removed condition was the blocker: reinstate them one per evening until the failure returns and names itself.

Sunrise or Sunset Automation Does Not Run — step 5: Strip to a minimal rule and test tonight
Step 05: Strip to a minimal rule and test tonight — Cropped directly from this tutorial’s English main infographic.
What to observeThe minimal rule firing on schedule, then the specific condition that re-breaks it when restored.
06

Read the logs and hunt the rival

In the activity history, find the rule's executions: fired-and-failed points at an offline device at that moment; fired-and-succeeded followed by darkness minutes later means a rival — search all platforms for old timers, 'goodnight' scenes, away modes and power-schedule plugs touching the same lights, and retire the losers. No execution record at all returns the case to steps one through four.

Sunrise or Sunset Automation Does Not Run — step 6: Read the logs and hunt the rival
Step 06: Read the logs and hunt the rival — Cropped directly from this tutorial’s English main infographic.
What to observeThe log's verdict: not firing, firing-but-failing, or firing-then-overridden — and the rival rule retired if found.
ONE CLOCK TO RULE THEM

Consolidating schedule authority

Sunset rules rot fastest in homes where three platforms each hold a fragment of lighting schedule — the brand app's timer from year one, the assistant's routine from year two, the hub's automation from this spring. Each is individually correct; together they fight, and the symptom is lights that change state 'by themselves' near dusk. The cure is constitutional: pick one platform as schedule authority for lighting, migrate the survivors there, and delete — not disable, delete — the rest. Disabled rules get re-enabled by curious family members and platform migrations; deleted rules stay retired. The annual audit then reads one platform's list instead of reconciling three.

LUMINANCE VERSUS SUN

When a light sensor serves better than astronomy

Solar triggers know the calendar but not the weather: a storm-dark afternoon stays unlit until the computed minute, and a bright June evening lights the porch needlessly. Where the platform and hardware allow, a luminance condition — 'when outdoor sensor falls below a threshold' — tracks actual darkness instead of theoretical sunset. The hybrid pattern is strongest: sunset-with-offset as the trigger, luminance as a modifier, so the lights answer both the calendar and the clouds. Reserve pure luminance triggers for setups with a well-placed sensor; a hallway sensor seeing its own lamp is the feedback loop that blinks all night.

Expected result

The sunset rule fires again for explainable reasons: verified coordinates and timezone, an offset that reads as intended, conditions reinstated one by one, and rival schedules retired after the logs identified them.

If the fault remains

Stop compensating with ever-larger offsets for what is actually a location or timezone error — the offset that 'fixes' winter breaks summer, while the underlying coordinate fix costs one minute and holds all year.