pa-wills / Home-Assistant-Config

This is my Home Assistant config repo. Just yamls at this very early stage.
0 stars 0 forks source link

Implement basic architecture for image processing with ME / TF #112

Open pa-wills opened 3 years ago

pa-wills commented 3 years ago

MotionEye is giving me URLs for streaming and for still. Use them.

Configure a MJPEG IP Camera entity from the URLs: https://www.home-assistant.io/integrations/mjpeg/

That alone should get me the basic images into HA.

Then - configure Motion to send call a web hook when motion is detected. Less sure about this, but it will indeed work.

The implied Web Hook handler on the HA side would then need parse the output and update a state variable. On that - is integration to nabucasa required? Out and back seems a bit silly, but the alternative is some sort of local API, I suppose. There’s probably a way to expose a web hook locally from HA, and leave it at that.

OK, now I have a detected event. From here it should be fine to pick up the trigger, go get the latest jpeg and start running things through TF.

A different route - do the same type of thing with ZoneMinder, perhaps. I would rather be on ZM, but is that a true replacement for ME? Not sure. OK, yes, it probably is - but we’re not going to be able to start here without a NuC, and some exterior cams. Worth acknowledging the target state though:

pa-wills commented 2 years ago

I am beginning to think I should just try to get this done initially in the cloud. Say with AWS Reckognition, etc. THat would serve two goals - advance the project and advance my learning of AWS, which I have decided to invest in (development time).