-
Notifications
You must be signed in to change notification settings - Fork 1
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
No notification with zmeventserver #4
Comments
Did you install jq? apt-get install curl git jq |
Yes jq is installed. I modified the script to make it fonctionnal but it is perfectible. afterwards I realized that zmeventnotification has a push functionality so I switched to this solution. |
Your pushapi_telegram script is the only one I found online, thanks a lot for sharing it! I still can't get zm to push notifications to telegram though. I'll add some more debug tracing to your script to see what's going on. Update: managed to get it up and running. Had to hardcode the bot token & chat id into the script. Not optimal but working! |
Can u shared ur script version pushapi_telegram.txt? |
i also wanted to have notifications on telegram, @NOOH88 sample inspired me to get it to work although his script didnt work for me.. |
Hello,
the sending of notification does not work with zmnotification, but is functional as long as I do not detect a person.
Looking at the zm_telegram_alarm.sh script, the problem seems to come from the part with jq. Indeed, when you fill in the command in a shell, there is no return and the value is null.
Cordially.
The text was updated successfully, but these errors were encountered: