Frigate module for MajorDoMo

1. Copy files:
   - modules/frigate/* -> /modules/frigate/
   - templates/frigate/* -> /templates/frigate/
   - scripts/cycle_frigate.php -> /scripts/cycle_frigate.php
   - scripts/cycle_frigate_telegram.php -> /scripts/cycle_frigate_telegram.php
   - frigate_example.yml -> sample Frigate MQTT config

2. Telegram module optional:
   - if installed and token exists there, Frigate uses that token first
   - if Telegram module is missing or token is empty, paste token into Frigate settings

3. Install/open module frigate in MajorDoMo.

4. Fill settings:
   - Frigate base URL
   - Telegram bot token only if Telegram module is absent or empty
   - Enabled = 1
   - MQTT topic = frigate/events or frigate/events/# depending on your Frigate publish mode

5. In the Frigate module recipients section:
   - choose system users
   - enable needed recipients
   - verify Telegram chat_id for each recipient

6. Configure Frigate MQTT:
   mqtt:
     enabled: true
     host: MQTT_BROKER_IP
     port: 1883
     topic_prefix: frigate

7. Restart MajorDoMo cycles or click "Перезапустить циклы" in the Frigate module.

8. Check in the Frigate module:
   - MQTT cycle status = works
   - Telegram callback cycle status = works

Notes:
 - Module is designed for MajorDoMo cycles, no external bridge scripts are needed
 - Button callback format stays Callback_video--EVENT_ID
 - On button press module tries preview first, then clip.mp4
 - Настройки брокера читаются из установленного модуля MQTT MajorDoMo
 - Цикл `cycle_frigate.php` сам подписывается на broker и передаёт payload прямо в модуль
 - Цикл `cycle_frigate_telegram.php` сам опрашивает `getUpdates` и обрабатывает callback-кнопки
 - Telegram module is not used for sending messages or callback processing
