User Tools

Site Tools


public:home_assistant

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
public:home_assistant [2024/12/11 10:19] – lukaspublic:home_assistant [2026/11/11 06:24] (current) – [Remote Console] lukas
Line 1: Line 1:
-====== Tenovice ====== +====== Remote Console ====== 
-https://www.hadex.cz/m447b-indikator-sitoveho-napeti-230v-ac-s-optoclenem/\\ +minicom can use it by connecting through a virtual serial port created with socat. On the computer where you’ll run minicom.\\
-https://www.hadex.cz/m378b-vyvojova-deska-arm-stm32f103c8t6/\\+
  
 +Prepareation:
 +<code>
 +sudo apt install socat minicom
 +mkdir -p ~/dev
 +</code>
  
 +Open Socket:
 +<code>
 +socat pty,link=$HOME/dev/ttyV0,rawer,echo=0,waitslave tcp:10.10.1.111:6638
 +</code>
  
 +Connect with minicom:
 +<code>
 +minicom -D ~/dev/ttyV0 -b 115200 -C serial_output01.log
 +</code>
 ====== Current_measurement ====== ====== Current_measurement ======
  
Line 12: Line 24:
 ====== Home Assistant on 32bit ====== ====== Home Assistant on 32bit ======
 https://community.home-assistant.io/t/hass-hassos-on-an-old-32-bit-laptop/400235\\ https://community.home-assistant.io/t/hass-hassos-on-an-old-32-bit-laptop/400235\\
 +https://blog.lesterpig.com/post/install-home-assistant-core-2025.12-on-armv7/\\
  
 ====== OPOP Integration ====== ====== OPOP Integration ======
Line 21: Line 34:
  
 https://www.root.cz/serialy/home-assistant-a-domaci-automatizace/ https://www.root.cz/serialy/home-assistant-a-domaci-automatizace/
 +
 +
 +====== Home Assistant on 32bit arm ======
 +
 +ghcr.io/home-assistant/qemuarm-homeassistant:2025.11
 +
 +====== Build Home Assistant on 32bit arm ======
 +[[public:home_assistant-docker-cache|Home Assistant Docker Cache]]\\
 +[[public:home_assistant-docker-no-cache|Home Assistant Docker No Cache]]\\
 +[[public:home_assistant-docker-beter-division|Home Assistant Docker Better Division]]\\
 +
 +[[public:home_assistant-docker-merge-last-armv7-image|Home Assistant Docker merge last armv7 image with actual one]]\\
 +
 +[[public:home_assistant-docker-builded-image|Home Assistant Docker builded image armv7]]\\
 +
 +
 +[[public:home_assistant-docker-build-wheels|Home Assistant Docker build wheels for armv7]]\\
 +
 +https://contributors.home-assistant.io/core/development/environment/#manual-setup\\
 +
 +==== 1. Zapněte podporu QEMU v Dockeru ====
 +
 +<code>
 +docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
 +</code>
 +
 +==== 2. Vytvořte čistý Buildx Builder (Doporučeno) ====
 +
 +<code>
 +# Odstranění starého builderu (pokud existuje)
 +docker buildx rm bpi-builder || true
 +
 +# Vytvoření a aktivace nového
 +docker buildx create --use --name bpi-builder
 +docker buildx inspect --bootstrap
 +</code>
 +
 +==== 3. Spusťte build znovu s parametrem platformy ====
 +
 +for non cache:
 +<code>
 +sudo docker buildx build --platform linux/arm/v7 --build-arg BUILD_FROM="ghcr.io/home-assistant/armv7-homeassistant-base:latest" --build-arg BUILD_ARCH="armhf" --file Dockerfile --no-cache -t local-qemuarm-homeassistant:latest .
 +</code>
 +
 +for cache:
 +<code>
 +mkdir -p .buildx-cache
 +
 +sudo docker buildx build --platform linux/arm/v7 --build-arg BUILD_FROM="ghcr.io/home-assistant/armv7-homeassistant-base:latest" --build-arg BUILD_ARCH="armhf" --file Dockerfile --cache-from type=local,src=.buildx-cache --cache-to type=local,dest=.buildx-cache,mode=max -t local-qemuarm-homeassistant:latest --load .
 +</code>
 +
 +
public/home_assistant.1733912388.txt.gz · Last modified: by lukas