Git Product home page Git Product logo

homebridge-occupancy-delay's People

Contributors

archanglmr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

homebridge-occupancy-delay's Issues

Characteristic Serial Number

HI.
Thank you very much for your hard work. I propose to add the "Characteristic Serial Number". I have the APP "Controller for HomeKit" indicates that this plugin generates duplicate serial number. I think adding this Characteristic will solve the duplicate serial number when you have several accessories with this plugin.

image

I have done this natively in Homekit

Screenshot 2023-11-17 at 9 48 29 am

Above image turns the light on when motion is detected.

Screenshot 2023-11-15 at 2 13 14 pm

Above image turns the light off when motion is not detected

See attached image of my shortcut. This works fairly well but sometimes it will still turn off lights when still occupied. I would love to know if your plugin is more reliable with detecting occupancy?

How do you deal with cases where you trigger the motion upon leaving?

I think you coded this plugin with the assumption that you can turn off the lights on the way out of an area without trigger motion.

And that's indeed the case if you have some sort of motion sensor overlooking the entire room.

However a lot of cases, the motion sensor is monitoring the entry way for entry and exit. Some sensors even are mounted on doors specifically. In those cases, you can't actually turn off the lights and exit the room because it will instantly retrigger it.

Do you have a solution for this scenario? Thanks

Reset TimeRemaining to zero

Is it possible to set the TimeRemaining characteristics to zero - eg. if you manually turn off the lights the occupancy sensor should be reset to no occupancy.

Add remaining time as an attribute for sensor

This plugin pretty does exactly what I'm looking for. But one thing that would be useful is to expose the remaining occupancy time for the occupancy sensor. In the default home app you can't see anything beyond on/off but if you use a third party app (like eve) you can already see additional attributes (like delay setting). In there it would be nice to see remaining time.

Remember state after restart?

Extensively using this plugin in my setup, so thank you for building it.

One thing I have noticed is that switches and occupancy sensors lose their state if homebridge restarts. Is it possible to retain their pre-reboot state?

For the occupancy sensor timer, perhaps it could just continue it — or we can compare the timer against the system clock to add a negative offset to the time homebridge was down for. Thoughts?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.