Skip to content

whitesockcat/brightness

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Ambient Light Monitor

Real-time Mac ambient light sensor dashboard.

screenshot

Reads the built-in ALS (Ambient Light Sensor) via ioreg and streams lux values to a web dashboard using Server-Sent Events.

Features

  • Real-time lux display with environment description
  • Color-coded gauge bar
  • 60-second rolling history chart
  • Background adapts to ambient brightness
  • Auto-reconnect on disconnect
  • Zero dependencies — Python stdlib only

Usage

python3 server.py
# Open http://localhost:8080

Requirements

  • macOS with ambient light sensor (Apple Silicon / Intel)
  • Python 3

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors