Send notification to Telegram
https://github.com/lkn94/RaspberryBackup/blob/ca9807a5e52771c4d9a65dfb710a0785aa1d0f3b/backup.sh#L24
Hi, I am following your repository and thought might be a good idea to offer to send to Telegram too. So the user got both options. We ususally do have the Telegram already for home automation.. Just a proposal. Regards, Andreas
Thanks for your idea. It might be a good idea to send a telegram notification especially for home automation users. Currently I'm not sure if I got enough time to change the script. But feel free to integrate this function.
Hi, already done and confirm working. If you want, you can add to your code.
MESSAGE="Monthly backup PIWeewx done"
curl -s -X POST https://api.telegram.org/PUTYOURBOTHERE/sendMessage -d text="$MESSAGE" -d chat_id=PUTYOURCHATIDHERE
Thanks for your changes!