Skip to content

[Feature request]: Support custom external sources for luminance value #98

@odiroot

Description

@odiroot

Please describe your feature request

Idea

Let wluma call (periodically) an external script/binary to fetch the current luminance information.
Alternatively it could source the same information in a "smarter" (non-polling) way by listening on a TCP/unix socket.

Background

Webcams have a few issues when being use as a light sensor:

  • Their fidelity is not great
  • Can be obscured by privacy filters/flaps (e.g. ThinkPads)
  • Are facing the user instead of looking from the PoV of the user.

This inspired me to look into sourcing the luminance using an external PIR/light sensor connected to my smart home system.
Unfortunately, since it's not exposed as a device directly on my laptop (it communicates over Zigbee), I couldn't possibly use it for brightness control.

I can though source the luminance information from the sensor over network / listen to state changes on MQTT broker.
Still there's no way to feed this information to wluma.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions