[tool] Receive Blue Iris Alert Images/Videos on Telegram

Hi!
Thanks for the job,i will test it, as i use a batch to send my alerts to telegram via BI since two years.
It is possible to make it as service, to be sure that it will launch at startup, and restart if it fail?
Same thing to move sended files to another directory?

and again, thanks for the job!
 
Hi!
Thanks for the job,i will test it, as i use a batch to send my alerts to telegram via BI since two years.
It is possible to make it as service, to be sure that it will launch at startup, and restart if it fail?
Same thing to move sended files to another directory?

and again, thanks for the job!
 
was anyone able to get this resolved ? I am getting the following error also

[01.01.2024, 00:34:10]: WARNING: Could not upload file H:\test/Front.jpg to Telegram. Upload retry 9
[01.01.2024, 00:34:10]: ERROR: Could not upload file H:\test/Front.jpg to Telegram.
 
was anyone able to get this resolved ? I am getting the following error also

[01.01.2024, 00:34:10]: WARNING: Could not upload file H:\test/Front.jpg to Telegram. Upload retry 9
[01.01.2024, 00:34:10]: ERROR: Could not upload file H:\test/Front.jpg to Telegram.
Is it just a typo or do you really have a forward slash in the path to the file, that might be why it can not upload a file with an invalid path name!
 
Is it just a typo or do you really have a forward slash in the path to the file, that might be why it can not upload a file with an invalid path name!
the app is putting that slash and I don't know how to remove it I thought that might be the issue
 
Has anyone found a solution?

I'm currently trying it and the slash is automatically inserted the "/" and it doesn't manage to send pictures or videos to Telegram.
 
Same issue here. I even swapped the file path to all forward slashes and get the same error (You can actually use forward slashes in the file path if you're consistent) so not sure why it's causing problems unless the Telegram API maybe changed?
 
same here, it just doesn't work anymore, and the logs tell me nothing, not any clue:

...
[24.04.2024, 21:28:05]: 1.
[24.04.2024, 21:28:05]: 2.
[24.04.2024, 21:28:05]: WARNING: Could not upload file C:\BlueIris\Alerts/TGR_Annke_1.20240424_165338.3110985.3-1.jpg to Telegram. Upload retry 9
[24.04.2024, 21:28:05]: ERROR: Could not upload file C:\BlueIris\Alerts/TGR_Annke_1.20240424_165338.3110985.3-1.jpg to Telegram.
 
Thank you for the tool. Is there a way for TUT to only upload the confirmed AI marked-up alert images? When I use the: "Images: Blue Iris -> Camera Settings -> Record -> JPEGs: When alerted & Folder: your Input path from above" the image does not contain the item I am looking for versus what is shown in the Alerts

I found a fix. Under the Alerts tab, there is an ACTION button. One of the actions is to send the alerted image to FTP. Just FTP it to your TUT folder, and you will get the alert image sent to your Telegram account. There is also a "copy local" if you don't want to FTP.
 
I found a fix. Under the Alerts tab, there is an ACTION button. One of the actions is to send the alerted image to FTP. Just FTP it to your TUT folder, and you will get the alert image sent to your Telegram account. There is also a "copy local" if you don't want to FTP.

Nice work around. I ended up just using CURL in BI to send the image to Telegram. It's been working really well.
 
Nice, I didn’t think of that. Please share the curl format.

Here is how I have it setup.

1717875701980.png


Here is the parameter field:

https://api.telegram.org/botXXXXXXXX:YYYYYYYYYYY/sendphoto -F chat_id=ZZZZZZZZZZZZZ -F photo=@C:\BlueIris\Alerts\&ALERT_PATH -F caption="[*&NAME*](http://10.10.30.10:81/ui3.htm?t=live&cam=&CAM) \- &MEMO" -F parse_mode=MarkdownV2


Replace the XXXXXX:YYYYYYYY and ZZZZZZZ with the appropriate info.

Here is where I found the info for this with more details like setting up CURL: How To Send Blue Iris Images to Telegram - Smart Home Pursuits
 
Here is how I have it setup.

Here is the parameter field:

https://api.telegram.org/botXXXXXXXX:YYYYYYYYYYY/sendphoto -F chat_id=ZZZZZZZZZZZZZ -F photo=@C:\BlueIris\Alerts\&ALERT_PATH -F caption="[*&NAME*](http://10.10.30.10:81/ui3.htm?t=live&cam=&CAM) \- &MEMO" -F parse_mode=MarkdownV2


Replace the XXXXXX:YYYYYYYY and ZZZZZZZ with the appropriate info.

Here is where I found the info for this with more details like setting up CURL: How To Send Blue Iris Images to Telegram - Smart Home Pursuits

Hummm... How to tell you that it will perfectly send my own old batched curl script to the trash ;)

Just work perfectly and fawlessly for me!

Many many thanks to you for your share!!!
 
I'm using this program to upload images from a FTP location. It keeps closing for some reason. Is there any way to troubleshoot why?
 
this is a great program but not working for me.
1724269958079.png

it knew there's a file to upload but froze in the process....

here's the JPG file it found and tried to upload
1724270007616.png




error log shows:
1724270042597.png



Is it because TUT chat api and ID matches my HA's config file?
1724270325418.png
 
Last edited: