neolink icon indicating copy to clipboard operation
neolink copied to clipboard

Motion Detection

Open QuantumEntangledAndy opened this issue 3 years ago • 3 comments

This PR adds motion detection to neolink_core

  • It also contains some small fixes to documentation and comments

  • Additionally, while writing the motion detection code I made the callback be able to gracefully shutdown the motion detection loop returning Ok(false).

    • I thought this was a nice feature so I added it to the stream callback too (although it is mostly unused in our own code it may be of use as part of the library)
    • Let me know if you want me to drop this

QuantumEntangledAndy avatar Aug 31 '21 13:08 QuantumEntangledAndy

This is quite neat; am I correct in assuming this will help us get a person/vehicle detected event off of the camera and integrate it with something HASS?

0dragosh avatar May 17 '22 12:05 0dragosh

@0dragosh This PR by itself just opens up the Motion detection protocol for other apps to use. But if coupled with the mqtt PR it will give a way to pass that MD message on to other apps.

QuantumEntangledAndy avatar May 17 '22 13:05 QuantumEntangledAndy

@0dragosh This PR by itself just opens up the Motion detection protocol for other apps to use. But if coupled with the mqtt PR it will give a way to pass that MD message on to other apps.

Gotcha! Good work!

0dragosh avatar May 17 '22 13:05 0dragosh

Is this PR dead?

marcosandremartins avatar Oct 05 '22 16:10 marcosandremartins

Most of my PRs seem to be :(. There's no comment from the repo owner on why they cannot be merged and I cannot merge it without approval.

QuantumEntangledAndy avatar Oct 05 '22 23:10 QuantumEntangledAndy

Hi @thirtythreeforty Can we get your help on this? A lot of interesting things are on queue to be merged.

marcosandremartins avatar Oct 10 '22 09:10 marcosandremartins

+1 I can't say how cool it would be to have this checked in into main. @QuantumEntangledAndy this can nevertheless be used with your fork, correct? I am using the docker image from your fork. I will try it out and will report. Thanks!

anthonws avatar Jan 08 '23 17:01 anthonws

Yes it can be used on my fork. I'm in the process of putting all my different unmerged features into my fork's main branch so we can enjoy all the extra features at once.

QuantumEntangledAndy avatar Jan 08 '23 22:01 QuantumEntangledAndy

Hey all. Sorry for being absent. (I had a baby late August and then... holidays. Excuses, excuses.)

This looks great (and yes I did review it). Thanks @QuantumEntangledAndy. No issue merging this here! I will review the MQTT stuff next.

thirtythreeforty avatar Jan 09 '23 03:01 thirtythreeforty

@thirtythreeforty congratulations and also welcome to the no-sleep club.

I've got a lot of changes on my forks master branch that are not included such as warning/errors when gts plugins are missing.

To get all the features from my PRs to merge it requires some changes (the joys of having multiple branches waiting so long between merges is that there's no good combined reference point). I have done this on my forks main branch. But it was a lot of work and not sure how to lay all the changes required out to you in small sequential PRs. Any chance you'll look at all my changes in one combined PR?

QuantumEntangledAndy avatar Jan 09 '23 06:01 QuantumEntangledAndy