Git Product home page Git Product logo

Comments (5)

Brandawg93 avatar Brandawg93 commented on May 28, 2024

This is expected behavior. When motion is detected, motion is set to true and a notification is sent to homekit. 5 seconds later, motion is set to false and the cooldown begins, not allowing another notification to be sent for alertCooldownRate seconds. Motion must be set to false 5 seconds later or users will begin to receive multiple notifications for the same alert.

from homebridge-nest-cam.

valiquette avatar valiquette commented on May 28, 2024

The automation is 2 part, I am using is one where motion is detected and I turn a light on, the second is motion is no longer detected and the light is turn off. it seem like the false is sent so close in time to the true that homekit never turns the light on. If I disable either one of those steps, the step works. But with both on nothing runs. If it did work I am thinking I would see the light on for 5 second every 3 minutes. I am trying to follow what the camera is actually seeing, i am not sure how to do that if it is being set to false prior to the next poll or next update. Any suggestions?

from homebridge-nest-cam.

Brandawg93 avatar Brandawg93 commented on May 28, 2024

I see what mean. I've created a new test version of the plugin that now leaves the motion state on until it doesn't see motion anymore. If you can, try it out and let me know if that works better for you. You can install the test via npm -g i homebridge-nest-cam@test.

from homebridge-nest-cam.

valiquette avatar valiquette commented on May 28, 2024

Yes, the behavior is as I expected, the logic looks better. I also have 2 structures and was able to test that. I'll comment in that thread. Thanks for such a quick turn around.

from homebridge-nest-cam.

Brandawg93 avatar Brandawg93 commented on May 28, 2024

This is now included in v2.5.0. Thanks for the bug report!

from homebridge-nest-cam.

Related Issues (20)

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.