-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Hello,
I am trying to get this working on a Raspberry Pi 4 running Raspbian Bookworm Desktop. I plan on using it like you do next to my bed. However, when I try to start the service it fails. Any ideas on how I can fix this?
pi@raspi-new:~ $ systemctl status autobrightness.service
× autobrightness.service - Get auto brightness service running at boot
Loaded: loaded (/etc/systemd/system/autobrightness.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Sun 2024-08-04 16:44:57 PDT; 2min 54s ago
Duration: 310ms
Process: 1072 ExecStart=/usr/bin/python3 /home/pi/PiAutoDim/autobrightness.py (code=exited, status=1/FAILURE)
Main PID: 1072 (code=exited, status=1/FAILURE)
CPU: 309msAug 04 16:44:57 raspi-new systemd[1]: autobrightness.service: Scheduled restart job, restart counter is at 5.
Aug 04 16:44:57 raspi-new systemd[1]: Stopped autobrightness.service - Get auto brightness service running at boot.
Aug 04 16:44:57 raspi-new systemd[1]: autobrightness.service: Start request repeated too quickly.
Aug 04 16:44:57 raspi-new systemd[1]: autobrightness.service: Failed with result 'exit-code'.
Aug 04 16:44:57 raspi-new systemd[1]: Failed to start autobrightness.service - Get auto brightness service running at boot.