def _get_device_id() -> str:
    """Get Raspberry Pi serial number"""
    with open("/proc/cpuinfo", "r") as f:
        for line in f.readlines():
            if line.startswith('Serial'):
                return line.split(':')[1].strip()
    return 'N/A'