Skip to content

The Outside Sensor ​

Outside is a Light Sensor whose reading is the estimate of how bright it is outdoors at the place you saved, in lux. The plugin computes the sun's position each minute, reads the brightness of a clear sky at that position, and scales it by the share of sunlight the last Open-Meteo forecast says the clouds let through.

The plugin writes that reading to CurrentAmbientLightLevel, clamped into the 0.0001 to 100000 lux that characteristic accepts. A moonless night therefore reads 0.0001 rather than zero, and full sun at a high altitude holds at 100000.

Nine Decades of Lux ​

Each decade is one tenfold step of lux, and on October 4, the reading spends hours in the darkest and brightest steps and only 22 to 31 minutes in each step of twilight.

0.0001 to 0.001 lux
Everyday light
Moonless, overcast night sky at 0.0001
Clear sky
The sun from −15.5° to −13.4°
October 4
608 minutes, until 05:37 and from 19:29
0.001 to 0.01 lux
Everyday light
Moonless clear night sky with airglow at 0.002
Clear sky
The sun from −13.4° to −11.2°, nautical twilight ends at 0.00436
October 4
24 minutes, 05:37 to 05:49 and 19:17 to 19:29
0.01 to 0.1 lux
Everyday light
Quarter moon on a clear night at 0.01
Clear sky
The sun from −11.2° to −9.1°
October 4
22 minutes, 05:49 to 06:00 and 19:06 to 19:17
0.1 to 1 lux
Everyday light
Full moon on a clear night at 0.05 to 0.3
Clear sky
The sun from −9.1° to −7.0°
October 4
24 minutes, 06:00 to 06:12 and 18:54 to 19:06
1 to 10 lux
Everyday light
Dark limit of civil twilight under a clear sky at 3.4
Clear sky
The sun from −7.0° to −4.8°, civil twilight ends at 2.99
October 4
24 minutes, 06:12 to 06:25 and 18:43 to 18:54
10 to 100 lux
Everyday light
Public areas with dark surroundings at 20 to 50, Family living room lights at 50, Office building hallway lighting at 80
Clear sky
The sun from −4.8° to −2.6°
October 4
24 minutes, 06:25 to 06:37 and 18:31 to 18:43
100 to 1,000 lux
Everyday light
Very dark overcast day at 100, Railway station platforms at 150, Office lighting at 320 to 500, Sunrise or sunset on a clear day at 400
Clear sky
The sun from −2.6° to 0.0°, sunset at 662
October 4
31 minutes, 06:37 to 06:53 and 18:16 to 18:31
1,000 to 10,000 lux
Everyday light
Overcast day at 1,000
Clear sky
The sun from 0.0° to 9.3°
October 4
108 minutes, 06:53 to 07:50 and 17:25 to 18:16
10,000 to 100,000 lux
Everyday light
Full daylight, not direct sun at 10,000 to 25,000, Direct sunlight at 32,000 to 100,000
Clear sky
The sun from 9.3° to 57.8°, sun at 10° at 11,231, sun at 30° at 51,321, solar noon on the sample day at 76,677, sun at 60° past the ceiling at 102,957
October 4
575 minutes, 07:50 to 17:25
Each decade as a table
LuxEveryday LightClear SkyOctober 4
0.0001 to 0.001 luxMoonless, overcast night sky at 0.0001The sun from −15.5° to −13.4°608 minutes, until 05:37 and from 19:29
0.001 to 0.01 luxMoonless clear night sky with airglow at 0.002The sun from −13.4° to −11.2°, nautical twilight ends at 0.0043624 minutes, 05:37 to 05:49 and 19:17 to 19:29
0.01 to 0.1 luxQuarter moon on a clear night at 0.01The sun from −11.2° to −9.1°22 minutes, 05:49 to 06:00 and 19:06 to 19:17
0.1 to 1 luxFull moon on a clear night at 0.05 to 0.3The sun from −9.1° to −7.0°24 minutes, 06:00 to 06:12 and 18:54 to 19:06
1 to 10 luxDark limit of civil twilight under a clear sky at 3.4The sun from −7.0° to −4.8°, civil twilight ends at 2.9924 minutes, 06:12 to 06:25 and 18:43 to 18:54
10 to 100 luxPublic areas with dark surroundings at 20 to 50, Family living room lights at 50, Office building hallway lighting at 80The sun from −4.8° to −2.6°24 minutes, 06:25 to 06:37 and 18:31 to 18:43
100 to 1,000 luxVery dark overcast day at 100, Railway station platforms at 150, Office lighting at 320 to 500, Sunrise or sunset on a clear day at 400The sun from −2.6° to 0.0°, sunset at 66231 minutes, 06:37 to 06:53 and 18:16 to 18:31
1,000 to 10,000 luxOvercast day at 1,000The sun from 0.0° to 9.3°108 minutes, 06:53 to 07:50 and 17:25 to 18:16
10,000 to 100,000 luxFull daylight, not direct sun at 10,000 to 25,000, Direct sunlight at 32,000 to 100,000The sun from 9.3° to 57.8°, sun at 10° at 11,231, sun at 30° at 51,321, solar noon on the sample day at 76,677, sun at 60° past the ceiling at 102,957575 minutes, 07:50 to 17:25

The everyday light comes from the Illuminance table of Wikipedia's Lux article, and the clear sky from U.S. Naval Observatory Circular 171.[1] The sample day runs the plugin's own estimate at the zip code Finding Your Place searches for.

Using the Reading ​

The Home app can trigger an automation when a light sensor's reading passes a level, as About iOS 15 Updates describes. That automation can run again each time the reading moves back past the level, so a reading wavering around its level as clouds pass can run it again and again. Threshold Sensors exist to hold through those crossings.


  1. Janiczek and DeYoung. 1987. "Computer Programs for Sun and Moon Illuminance With Contingent Tables and Diagrams." U.S. Naval Observatory, Circular 171. https://archive.org/details/DTIC_ADA182110 ↩︎