From 8193ca5d2fe46b3f2960dbf50d94a69312ae649b Mon Sep 17 00:00:00 2001 From: Alessandro Mauri Date: Sun, 6 Oct 2024 16:49:42 +0200 Subject: [PATCH] update readme with instructions to check for device compatibility --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index d6d86ea..9eacbdf 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,12 @@ Uses the luminance sensor of a laptop to determine a target brightness, the user can further adjust the brightness between updates to give the program an offset to respect. +## Check for Support + +This program needs an ambient light sensor, you can check if your device has one +by running `cat /sys/bus/iio/devices/iio:device0/in_illuminance_raw` this should +give a number and not an error + ## Install Copy ambient.py to a directory in PATH: `sudo cp ambient.py /usr/local/bin`