Skip to content

Support MotionSensors to turn screen off #1

@smerschjohann

Description

@smerschjohann

it would be nice if the ImmichFrame app can auto turn off the display, when no motion is detected.

I made a quick patch for the Nixplay frame that has a Motion Sensor. But the way, I implemented it, it would hardly couple the hardware which is not ideal.

Still this feature might come handy for various custom hardware or even external sensors that one can use for this purpose.

What do you think about a BroadcastReceiver in the ImmichFrame app, that listens for "Motion detected" messages, this way the app could handle these events and turn the screen off, if those messages aren't received for a configured period of time.

Another approach could be to create a small HTTP service inside of the app, and send the "keepalive" messages that way. This would also allow systems like Home-Assistant or others, to provide the given state. E.g. "light is on", "mobile phone presence" etc.

If you like the idea of any of those, I can provide a PR for that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions