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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file ddcrelight-0.0.1.tar.gz.

File metadata

  • Download URL: ddcrelight-0.0.1.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.6

File hashes

Hashes for ddcrelight-0.0.1.tar.gz
Algorithm Hash digest
SHA256 70375935e082632618166ee2fd4a9a2f1c2097d060d65a371d52fdb7f566acfb
MD5 e543e62b7170b4e525648d79f222c6e8
BLAKE2b-256 bd284f7ab62feff559d14c2d8e1a7510959980b1f3f9bbaffeeefca9ecc8a72d

See more details on using hashes here.

File details

Details for the file ddcrelight-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: ddcrelight-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 21.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.6

File hashes

Hashes for ddcrelight-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e4d63f9cf92deb98012cdc16d58326a35833d679c3b5d5dbc091db77431fce57
MD5 ec182f7e2b3e86f3fc01b3e7237c0802
BLAKE2b-256 73a181c914f8cebd095ce99ae868cdadc2ce938bf7a2da38520379afc78acebd

See more details on using hashes here.

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