Skip to main content

Update monitor brightness intelligently using the DDC protocol.

Project description

Requirements

Setup

A udev rule is likely required to allow the tool to run as non-root. The following can be added as the file /etc/udev/rules.d/50-yoctopuce.rules:

# udev rules to allow write access to all users for Yoctopuce USB devices
SUBSYSTEM=="usb", ATTR{idVendor}=="24e0", MODE="0666"

Additionally, udev rules must be configured for ddcutil to operate without root permissions:

https://www.ddcutil.com/i2c_permissions/

Then a daemon should be setup:

ddcrelight.service:

[Unit]
Description=Update monitor brightness intelligently using light sensors.

[Service]
ExecStart=<path-to-script>/ddcrelight daemon
Restart=on-failure
RestartSec=5

[Install]
WantedBy=default.target

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ddcrelight-0.0.1.tar.gz (17.9 kB view hashes)

Uploaded Source

Built Distribution

ddcrelight-0.0.1-py3-none-any.whl (21.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page