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

Dropbox module runs first and deletes the output files, so no other modules can use them. #29

Open
AlexHowansky opened this issue Jul 3, 2018 · 1 comment

Comments

@AlexHowansky
Copy link

I'm working on adding a module to do push alerts to my phone via pushover.net. I've currently got it working great, sending the JPG that was captured as an attachment -- so any time the camera catches something, my phone dings, and there's the photo. The problem is that the dropbox module deletes the images as soon as it's done uploading them, so they're gone by the time my module runs. I've been unable to change the order that the modules run in. I've tried changing the order they're listed in modules_enabled.conf but that had no effect. I ultimately just commented out the rm from the dropbox module so the files would stay local on the pi, but that's a short term solution. Do you know of any mechanism to adjust the order that the modules run in?

@AlexHowansky
Copy link
Author

OK, it seems that the modules are run in alphabetical order by virtue of the for d in /home/pi/pigeon/modules/*/ in pigeon_modules_init.sh. I will update this script to run the on_movie_end and on_picture_save modes in the order specified in modules_enabled.conf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant