So, I’m unable to template the path for the video. Can someone help?
- id: '111111111111'
alias: 1 Test security cam record sent via telegram
description: ''
trigger:
- entity_id: alarm_control_panel.alarm
platform: state
to: triggered
condition: []
action:
- data_template:
data:
video:
- password: mypassword
url: http://192.168.1.x:8080/record/xxxxxxxxxx/xxxxxxxxx.mp4
username: myusername
message: This is a test for sendig video with telegram.
title: Video test
service: notify.telegram
mode: single
Hi. I am testing a telegram bot to upload video and other files from camera or other devices to telegram through FTP without any additional software or hardware. t.me/ftp2bot
Yes, you can register ftp account through telegram bot and configure camera ftp settings for the camera to upload records automatically. The bot will do the rest.
You don’t need any additional software such as home assistant or hardware for this to work. Just register an account or separate accounts for every camera and configure ftp uploads on cameras.
P.S. Create a group with the bot to create multiple accounts