RPi_Cam_Web_Interface icon indicating copy to clipboard operation
RPi_Cam_Web_Interface copied to clipboard

Motion event.sh

Open Nic97 opened this issue 2 years ago • 2 comments

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

Nic97 avatar Mar 03 '22 22:03 Nic97

No. I have a bash script that send a Matt meager via mosquito. Can you run the script from the CLI?

On Thu, Mar 3, 2022 at 5:36 PM Nic97 @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/silvanmelchior/RPi_Cam_Web_Interface/issues/652, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADJTLWQNV3SPYN7RV2JAMLDU6E5GLANCNFSM5P3Z3XXA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

mlambi avatar Mar 03 '22 23:03 mlambi

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

Nic97 avatar Mar 04 '22 08:03 Nic97