motioneye-project / motioneyeos

A Video Surveillance OS For Single-board Computers
Other
7.86k stars 898 forks source link

motioneyeos smtp settings not being retained #2601

Open peterd550 opened 3 years ago

peterd550 commented 3 years ago

Preliminary Docs

I confirm that I have read the CONTRIBUTING guide before opening this issue.

I confirm that I have read the FAQ before opening this issue.

motionEyeOS Version

motionEyeOS 20200606

Board Model

I am using the following board/model: Raspiberry pi zero w.

Camera

I am using the following type of camera: /dev/v4l/by-id/usb-lihappe8_Corp._USB_2.0_Camera-video-index0

My camera model is: (insert your camera model, e.g. Logitech C290).

Network Connection

My motionEyeOS unit is connected to the network via: wifi 2.4 ghz

when I set the smtp server it works and sends email

when I turn off send notification my smtp settings are lost

motion (4).log motioneye (3).log dmesg (1).log messages (2).log

peterd550 commented 3 years ago

I am also having an issue saving videos to my Nas I can connect but when I set it to be a 30 sec continues video I get 1 video

I set it to be 1 sec video and it works get 60 videos in a minute.

starbasessd commented 3 years ago

The continuous video recording is a known issue. It should work as expected with 20190911 or dev20201026. Checking the email issue, but, if I recall correctly, that behavior has been there since before 20190911, by design. If you want to not have it send emails for motion detection, you can disable motion detection by script or toggle. It assumes you want to set up an email when you enable it, ignoring any previous setup. This could be a feature request, to do a Working Schedule for Email, too.

On Mon, Dec 7, 2020 at 5:30 AM Peter Dicker notifications@github.com wrote:

I am also having an issue saving videos to my Nas I can connect but when I set it to be a 30 sec continues video I get 1 video

I set it to be 1 sec video and it works get 60 videos in a minute.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneyeos/issues/2601#issuecomment-739828159, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHI3JET6TZOXY3SFPT3STSVDXANCNFSM4UP4YM5Q .

-- Thanks

Kevin Shumaker

Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel

N38° 19' 56.52" W85° 45' 8.56"

Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?

peterd550 commented 3 years ago

Why is it by design? When is the next release for this ?

starbasessd commented 3 years ago

It doesn't assume you want to keep previous settings, rightly or wrongly. When is up to the owner of the project, @ccrisan

On Tue, Dec 8, 2020 at 5:14 AM Peter Dicker notifications@github.com wrote:

Why is it by design? When is the next release for this ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneyeos/issues/2601#issuecomment-740525675, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHP33R6UAMA52MRKDYTSTX4BBANCNFSM4UP4YM5Q .

-- Thanks

Kevin Shumaker

Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel

N38° 19' 56.52" W85° 45' 8.56"

Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?

peterd550 commented 3 years ago

Can I make a request that it does settings are retained.

peterd550 commented 3 years ago

When is the development version going to be a production version?

peterd550 commented 2 years ago

Any update on this issue?

starbasessd commented 2 years ago

No further updates at this time. I can write you some scripts to save the settings, if you need, but I doubt they would be 'official'...

peterd550 commented 2 years ago

Yes please that would be great! What language will they be in?

Do you have any API's for motion eye

starbasessd commented 2 years ago

APIs, no, the code is open source, though (mostly python scripts). I've written them before and posted either here or in motionEye, if you look for them (they are related to SMTP or email alerts) and find them, let me know. I am working on updating and confirming motionEye on RaspiOS Bullseye since it was officially released today (even though it's dated 10/30/2011) and as soon as I get that completed, I will look them up and/or post new ones. They are bash scripts, as all it does is copy the Camera_X.conf scripts to 2 other files, then you can either crontab them (fixed times) or Action Button them (manual times) or both...

starbasessd commented 2 years ago

Here's a link to a similar situation where they wanted one camera setup for daytime, and a different setup for night. You could just adjust the settings you want for smtp for when you want emails, and one for when you don't want emails (but still want motion detection), and adjust the crontab time settings as needed. If you want Action Buttons, let me know and I can point you to help... If you need more assistance, or have additional questions, I believe my email is in my profile.

starbasessd commented 2 years ago

I suppose it might have been helpful to include the link, but my brain is mush from doing the Docs for RPiOS Bullseye. Have I ever said how much I hate github MD lanquage? :) https://github.com/ccrisan/motioneyeos/issues/2779#issuecomment-882773284