-
Notifications
You must be signed in to change notification settings - Fork 0
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
not working #6
Comments
i am not getting any errors in the logs |
Hi to be sure that your detecor is set correctly, did you get alerts here? If AgentDvr try to run the script you should see something like this in the log: 08:40:10 MyCamera: ProcessAlertEvent: Processing EXE (telegram_sendphoto.sh) I think that your AgentDVR is not trying to execute the script since you should see at least some errors... |
yes i am getting alert have over 100 allerts and omages in agentdvr but as you say i dont see any action of exectuing the script . testes a thng just now .. the action was set to IF alert in zone 1 execute command i changed it to IF Motion Detected in zone 1 execute command <--- and thiw works now i get execution of the script but getting 7:18:33 AM RunScript: /Agent/Commands/telegram_sendphoto.sh: line 15: /AgentDVR/Commands/grabs/grab64_3.jpg: No such file or directory /agent/Commands/telegram_sendphoto.sh: line 16: /AgentDVR/Commands/grabs/grab64d_3.jpg: No such file or directory curl: (26) Failed to open/read local data from file/application i tried changing to lower case in the script but i am still getting RunScript: /agent/Commands/telegram_sendphoto.sh: line 15: /agentDVR/Commands/grabs/grab64_3.jpg: No such file or directory /agent/Commands/telegram_sendphoto.sh: line 16: /agentDVR/Commands/grabs/grab64d_3.jpg: No such file or directory curl: (26) Failed to open/read local data from file/application Edit : found the issue in the .sh file the folder is named agentDVR when it only should be agent in the docker version. |
hi
i downloded and added the sh file to the commands folder and created the folder.
activate motion detection and added the task
execute command
telegram_sendphotot
with parameters
{ID} '{MSG}' {BASE64IMAGE}
but folder is empty
telegram bot is reciving/sending nothing
logs only tells me
8:06:40 AM Entre: LoadJson: getcameragrabs
8:06:40 AM Entre: LoadJson: getcameragrabs
8:08:07 AM Entre: LoadJson: getcameragrabs
8:08:07 AM Entre: LoadJson: getcameragrabs
8:08:10 AM Entre: LoadJson: getcameragrabs
8:08:10 AM Entre: LoadJson: getcameragrabs
8:08:23 AM Entre: LoadJson: getcameragrabs
8:08:23 AM Entre: LoadJson: getcameragrabs
8:08:26 AM Entre: LoadJson: getcameragrabs
8:08:26 AM Entre: LoadJson: getcameragrabs
and thats it
i am stuck soo need assistance
The text was updated successfully, but these errors were encountered: