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

zpn

n3wb
Joined
Dec 23, 2020
Messages
5
Reaction score
3
Location
moon
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!
 

zpn

n3wb
Joined
Dec 23, 2020
Messages
5
Reaction score
3
Location
moon
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!
 
Joined
Apr 7, 2017
Messages
2
Reaction score
0
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.
 

Bruce_H

Young grasshopper
Joined
Feb 22, 2017
Messages
49
Reaction score
12
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!
 
Joined
Apr 7, 2017
Messages
2
Reaction score
0
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
 

kinghomer

n3wb
Joined
Mar 5, 2024
Messages
1
Reaction score
0
Location
Germany
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.
 
Joined
Mar 5, 2024
Messages
1
Reaction score
0
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?
 

zpn

n3wb
Joined
Dec 23, 2020
Messages
5
Reaction score
3
Location
moon
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.
 

blulite

n3wb
Joined
Aug 2, 2020
Messages
10
Reaction score
5
Location
FLorida
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.
 

hopalong

Getting the hang of it
Joined
Apr 19, 2021
Messages
78
Reaction score
38
Location
California
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.
 

hopalong

Getting the hang of it
Joined
Apr 19, 2021
Messages
78
Reaction score
38
Location
California
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
 

zpn

n3wb
Joined
Dec 23, 2020
Messages
5
Reaction score
3
Location
moon
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!!!
 

hopalong

Getting the hang of it
Joined
Apr 19, 2021
Messages
78
Reaction score
38
Location
California
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?
 
Top