"name": "Front Door", "url": "rtsp://username:password@192.168.1.100:554/stream", "snapshot_url": "http://192.168.1.100/snapshot.jpg", "enabled": True ,

# Record for specified duration start_time = asyncio.get_event_loop().time() frames_written = 0

async def start_command(self, update: Update, context: ContextTypes.DEFAULT_TYPE): """Handle /start command.""" await update.message.reply_text( "🎥 IP Camera Monitor Active!\n\n" "Available commands:\n" "/snapshot - Take a snapshot from all cameras\n" "/status - Check camera status\n" "/record - Start/stop recording\n" "/motion_on - Enable motion detection\n" "/motion_off - Disable motion detection\n" "/help - Show all commands" )