Porting HA on other OS

Hi, I am a beginner of HA, and looking into it.
My goal is to port HA on our product that is running on linux based OS.
Here are some questions to find out the start point.

[Background of the questions]
The target device already have its own bus system, Wi-fi interface stack, bluetooth interface stack, python, etc. And it is based on Linux.
But, the target device itself is not an IoT Hub device.
Also, the target devices are working on our membership system and software upgrade system.

[What I want to do]
I want to port HA to the target device. The purpose is, I want to use HA for the framework for connection to other IoT devices, adding IoT features to the target device.

[Questions]

  1. Porting
    Do I have to use docker and the full stack of HA?
    Or is there any way for me to port only HA Core(python layer) into the target device? If yes, where shall I start to look into?

  2. Membership and Back-end
    It is a commercialized product, including its own membership system and software upgrade system, etc. Where shall I start to look into in order for HA to run on our membership and software upgrade system?

Any comment and feedback will be appreciated.

Best regards,

It’s not clear what you want to “port”.
HA is a plain python 3.11 application. If you have python running on you device, there is no porting to do per se.

What can be tricky is the dependencies. You’ll have to have pip / pypi running on your device as well.

  1. Docker would be the easy, and recommended, way. Then you have nothing to port.

  2. If it can run Docker (on 64 bit Linux, Intel/AMD chip) then it can run HA.

1 Like