esp32cam и вебкамера. Делаем запись видео в home assistant с помощью motioneye. Детектор движения.

Аватар автора
PHP Демонстрации
sudo apt-get install ffmpeg sudo apt-get install v4l-utils v4l2-ctl --list-devices В configuration.yaml: shell_command: В automations.yaml - alias: Делаем видео description: '' trigger: - platform: event event_type: telegram_command event_data: command: /start context: {} - platform: webhook webhook_id: motioneye-camera1-started condition: [] action: - service: shell_command.record_video - delay: hours: 0 minutes: 0 seconds: 8 milliseconds: 0 - service: telegram_bot.send_video data: file: /media/record2.mp4 keyboard: /start, /send caption: Кто-то шарится возле двери. mode: single - alias: Отправить видео description: '' trigger: - platform: event event_type: telegram_command event_data: command: /send condition: [] action: - service: telegram_bot.send_video data: file: /media/record2.mp4 keyboard: /start, /send inline_keyboard: /start, /send mode: single

0/0


0/0

0/0

0/0