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

Motion event.sh #652

Open
Nic97 opened this issue Mar 3, 2022 · 2 comments
Open

Motion event.sh #652

Nic97 opened this issue Mar 3, 2022 · 2 comments

Comments

@Nic97
Copy link

Nic97 commented Mar 3, 2022

Hi everyone,
i tried to lauch the motion_event.sh to detect motion and notify via telegram bot.
But where i execute the script i have this error:
/var/www/html/macros/motion_event.sh: 21: [: -eq: unexpected operator

Anyone had the same problem?

Thanks

@mlambi
Copy link

mlambi commented Mar 3, 2022 via email

@Nic97
Copy link
Author

Nic97 commented Mar 4, 2022

I attach the the script that cause

Motion_event.sh.txt

The link of project is: https://www.moreware.org/wp/blog/2022/03/03/raspberry-pi-cam-bot-telegram-che-rileva-movimenti/

Thanks in advance

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

2 participants