Sunoo / homebridge-ftp-motion

Converts FTP uploads into HTTP motion alerts that homebridge-camera-ffmpeg understands
BSD 2-Clause "Simplified" License
7 stars 1 forks source link

Future Request (Motion by ftp) #2

Closed monza258 closed 4 years ago

monza258 commented 4 years ago

Describe the solution you'd like: My cam doesn’t have MQTT motion but an option for ftp.

Describe alternatives you've considered: The homebridge-camera-Ui plugin from seydx support that option.

Additional context: is the any way to include this option to your Plugin?

Sunoo commented 4 years ago

I think this would be best solved in a translation plugin that accepts the FTP connection and republished it as either MQTT or HTTP to this plugin, similar to what I did for Dafang Hacks cameras.

If I have some free time later, I may look into writing such a plugin myself.

monza258 commented 4 years ago

Unfortunately, I don't understand anything about it, or how to implement it. 😅

Sunoo commented 4 years ago

Like I said, I might take a stab at it myself if I have some free time. Unfortunately my laptop is going in for repairs this afternoon, and I’m not sure how long that’ll take.

monza258 commented 4 years ago

I'm glad you take your time for it. (Sometime)

Sunoo commented 4 years ago

I plan on supporting a few methods, but to make sure I prioritize the most useful one, do you save your pictures to the computer that is running Homebridge, or somewhere else? (or, I guess, do you not care about the pictures themselves and just use them to trigger alerts?)

monza258 commented 4 years ago

I use it for both options.

The picture will saved on my fritzbox. See attached Screenshot. The Camera-ui Plugin send me also the picture by telegram to see all the motions why have triggered.

Think the plugin will work so: If there is a new pic on ftp then send it by telegram and trigger the camera motion.

Pic by Telegram. My favorite option.

Sunoo commented 4 years ago

I've just published a very early version of this, that currently only triggers motion alerts based on FTP uploads. It does not yet store the images or do anything else.

I'm going to close this issue out now. If you want to comment on anything about that plugin, please do it on that project's issue tracker.