Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add door state option to the webcam archive configuration #203

Closed
h1kkan opened this issue Nov 6, 2018 · 9 comments
Closed

Add door state option to the webcam archive configuration #203

h1kkan opened this issue Nov 6, 2018 · 9 comments
Labels
enhancement testing waiting on user input Waiting for issues to respond on last question

Comments

@h1kkan
Copy link

h1kkan commented Nov 6, 2018

Hi @theyosh !
Could you please add "door state" param to the webcam archiving function? Thanks!

@theyosh
Copy link
Owner

theyosh commented Nov 6, 2018

What should it do? If the door is open, then do not make archive images?

There are a lot of requests for all kind of triggers when the door opens. That rather hard to develop and will not be made. So taking a webcam image for the archive when the doors opens will not be added

@h1kkan
Copy link
Author

h1kkan commented Nov 6, 2018

If the door is open, then do not make archive images?

In my case yes, that is what it should do. It should just depend on door state, and shouldn't be used as trigger at all.

@theyosh
Copy link
Owner

theyosh commented Nov 12, 2018

It is testable in the python3 branch for now. That will become the new master when everything is tested on python3.

If you checkout python3 branch, make sure you run the installer. A lot of code had to change to make the switch to python3 easier. The installer will take 10+ minutes. And could fail the first time. Just rerun it.

@theyosh
Copy link
Owner

theyosh commented Nov 18, 2018

It has been added to the master branch with a new release. Follow the normal update steps

It should start the installer which will take a long time due to a lot of package changes. After that, it will reboot and the new version should be running. Make sure you clear your browser cache

@theyosh theyosh added the waiting on user input Waiting for issues to respond on last question label Nov 18, 2018
@h1kkan
Copy link
Author

h1kkan commented Nov 22, 2018

I'll check and test it all on this weekend

@theyosh
Copy link
Owner

theyosh commented Nov 29, 2018

Any updates?

@h1kkan
Copy link
Author

h1kkan commented Dec 3, 2018

Hi @theyosh, i've tested cam archiving with door sensors for a week and no errors occurred.

But i've faced with issue during update. When installer stuck for the first time, ps showed that apt process is still active, so i've checked /var/log/apt/term.log log and was able to identify why it hang - APT was waiting on interactive action from user, but this question wasn't displayed on installer screen:

Setting up pi-greeter (0.9) ...

Configuration file '/etc/lightdm/pi-greeter.conf'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** pi-greeter.conf (Y/I/N/O/D/Z) [default=N] ?

So i've killed apt and installer processes, manually updated software with apt-get -y full-upgrade, then ran installer again and got app installed in a 5 min.

@theyosh
Copy link
Owner

theyosh commented Dec 3, 2018

Hmm, this is strange, but cant do anything about it. Somehow system issue. So then I would like to close this issue for now due to initial request is done.

Thanks for the heads-up about the installer.

@theyosh theyosh closed this as completed Dec 3, 2018
@theyosh
Copy link
Owner

theyosh commented Dec 3, 2018

Oh.. forgot to mention... please read #210 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement testing waiting on user input Waiting for issues to respond on last question
Projects
None yet
Development

No branches or pull requests

2 participants