def calculate_moving_average(data_queue):
    """Calculates the moving average of a queue of (timestamp, value) pairs."""
    if not data_queue:
        return None

    total = sum(value for _, value in data_queue)
    return total / len(data_queue)
