Skip to content

Motion Sensor Support - Frameo Frame #27

Description

@Raistlfiren

Hi,

First off, I really appreciate your time in creating and maintaining this project. I know you have already considered this previously, but I wanted to touch base and add some additional details about the motion sensor on the Frameo frame. Here is a link to the closed issue that I am referencing - #1

I was able to discover that the motion sensor is writing to the file /sys/pir_s18/data. The state is simply a 1 for "Motion Detected" or 0 for "Motion Cleared". I forked the repository and added some code to support the motion sensor on the Frameo Frame - Raistlfiren@f7e6d02

There is definitely a better way of implementing this functionality, but it works for me and my use case. I created a new setting called wakeLockTime to turn off the screen after "x" minutes of inactivity.

Thanks again for reviewing this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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