Skip to content

Adds ARM64 (aarch64) architecture support

Choose a tag to compare

@soulripper13 soulripper13 released this 14 Dec 03:35
c0ed6a3

Release Notes / Примечания к релизу

English

What's New

This release adds ARM64 (aarch64) architecture support to the Speedtest RT.RU integration!

Changes

  • ARM64 Support: The integration now automatically detects your system architecture and downloads the appropriate QMS binary:
    • x86_64 systems: Downloads from https://lib.qms.ru/bin/linux/qms_lib.zip
    • ARM64/aarch64 systems: Downloads from https://lib.qms.ru/bin/linux_arm64/qms_lib.zip
  • Improved Platform Detection: Better architecture detection with support for both aarch64 and arm64 identifiers
  • Enhanced Error Messages: Clear error messages if running on unsupported architectures

Installation

  • For new installations, simply add the integration and it will automatically download the correct binary for your platform
  • For existing installations, the integration will automatically detect your architecture on next reload

Compatibility

  • x86_64 (Intel/AMD 64-bit) - Fully supported
  • ARM64/aarch64 (Raspberry Pi 4/5, ARM servers) - Fully supported
  • Home Assistant 2024.1+ required

Upgrade Instructions

  1. Update the integration via HACS or manually replace the files
  2. Restart Home Assistant
  3. The integration will automatically detect your platform and download the appropriate binary

Русский

Что нового

Этот релиз добавляет поддержку архитектуры ARM64 (aarch64) в интеграцию Speedtest RT.RU!

Изменения

  • Поддержка ARM64: Интеграция теперь автоматически определяет архитектуру вашей системы и загружает соответствующий бинарник QMS:
    • Системы x86_64: Загрузка с https://lib.qms.ru/bin/linux/qms_lib.zip
    • Системы ARM64/aarch64: Загрузка с https://lib.qms.ru/bin/linux_arm64/qms_lib.zip
  • Улучшенное определение платформы: Лучшее определение архитектуры с поддержкой идентификаторов aarch64 и arm64
  • Улучшенные сообщения об ошибках: Четкие сообщения об ошибках при работе на неподдерживаемых архитектурах

Установка

  • При новой установке просто добавьте интеграцию, и она автоматически загрузит правильный бинарник для вашей платформы
  • Для существующих установок интеграция автоматически определит вашу архитектуру при следующей перезагрузке

Совместимость

  • x86_64 (Intel/AMD 64-бит) - Полная поддержка
  • ARM64/aarch64 (Raspberry Pi 4/5, ARM серверы) - Полная поддержка
  • Требуется Home Assistant 2024.1+

Инструкции по обновлению

  1. Обновите интеграцию через HACS или вручную замените файлы
  2. Перезапустите Home Assistant
  3. Интеграция автоматически определит вашу платформу и загрузит соответствующий бинарник

Technical Details / Технические детали

Modified Files / Измененные файлы:

  • custom_components/speedtest_rt_ru/const.py - Added ARM64 binary URL constant
  • custom_components/speedtest_rt_ru/__init__.py - Added platform detection and binary selection logic

Architecture Detection / Определение архитектуры:

machine = platform.machine()
if machine == "x86_64":
    binary_url = BINARY_URL_X86
elif machine in ("aarch64", "arm64"):
    binary_url = BINARY_URL_ARM64