Home Assistant Companion for Android: The official Android app for Home Assistant (4.0k stars)
What it does
All text below is quoted directly from the project README.
>Home Assistant Companion for Android
Features:
- Control Your Smart Home: Seamlessly interact with your Home Assistant instance.
- Native Android Experience: Leverage Android-specific features like widgets, notifications, and location tracking.
- Customizable: Tailor the app to your needs with themes, dashboards, and more.
- Open Source: Contribute to a project that empowers users to take control of their smart homes.
>Download from the Play Store. Join the Play Store Beta to test new features early.
Repository
home-assistant/android
Repository stats
|Metric|Value|
|:-|:-|
|Stars|4,012|
|Forks|1.1k|
|Last release|2026.10.1 (2026-10-06)|
|Languages|Kotlin 99.6%, C++ 0.3%, CMake 0.1%|
|Contributors|201|
|AI contributor accounts (Claude / Codex / Cursor / Copilot)|@Copilot (15 commits), @Copilot (10 commits), @claude (6 commits)|
|AI co-authored commits|Claude: 6, Cursor: 1, Copilot: 26|
Main contributor
|Field|Value|
|:-|:-|
|Name|Timothy|
|GitHub|@TimoPtr|
|Commits to this repo|784 (top contributor)|
|Bio|Software engineer|
|Company / Location|Open Home Foundation / France|
|Followers|56|
──────────────────────────────
📌 If you want to browse more repos like this, we've organized them by category and rankings here: bestgithubrepositories.com
🗂️ We're also archiving repos where possible, so useful projects don't disappear when they're removed from GitHub.
2 points
Home Assistant's cloud drop is mostly one version check
---
title: "Home Assistant's cloud drop is mostly one version check"
published: true
description: "Home Assistant's analytics show installs leaning less on the cloud since 2021. Most of that is one retired update check, which on most installs still runs."
tags: "opensource, privacy, iot, homeassistant"
canonical_url: "blog.peng.ly"
cover_image: "blog.peng.ly"
ai_assisted: true
---
Home Assistant will tell you which integrations everyone else runs. About 565,000 installs share that through its opt-in analytics, and nearly every device and service integration says in its manifest whether it talks to a cloud or stays on your network (its IoT class). Put the two together and you can see how cloud-heavy the average install is.
Add up every integration in every install that shares, and in August 2021, 36% of them were cloud ones. Today it's 29%. Matter went from nothing to running in 41% of those installs over the same time. That looks a lot like local-first winning, so I went looking for where the drop came from.
!Share of installs running each integration
Share of installs running each integration (the data)
_Of the installs that share integrations with Home Assistant's analytics: 60,321 in August 2021
(from the [Wayback
Machine](web.archive.org))
and 565,267 on 27 October 2026._
It was the updater
More than two-thirds of the drop is one integration leaving the list, and on most installs the thing it did never stopped.
In 2021, 99% of installs had updater, which asked Home Assistant's servers once a day whether there was a new version. It was a cloud integration, and it came with default_config, so you had it whether you'd thought about it or not. It was deprecated in February 2022, dropped from default_config, and it's down to 0.2% now. Leave it out of 2021 and the cloud share then was 31%, not 36%.
Four in five installs run Home Assistant OS or Supervised, and there the Supervisor checks version.home-assistant.io itself. It did in 2021 as well, every two hours back then and once a day now. It isn't an integration, so the analytics never counted it. Plain container installs did go quiet. The one I ran today never asked, which also means nothing tells it when there's an update.
The cloud didn't go anywhere
The average install that shares ran 4.8 cloud integrations in 2021, and it runs 5.2 now. Local ones went from 8.4 to 12.9. The share fell because people added a lot more local stuff, not because they dropped cloud ones.
Tuya's the clearest case. Its integration goes through Tuya's cloud for everything, and it doubled from 15% of installs to 30% over the same years Matter turned up. People aren't swapping one for the other, they're running both.
Matter's 41% isn't all people choosing it, either. Since 2024.5, a new Home Assistant OS install that spots a Matter device on the network sets Matter up, add-on and all, before you've finished onboarding. Thread does the same when it sees a border router, like an Apple TV or a Nest hub.
Most of today's 565,000 installs didn't exist in 2021, so all of this is what installs looked like then against what they look like now, not the same people changing their minds.
The shopping list test
The shopping list shows how much a default does. It's a local integration nobody feels strongly about, and it sat at 5% of installs from 2021 to late 2022. Onboarding started adding it to new installs in 2023.9, and it's at 76% now. It also turned into a to-do list in 2023.11, so onboarding doesn't get all the credit, but nobody suddenly needed a shopping list.
Onboarding adds four things today (here's the list): the shopping list, met.no's weather, Radio Browser and Google Translate's text-to-speech. The last three are cloud, and between them they're half of every cloud integration in installs that share. Google Translate doesn't call anyone until you ask Home Assistant to say something out loud, so that's a bit unfair on it. The two that do call, met.no and Radio Browser, are still nearly a third.
What a new install calls
So I started a fresh Home Assistant 2026.10.4 in a container this afternoon, onboarded it with a home location and nothing else, and logged every DNS lookup and new connection it made (UTC):
16:07:46 container starts
16:08:48 alerts.home-assistant.io
16:08:59 onboarding finished
16:08:59 aa015h6buqvih86i1.api.met.no
16:09:00 de1.api.radio-browser.info
16:09:30 alerts.home-assistant.io
17:08:00 aa015h6buqvih86i1.api.met.no
The alerts feed is Home Assistant's own list of known problems with integrations. It's fetched every three hours, and again 30 seconds after any integration loads, which is the second one. Radio Browser asks for its stats every time Home Assistant starts, whether or not you ever play a station. Google Translate stayed quiet.
That odd met.no hostname isn't yours, it's everyone's. met.no made it for Home Assistant in 2017 after complaining about how much traffic HA sent, so they could keep an eye on it. What does come from you is your home's latitude and longitude rounded to four decimal places, about 11 metres, plus its altitude, and it's sent again every hour or so (mine came back after 59 minutes). met.no's the Norwegian Meteorological Institute, not an ad network, and the forecast's useful. It's still your house to 11 metres, every hour, from a box a lot of people bought to keep that sort of thing at home.
Keeping them on purpose
The four onboarding added are in Settings --> Devices & services. Delete Radio Browser if you don't listen to internet radio, and Google Translate if you don't use voice. The shopping list's local, so keep it or don't. The alerts feed comes with default_config, so you'd have to drop that and everything in it to lose it, and tbh it's the one I'd keep.
For met.no, open it, hit Configure and drag the pin to the middle of town, and the forecast for your high street is the same forecast. Do move it, though. Saving the form as it opens just pins it to your house.
iOS ⭐ 2.4k
An iOS app for Apple devices that lets you control smart home devices through Home Assistant.
🔗 home-assistant/iOS
#opensource t.co
1 like · 75 views
Home Assistant 2026.10: actualiza directamente a 2026.10.3 y revisa estas integraciones
> En breve: Sí, conviene actualizar, y lo razonable es saltar directamente a 2026.10.3. A fecha de 2026-10-24, según las notas de publicación consultadas, 2026.10.3 (publicada el 23 de octubre) figura como Latest.
Resumen
Sí, conviene actualizar, y lo razonable es saltar directamente a 2026.10.3. A fecha de 2026-10-24, según las notas de publicación consultadas, 2026.10.3 (publicada el 23 de octubre) figura como Latest. La rama salió el 7 de octubre con 2026.10.0, y después llegaron 2026.10.1 (10 de octubre), 2026.10.2 (16 de octubre) y 2026.10.3. Como los parches corrigen integraciones habituales en un homelab, no hay motivo para quedarse en 10.0 ni para instalar un parche intermedio.
Criterio de decisión: si usas MQTT, Modbus, KNX, FRITZ!Box, UniFi o Proxmox, los parches te afectan de forma directa. Si no usas ninguna, el cambio más visible para ti será el mapa.
Qué ha cambiado
Cambios de fondo de 2026.10.0
Mapa. El proveedor de mapas anterior empezó a exigir API key y rompió todos los mapas en 2026.9. Ahora se usan teselas vectoriales de OpenStreetMap servidas por la nueva integración Map tiles, que las obtiene y cachea a través de tu instancia, de modo que el navegador no contacta con servidores externos de teselas. Quien puede verse afectado son los dispositivos antiguos incapaces de renderizar mapas vectoriales, como una tablet de pared vieja: vuelven automáticamente al mapa clásico.
Trigger IDs. Ahora tienen interfaz: la condición «Triggered by» permite marcar triggers y Home Assistant gestiona los IDs. Tus IDs escritos a mano en YAML siguen funcionando igual, compartir ID entre triggers sigue permitido y Home Assistant no añade IDs a tu YAML. El campo de ID desaparece del editor. Por tanto, tus automatizaciones no deberían cambiar; lo único distinto es la edición desde la UI.
Modbus. Hay 15 integraciones nuevas, entre ellas SolarEdge Modbus (local por Modbus TCP, sin cuenta ni cloud) y KACO Modbus, además de un panel para conexiones Modbus. Si tienes un inversor solar, puede interesarte, pero no es un motivo para actualizar por sí solo.
Parches relevantes en un homelab
- 2026.10.1: trae un cambio marcado como breaking-change: se elimina el intervalo de sondeo configurable por el usuario en omnilogic. También restauró TLS sin verificar para fuentes de stream con la opción verify_ssl y omitió la verificación TLS en streams RTSPS de UniFi Protect.
- 2026.10.2: MQTT device triggers y tags ya no se disparan dos veces tras recargar; se arregló la validación de permisos de ProxmoxVE; FRITZ!Box Tools ignora dispositivos sin TR-064 en el descubrimiento SSDP y el setup de Fritz ya no falla si falta la clave NewEnable; se arregló la recarga de Modbus sin config YAML.
- 2026.10.3: correcciones en Proxmox VE (detección de versión de actualización), UniFi Access (eventos de acceso duplicados), Omada, SMTP (nuevo contexto SSL en lugar de uno compartido), Synology DSM, Home Connect, EnergyZero y KNX (se retiene el timeout de arranque mientras inicializa el almacén de telegramas). Incluye además Python 3.14.8.
Seguridad y privacidad
2026.10.2 revoca los refresh tokens al eliminar un usuario y oculta credenciales o datos identificativos en los diagnósticos de SFR Box, NRGkick, Teslemetry y Tesla Fleet. Si compartes diagnósticos para pedir ayuda, esto reduce el riesgo de filtrar datos, pero solo en esas integraciones.
Qué comprobar en tu homelab
1. Omnilogic: si lo usas y habías configurado un intervalo de sondeo propio, ese ajuste desaparece.
2. Streams de cámaras: si dependías de verify_ssl en fuentes de stream, o tienes UniFi Protect con RTSPS, revisa que sigan funcionando, porque 10.1 modificó el comportamiento de la verificación TLS. Que RTSPS de UniFi Protect omita la verificación es un matiz de seguridad a tener en cuenta si tu cámara está en una red que no controlas por completo.
3. MQTT, Modbus, KNX, FRITZ!Box, Proxmox: si en 10.0 notaste disparos duplicados, fallos al recargar, setups de Fritz que fallaban o permisos de Proxmox rechazados, estos son los síntomas que 10.2 y 10.3 corrigen.
4. UniFi Access: si registras eventos de acceso, los duplicados deberían desaparecer con 10.3.
5. SMTP: si envías notificaciones por correo, comprueba tras actualizar que siguen llegando, ya que ahora se crea un contexto SSL nuevo en lugar de compartido.
6. Dispositivos con pantalla: si tienes tablets antiguas mostrando mapas, espera el mapa clásico como alternativa automática.
7. Automatizaciones con triggers: no hace falta tocar nada si ya usas IDs en YAML.
Aviso de futuro
Home Assistant Cloud pasará a llamarse Home Assistant Link en la versión de diciembre; es solo un cambio de nombre anunciado.
Límites
Las notas disponibles no permiten confirmar la lista completa de cambios incompatibles de 2026.10.0, ni requisitos de instalación o problemas conocidos al actualizar. Tampoco hay compatibilidad documentada entre una versión concreta de Proxmox VE y la integración de Home Assistant.
¿Lo usas en tu homelab? Cuéntalo en los comentarios.
Fuentes
- Release 2026.10.0
- Release 2026.10.1
- Release 2026.10.2
- Release 2026.10.3
- 2026.10: You are here
Este artículo se ha elaborado con asistencia automatizada
1 reaction
Btw., es geht darum:
supervisor#7422
Release:
github.com/home-assistant/supervisor/releases/tag…
#HomeAssistant
Reduce API surface for BLAKE2 to match OpenSSL semantics
This is an updated version of the original post which reduces the scope of the work on BLAKE2.
I originally wanted to remove non-standard parameters to BLAKE2 to make the module more maintainable in the future as well as SIMD support, but I am planning to only remove SIMD support for now.
I still think it's wrong to use tree-hashing with BLAKE2 since BLAKE3 exists and should be used instead. Nonetheless, after looking at the deprecation PRs (gh-160374 and gh-160375) and the long period this would require to actually remove the code, I don't think it's really worth it. It would at least reduce the impact to downstream users almost to zero. Instead, I suggest that we soft-deprecate the interface for tree hashing in the docs and suggest BLAKE3 instead.
----
Original post:
I want to reduce BLAKE2 in hashlib to a minimal API matching OpenSSL. More precisely, BLAKE2 is kept without SIMD and matches the API of OpenSSL's BLAKE2 (digest, MAC): data and digest_size for the hash, and salt/person with a key. Tree hashing, salt/person without a key, and HMAC-BLAKE2 will be deprecated in 3.16 and removed in 3.21. If necessary, the deprecation period will be extended to a few more releases but I really want to get rid of the annoying API surface.
BLAKE2 is already a keyed hash function, it doesn't make sense to use HMAC on top of it, despite some libraries using the HMAC-BLAKE2 HACL* sources for that (see gh-138114).
In an ideal world, I would remove BLAKE2 and recommend BLAKE3 or SHA-based alternatives. Note that currently (and likely in the future), there are no plans to add BLAKE3 to hashlib (see gh-83479). For a fast secure hash, BLAKE3 is available as the blake3 package. It is maintained by the BLAKE3 authors, has a hashlib-like API, supports keyed hashing and key derivation, and has wheels for all major platforms.
Maintenance pain
BLAKE2 has been in hashlib since 3.6, first as a custom module with our own implementation, then as a wrapper around the vendored HACL* sources (support for HACL* HMAC was added in 3.14, together with support for BLAKE2 despite numerous shortcomings on some platforms).
BLAKE2 has the largest API in hashlib (key, salt, person and seven tree-hashing parameters). Most of its maintenance cost comes from the SIMD code: it needs per-platform compiler flags and CPU detection as well as dedicated code paths for the vectorized versions, is only enabled on (some) x86-64, and usually breaks on non-Tier-1 platforms:
- gh-123748: macOS universal2 builds failed (SIMD256 compiles for x86-64 but not ARM64);
- gh-124304: SIMD had to be disabled on older Android versions;
- gh-126458: SIMD support wrongly detected under WASI;
- gh-128134: missing aligned_alloc check on older macOS;
- gh-130213: older toolchains failed without the SIMD flags;
- gh-133042: duplicate symbols when cross-compiling for Emscripten (still unfixed);
- gh-138114: HMAC-BLAKE2 does not properly use the SIMD implementations (still unfixed).
The module also needed several correctness fixes (gh-152851, gh-155830, gh-155835).
Impact
GitHub code search (excluding forks, CPython copies and vendored site-packages) finds about 34,000 Python files using hashlib.blake2b, 4,800 using hashlib.blake2s, and 300 using hashlib.new("blake2b") or hashlib.new("blake2s").
62 of the 500 most-starred active Python repositories on GitHub use BLAKE2, e.g. PyTorch, Transformers, Home Assistant, Sentry, Streamlit, Gradio and Airflow.
Of 1,753 sampled call sites (1,420 repositories), 1,649 (1,336 repositories) only use digest_size, 59 (51 repositories) use key, and 45 (38 repositories) use salt or person without a key. None use tree hashing. Most of them only need a fast hash, for which SHA-2, SHA-3 or BLAKE3 also work. This includes:
- projects that store digests, such as Home Assistant (cache filenames), Mathesar (database identifiers) and Onyx (search-index IDs);
- projects that depend on the exact BLAKE2 output, such as networkx (graph hashes), LangChain (indexing), apprise and a minisign verifier (BLAKE2b-512 signatures), copyparty (client checksums);
- projects that use keyed BLAKE2 such as agno (MinHash) and openai-python (Bedrock helper); or
- projects such as PyPI or Poetry for checksums, Warehouse for storage and publishing (though it looks like a legacy API), or python-tuf.
One popular project affected by this change would be ComfyUI (which uses person without a key). In particular, I don't expect too much of downstream breakage (considering the long deprecation period) but I would appreciate if anyone against this proposal could explain why SIMD BLAKE2 should be kept (note that I already plan to remove SIMD support in 3.16 without a deprecation notice as it created too many issues, while exposing the OpenSSL implementation).
Note that projects can rely on nacl.hash.blake2b (PyNaCl does not offer a 2s version) or PyCryptodome for blake2b and blake2s. AFAIK, there is no PyPI packages providing the tree-hashing feature but the latter is neither standardized by an RFC nor used in the wild.
----
> AI disclosure: Opus 5.5 was used for collecting and classifying data.
4 likes · 1 comment
Smart home devices stuck in separate apps? 🏠
Home Assistant brings compatible devices and automations together. Set routines for lights and sensors. 💡
home-assistant/core
#SmartHome #浇朋友 #蓝朋友 #互关 #fo
35 views
家里的智能灯、插座分散在好几个 App?🏠
Home Assistant 把兼容设备接进一个自动化平台。定时开灯、联动传感器都能设置。💡
home-assistant/core
#SmartHome #浇朋友 #蓝朋友 #互关 #fo
48 views
Pi 3B 2台で家のサーバを回してきた — そろそろ限界、Pi 4/5 を買う前に稼働率を測る
先に結論
家の Pi のうち4台を1週間、5分ごとに測った。CPU はどれも余裕があり、足りないのはメモリだった
HAOS 用の Pi 3B は、メモリが平均75%・最大83%。時間帯による差がなく、常にこの水準にいる
買い替えの理由は「速くしたい」ではなく「メモリを増やしたい」だった。Pi 4 の 3GB か 4GB が候補
はじめに
サーバは、持つのをやめても意外と困らない。ただ、しばらくすると Linux を触りたくなる。
わが家のサーバは3世代目になる。第一世代は、自室に置いたタワー型の、文字どおりのサーバ機だった。第二世代は、ネット上のクラウドとレンタルサーバ。あるとき、もうサーバは要らないと思ってやめた。
それでもたまに Linux を触りたくなって、小さな Raspberry Pi をおもちゃにした。気がつくとおもちゃが増えて、いまは家に5台以上の Pi が転がっている。この記事は、そのうち実際にサーバとして働いている何台かの話だ。
前置き: 古い Pi 3B
サーバ役は Raspberry Pi 3B が2台。1台は自作の監視や通知のサービスをいくつも載せた処理用、もう1台は Home Assistant(HAOS)専用だ。ほかに表示用の Pi 3B が1台と、センサー用の Pi Zero W が1台ある。
Pi 3B は2016年2月の発売で、公式の製品ページによると、前の Pi 2 Model B の後継にあたる。最初に買った Pi は、3B ではなく 2B+ だったと記憶している。6千円ちょっとだった。最初の OS は Raspbian だった。Raspbian は 2020年に Raspberry Pi OS へ改名された(Wikipedia)。
そこから Pi が増えて、いまサーバ役を担っているのが Pi 3B だ。この Pi 3B で、数年のあいだ家のサーバを回してきた。不満が出てきたのは最近だ。ただ、遅いのか、足りないのか、気分で決めたくない。買い替える前に測るのが性分なので、今回も測ってから決めることにした。
Pi 3B と Pi 4・5
比較の物差しとして、公式の製品ページ(3B・4B・5)から主な仕様を並べる。
Pi 3B
Pi 4B
Pi 5
CPU
4コア 1.2GHz(BCM2837)
4コア 1.8GHz(BCM2711)
4コア 2.4GHz(BCM2712)
メモリ
1GB
1/2/3/4/8GB
1/2/4/8/16GB
有線 LAN
100Mbps
1Gbps
1Gbps
USB
2.0 ×4
3.0 ×2 + 2.0 ×2
3.0 ×2 + 2.0 ×2
電源
microUSB(2.1〜2.5A)
USB-C 5V 3A
USB-C 5V 5A
CPU の差は大きい。ただ、サーバとして常時動かすときに効くのが CPU なのかは、測らないと分からない。
測り方
自作の LAN 監視ツールが、5分ごとに各 Pi の様子を取っている。
SSH でつなげる Pi からは、/proc/loadavg・free・df・vcgencmd measure_temp を取る
CPU は、5分間のロードアベレージをコア数で割って100倍した値にしている。厳密な使用率ではなく、目安だ
HAOS は SSH の鍵運用ができないので、Home Assistant の API(System Monitor)から同じ形になるよう取っている
期間は直近の7日間(10月14日〜21日)で、1台あたり約1,950回。下の表は、30分ごとの平均にした336点から出した値だ。つまり「最大」は、30分の平均の最大にあたる。5分より短い山は、ここには出てこない。
結果
役目
CPU 平均 / 最大
メモリ 平均 / 最大
温度 平均 / 最大
処理用(Pi 3B)
3% / 21%
53% / 65%
59℃ / 65℃
HAOS 用(Pi 3B)
14% / 41%
75% / 83%
68℃ / 73℃
表示用(Pi 3B)
15% / 35%
48% / 61%
55℃ / 64℃
センサー用(Pi Zero W)
27% / 60%*
24% / 26%
44℃ / 47℃
- 最大は再起動の直後。ふだんは30%前後
思ったよりも、どの Pi も CPU は低い。いちばん働いている処理用でも平均3%だった。HAOS 用の14%も、4コアに対するロードアベレージとしては静かな部類だと思う。
目立つのは、HAOS 用のメモリだ。
平均75%、最大83%。7日間で66%を下回った区間はない
時間帯ごとに平均を取っても、74〜75%で平らだった。夜だけ、朝だけ、という山がない
自作ツールの警告線(80%)を、7日で4回またいだ
つまり、一時的に増えているのではなく、常にこの水準にいる。1GB の Pi 3B には、Home Assistant 本体とアドオンだけで余裕がない、という理解でいる。
気になること
HAOS 用だけ、取得に失敗した区間がある。7日間で19区間(30分単位)だった。うち10月16日朝の2区間は、監視している側の処理用 Pi 自身が再起動した時間の前後にあたる。残りの17区間は原因を切り分けていない。
体感では、HAOS が再起動を繰り返しているように見える。メモリ不足が原因ではないかと疑っていたが、ここは推測にとどまる。HAOS 側のログを見て確かめてから書き足したい。
温度と再起動の関係を調べた
「温度と再起動に関係があるのでは」というコメントをもらったので、同じ監視データで調べた。公開前に取り直した直近7日(10月13日〜20日)では、HAOS 用の失敗区間は21(30分単位)だった。表の期間とは少しずれる。
失敗の直前: 温度は平均67.9℃で、ふだんの平均67.5℃とほぼ同じ。メモリも平均73.9%で、ふだんの74.5%と同じ。80%の警告線にも届いていなかった
失敗の直後: 最初に取れた値で、メモリが62〜64%に下がり、CPU が約30〜43%、温度が72〜76℃に上がる例があった。再起動した直後の動きに見える。温度は再起動の原因ではなく、結果に見える
HAOS 用の最高温度: 7日間で72.8℃。監視の警告線(80℃)には届かなかった
処理用の83.3℃(10月15日朝)も、再起動とは結びつかなかった。その前後は CPU が30分平均で17〜21%と、ふだんの3%前後より高く、処理の負荷が重なった瞬間だったと考えている(推測)。次の再起動は約24時間後の10月16日朝で、そのときの温度は58℃だった。
気になるのは、その朝のことだ。処理用の再起動の約6分後に、表示用の Pi も再起動している。表示用には低電圧の記録が残っている。2台が続けて落ちているので、温度ではなく、電源まわりの共通の原因を疑っている。こちらも未確認だ。
つまり、温度は再起動の原因には見えない。HAOS の再起動も、直前のメモリはふだんと同じで、メモリ不足とは言い切れなくなった。原因の候補は、HAOS 側のログと電源まわりの両方に残っている。
限界はどこか
測る前は「そろそろ限界」を、CPU が遅いからだと思っていた。実際には、CPU はほとんど使っていない。足りないのはメモリで、しかも HAOS 用の1台だけだ。
だとすると、買い替えの理由は「速い Pi 5 にしたい」ではなく「メモリを増やしたい」になる。候補は Pi 4 の 3GB か 4GB だ。Pi 5 の CPU は、いまのところ使い道がない。
皮肉なのは、そのメモリが値上がりしていることだ。Raspberry Pi は、メモリの価格が2年で大きく上がったとして、10月1日に 2GB の Pi 4 と Pi 5 を12.5ドル値上げした(公式ブログ「Price increases for 2GB Raspberry Pi 4 and Raspberry Pi 5」、ニュース一覧)。4月の値上げでは、1GB と 2GB を据え置いて、容量の大きいモデルを上げていた。同じ記事は、低価格で済む用途には 3B のような古いモデルを勧めている。
もう1つ、OS 側にも期限がある。Home Assistant OS は 17.0 で、32bit の Pi 3 向け(rpi3)の更新をやめた(リリースノート)。わが家の HAOS は uname -m が aarch64 の64bit版だったので、この件で更新が止まる心配はなかった。
おわりに
測ってみて、買い替えの理由が変わった。遅いから買う、のではなく、メモリが足りないから買う。残りの Pi 3B は、まだ働ける。
まだ1週間分しかない。買う前にやることが4つある。電源は、買い換える前に疑っておく順番だと思う。
HAOS のアドオンを少し削って、メモリが下がるかを同じ物差しで測り直す
Pi の置き場所の風通しを見直して、温度の山が変わるかを見る
電源まわり(アダプタの容量・ケーブル・低電圧の記録)を調べる。Pi 3B の電源は microUSB で、公式は 2.1A を目安にしている。電源が弱いだけなら、買い替えなしで直るかもしれない
HAOS 側のログを調べて、再起動の原因を確かめる
Pi 4 に移したら、同じ物差しで測り直して並べるつもりだ。
CPU の出し方(ロードアベレージ÷コア数)や、HAOS のメモリの見方に間違いがあれば、コメントで教えてもらえると助かる。確かめてから記事に追記する。
I never authorized an integration that scans my secrets home-assistant.io#49314 (news.ycombinator.com)
Mentions
Home Assistant Companion for Android: The official Android app for Home Assistant (4.0k stars) What it does All text below is quoted directly from the project README. >Home Assistant Companion for Android Features: - Control Your Smart Home: Seamlessly interact with your Home Assistant instance. - Native Android Experience: Leverage Android-specific features like widgets, notifications, and location tracking. - Customizable: Tailor the app to your needs with themes, dashboards, and more. - Open Source: Contribute to a project that empowers users to take control of their smart homes. >Download from the Play Store. Join the Play Store Beta to test new features early. Repository home-assistant/android Repository stats |Metric|Value| |:-|:-| |Stars|4,012| |Forks|1.1k| |Last release|2026.10.1 (2026-10-06)| |Languages|Kotlin 99.6%, C++ 0.3%, CMake 0.1%| |Contributors|201| |AI contributor accounts (Claude / Codex / Cursor / Copilot)|@Copilot (15 commits), @Copilot (10 commits), @claude (6 commits)| |AI co-authored commits|Claude: 6, Cursor: 1, Copilot: 26| Main contributor |Field|Value| |:-|:-| |Name|Timothy| |GitHub|@TimoPtr| |Commits to this repo|784 (top contributor)| |Bio|Software engineer| |Company / Location|Open Home Foundation / France| |Followers|56| ────────────────────────────── 📌 If you want to browse more repos like this, we've organized them by category and rankings here: bestgithubrepositories.com 🗂️ We're also archiving repos where possible, so useful projects don't disappear when they're removed from GitHub.
Home Assistant's cloud drop is mostly one version check --- title: "Home Assistant's cloud drop is mostly one version check" published: true description: "Home Assistant's analytics show installs leaning less on the cloud since 2021. Most of that is one retired update check, which on most installs still runs." tags: "opensource, privacy, iot, homeassistant" canonical_url: "blog.peng.ly" cover_image: "blog.peng.ly" ai_assisted: true --- Home Assistant will tell you which integrations everyone else runs. About 565,000 installs share that through its opt-in analytics, and nearly every device and service integration says in its manifest whether it talks to a cloud or stays on your network (its IoT class). Put the two together and you can see how cloud-heavy the average install is. Add up every integration in every install that shares, and in August 2021, 36% of them were cloud ones. Today it's 29%. Matter went from nothing to running in 41% of those installs over the same time. That looks a lot like local-first winning, so I went looking for where the drop came from. !Share of installs running each integration Share of installs running each integration (the data) _Of the installs that share integrations with Home Assistant's analytics: 60,321 in August 2021 (from the [Wayback Machine](web.archive.org)) and 565,267 on 27 October 2026._ It was the updater More than two-thirds of the drop is one integration leaving the list, and on most installs the thing it did never stopped. In 2021, 99% of installs had updater, which asked Home Assistant's servers once a day whether there was a new version. It was a cloud integration, and it came with default_config, so you had it whether you'd thought about it or not. It was deprecated in February 2022, dropped from default_config, and it's down to 0.2% now. Leave it out of 2021 and the cloud share then was 31%, not 36%. Four in five installs run Home Assistant OS or Supervised, and there the Supervisor checks version.home-assistant.io itself. It did in 2021 as well, every two hours back then and once a day now. It isn't an integration, so the analytics never counted it. Plain container installs did go quiet. The one I ran today never asked, which also means nothing tells it when there's an update. The cloud didn't go anywhere The average install that shares ran 4.8 cloud integrations in 2021, and it runs 5.2 now. Local ones went from 8.4 to 12.9. The share fell because people added a lot more local stuff, not because they dropped cloud ones. Tuya's the clearest case. Its integration goes through Tuya's cloud for everything, and it doubled from 15% of installs to 30% over the same years Matter turned up. People aren't swapping one for the other, they're running both. Matter's 41% isn't all people choosing it, either. Since 2024.5, a new Home Assistant OS install that spots a Matter device on the network sets Matter up, add-on and all, before you've finished onboarding. Thread does the same when it sees a border router, like an Apple TV or a Nest hub. Most of today's 565,000 installs didn't exist in 2021, so all of this is what installs looked like then against what they look like now, not the same people changing their minds. The shopping list test The shopping list shows how much a default does. It's a local integration nobody feels strongly about, and it sat at 5% of installs from 2021 to late 2022. Onboarding started adding it to new installs in 2023.9, and it's at 76% now. It also turned into a to-do list in 2023.11, so onboarding doesn't get all the credit, but nobody suddenly needed a shopping list. Onboarding adds four things today (here's the list): the shopping list, met.no's weather, Radio Browser and Google Translate's text-to-speech. The last three are cloud, and between them they're half of every cloud integration in installs that share. Google Translate doesn't call anyone until you ask Home Assistant to say something out loud, so that's a bit unfair on it. The two that do call, met.no and Radio Browser, are still nearly a third. What a new install calls So I started a fresh Home Assistant 2026.10.4 in a container this afternoon, onboarded it with a home location and nothing else, and logged every DNS lookup and new connection it made (UTC): 16:07:46 container starts 16:08:48 alerts.home-assistant.io 16:08:59 onboarding finished 16:08:59 aa015h6buqvih86i1.api.met.no 16:09:00 de1.api.radio-browser.info 16:09:30 alerts.home-assistant.io 17:08:00 aa015h6buqvih86i1.api.met.no The alerts feed is Home Assistant's own list of known problems with integrations. It's fetched every three hours, and again 30 seconds after any integration loads, which is the second one. Radio Browser asks for its stats every time Home Assistant starts, whether or not you ever play a station. Google Translate stayed quiet. That odd met.no hostname isn't yours, it's everyone's. met.no made it for Home Assistant in 2017 after complaining about how much traffic HA sent, so they could keep an eye on it. What does come from you is your home's latitude and longitude rounded to four decimal places, about 11 metres, plus its altitude, and it's sent again every hour or so (mine came back after 59 minutes). met.no's the Norwegian Meteorological Institute, not an ad network, and the forecast's useful. It's still your house to 11 metres, every hour, from a box a lot of people bought to keep that sort of thing at home. Keeping them on purpose The four onboarding added are in Settings --> Devices & services. Delete Radio Browser if you don't listen to internet radio, and Google Translate if you don't use voice. The shopping list's local, so keep it or don't. The alerts feed comes with default_config, so you'd have to drop that and everything in it to lose it, and tbh it's the one I'd keep. For met.no, open it, hit Configure and drag the pin to the middle of town, and the forecast for your high street is the same forecast. Do move it, though. Saving the form as it opens just pins it to your house.
iOS ⭐ 2.4k An iOS app for Apple devices that lets you control smart home devices through Home Assistant. 🔗 home-assistant/iOS #opensource t.co
Home Assistant 2026.10: actualiza directamente a 2026.10.3 y revisa estas integraciones > En breve: Sí, conviene actualizar, y lo razonable es saltar directamente a 2026.10.3. A fecha de 2026-10-24, según las notas de publicación consultadas, 2026.10.3 (publicada el 23 de octubre) figura como Latest. Resumen Sí, conviene actualizar, y lo razonable es saltar directamente a 2026.10.3. A fecha de 2026-10-24, según las notas de publicación consultadas, 2026.10.3 (publicada el 23 de octubre) figura como Latest. La rama salió el 7 de octubre con 2026.10.0, y después llegaron 2026.10.1 (10 de octubre), 2026.10.2 (16 de octubre) y 2026.10.3. Como los parches corrigen integraciones habituales en un homelab, no hay motivo para quedarse en 10.0 ni para instalar un parche intermedio. Criterio de decisión: si usas MQTT, Modbus, KNX, FRITZ!Box, UniFi o Proxmox, los parches te afectan de forma directa. Si no usas ninguna, el cambio más visible para ti será el mapa. Qué ha cambiado Cambios de fondo de 2026.10.0 Mapa. El proveedor de mapas anterior empezó a exigir API key y rompió todos los mapas en 2026.9. Ahora se usan teselas vectoriales de OpenStreetMap servidas por la nueva integración Map tiles, que las obtiene y cachea a través de tu instancia, de modo que el navegador no contacta con servidores externos de teselas. Quien puede verse afectado son los dispositivos antiguos incapaces de renderizar mapas vectoriales, como una tablet de pared vieja: vuelven automáticamente al mapa clásico. Trigger IDs. Ahora tienen interfaz: la condición «Triggered by» permite marcar triggers y Home Assistant gestiona los IDs. Tus IDs escritos a mano en YAML siguen funcionando igual, compartir ID entre triggers sigue permitido y Home Assistant no añade IDs a tu YAML. El campo de ID desaparece del editor. Por tanto, tus automatizaciones no deberían cambiar; lo único distinto es la edición desde la UI. Modbus. Hay 15 integraciones nuevas, entre ellas SolarEdge Modbus (local por Modbus TCP, sin cuenta ni cloud) y KACO Modbus, además de un panel para conexiones Modbus. Si tienes un inversor solar, puede interesarte, pero no es un motivo para actualizar por sí solo. Parches relevantes en un homelab - 2026.10.1: trae un cambio marcado como breaking-change: se elimina el intervalo de sondeo configurable por el usuario en omnilogic. También restauró TLS sin verificar para fuentes de stream con la opción verify_ssl y omitió la verificación TLS en streams RTSPS de UniFi Protect. - 2026.10.2: MQTT device triggers y tags ya no se disparan dos veces tras recargar; se arregló la validación de permisos de ProxmoxVE; FRITZ!Box Tools ignora dispositivos sin TR-064 en el descubrimiento SSDP y el setup de Fritz ya no falla si falta la clave NewEnable; se arregló la recarga de Modbus sin config YAML. - 2026.10.3: correcciones en Proxmox VE (detección de versión de actualización), UniFi Access (eventos de acceso duplicados), Omada, SMTP (nuevo contexto SSL en lugar de uno compartido), Synology DSM, Home Connect, EnergyZero y KNX (se retiene el timeout de arranque mientras inicializa el almacén de telegramas). Incluye además Python 3.14.8. Seguridad y privacidad 2026.10.2 revoca los refresh tokens al eliminar un usuario y oculta credenciales o datos identificativos en los diagnósticos de SFR Box, NRGkick, Teslemetry y Tesla Fleet. Si compartes diagnósticos para pedir ayuda, esto reduce el riesgo de filtrar datos, pero solo en esas integraciones. Qué comprobar en tu homelab 1. Omnilogic: si lo usas y habías configurado un intervalo de sondeo propio, ese ajuste desaparece. 2. Streams de cámaras: si dependías de verify_ssl en fuentes de stream, o tienes UniFi Protect con RTSPS, revisa que sigan funcionando, porque 10.1 modificó el comportamiento de la verificación TLS. Que RTSPS de UniFi Protect omita la verificación es un matiz de seguridad a tener en cuenta si tu cámara está en una red que no controlas por completo. 3. MQTT, Modbus, KNX, FRITZ!Box, Proxmox: si en 10.0 notaste disparos duplicados, fallos al recargar, setups de Fritz que fallaban o permisos de Proxmox rechazados, estos son los síntomas que 10.2 y 10.3 corrigen. 4. UniFi Access: si registras eventos de acceso, los duplicados deberían desaparecer con 10.3. 5. SMTP: si envías notificaciones por correo, comprueba tras actualizar que siguen llegando, ya que ahora se crea un contexto SSL nuevo en lugar de compartido. 6. Dispositivos con pantalla: si tienes tablets antiguas mostrando mapas, espera el mapa clásico como alternativa automática. 7. Automatizaciones con triggers: no hace falta tocar nada si ya usas IDs en YAML. Aviso de futuro Home Assistant Cloud pasará a llamarse Home Assistant Link en la versión de diciembre; es solo un cambio de nombre anunciado. Límites Las notas disponibles no permiten confirmar la lista completa de cambios incompatibles de 2026.10.0, ni requisitos de instalación o problemas conocidos al actualizar. Tampoco hay compatibilidad documentada entre una versión concreta de Proxmox VE y la integración de Home Assistant. ¿Lo usas en tu homelab? Cuéntalo en los comentarios. Fuentes - Release 2026.10.0 - Release 2026.10.1 - Release 2026.10.2 - Release 2026.10.3 - 2026.10: You are here Este artículo se ha elaborado con asistencia automatizada
Btw., es geht darum: supervisor#7422 Release: github.com/home-assistant/supervisor/releases/tag… #HomeAssistant
Reduce API surface for BLAKE2 to match OpenSSL semantics This is an updated version of the original post which reduces the scope of the work on BLAKE2. I originally wanted to remove non-standard parameters to BLAKE2 to make the module more maintainable in the future as well as SIMD support, but I am planning to only remove SIMD support for now. I still think it's wrong to use tree-hashing with BLAKE2 since BLAKE3 exists and should be used instead. Nonetheless, after looking at the deprecation PRs (gh-160374 and gh-160375) and the long period this would require to actually remove the code, I don't think it's really worth it. It would at least reduce the impact to downstream users almost to zero. Instead, I suggest that we soft-deprecate the interface for tree hashing in the docs and suggest BLAKE3 instead. ---- Original post: I want to reduce BLAKE2 in hashlib to a minimal API matching OpenSSL. More precisely, BLAKE2 is kept without SIMD and matches the API of OpenSSL's BLAKE2 (digest, MAC): data and digest_size for the hash, and salt/person with a key. Tree hashing, salt/person without a key, and HMAC-BLAKE2 will be deprecated in 3.16 and removed in 3.21. If necessary, the deprecation period will be extended to a few more releases but I really want to get rid of the annoying API surface. BLAKE2 is already a keyed hash function, it doesn't make sense to use HMAC on top of it, despite some libraries using the HMAC-BLAKE2 HACL* sources for that (see gh-138114). In an ideal world, I would remove BLAKE2 and recommend BLAKE3 or SHA-based alternatives. Note that currently (and likely in the future), there are no plans to add BLAKE3 to hashlib (see gh-83479). For a fast secure hash, BLAKE3 is available as the blake3 package. It is maintained by the BLAKE3 authors, has a hashlib-like API, supports keyed hashing and key derivation, and has wheels for all major platforms. Maintenance pain BLAKE2 has been in hashlib since 3.6, first as a custom module with our own implementation, then as a wrapper around the vendored HACL* sources (support for HACL* HMAC was added in 3.14, together with support for BLAKE2 despite numerous shortcomings on some platforms). BLAKE2 has the largest API in hashlib (key, salt, person and seven tree-hashing parameters). Most of its maintenance cost comes from the SIMD code: it needs per-platform compiler flags and CPU detection as well as dedicated code paths for the vectorized versions, is only enabled on (some) x86-64, and usually breaks on non-Tier-1 platforms: - gh-123748: macOS universal2 builds failed (SIMD256 compiles for x86-64 but not ARM64); - gh-124304: SIMD had to be disabled on older Android versions; - gh-126458: SIMD support wrongly detected under WASI; - gh-128134: missing aligned_alloc check on older macOS; - gh-130213: older toolchains failed without the SIMD flags; - gh-133042: duplicate symbols when cross-compiling for Emscripten (still unfixed); - gh-138114: HMAC-BLAKE2 does not properly use the SIMD implementations (still unfixed). The module also needed several correctness fixes (gh-152851, gh-155830, gh-155835). Impact GitHub code search (excluding forks, CPython copies and vendored site-packages) finds about 34,000 Python files using hashlib.blake2b, 4,800 using hashlib.blake2s, and 300 using hashlib.new("blake2b") or hashlib.new("blake2s"). 62 of the 500 most-starred active Python repositories on GitHub use BLAKE2, e.g. PyTorch, Transformers, Home Assistant, Sentry, Streamlit, Gradio and Airflow. Of 1,753 sampled call sites (1,420 repositories), 1,649 (1,336 repositories) only use digest_size, 59 (51 repositories) use key, and 45 (38 repositories) use salt or person without a key. None use tree hashing. Most of them only need a fast hash, for which SHA-2, SHA-3 or BLAKE3 also work. This includes: - projects that store digests, such as Home Assistant (cache filenames), Mathesar (database identifiers) and Onyx (search-index IDs); - projects that depend on the exact BLAKE2 output, such as networkx (graph hashes), LangChain (indexing), apprise and a minisign verifier (BLAKE2b-512 signatures), copyparty (client checksums); - projects that use keyed BLAKE2 such as agno (MinHash) and openai-python (Bedrock helper); or - projects such as PyPI or Poetry for checksums, Warehouse for storage and publishing (though it looks like a legacy API), or python-tuf. One popular project affected by this change would be ComfyUI (which uses person without a key). In particular, I don't expect too much of downstream breakage (considering the long deprecation period) but I would appreciate if anyone against this proposal could explain why SIMD BLAKE2 should be kept (note that I already plan to remove SIMD support in 3.16 without a deprecation notice as it created too many issues, while exposing the OpenSSL implementation). Note that projects can rely on nacl.hash.blake2b (PyNaCl does not offer a 2s version) or PyCryptodome for blake2b and blake2s. AFAIK, there is no PyPI packages providing the tree-hashing feature but the latter is neither standardized by an RFC nor used in the wild. ---- > AI disclosure: Opus 5.5 was used for collecting and classifying data.
Smart home devices stuck in separate apps? 🏠 Home Assistant brings compatible devices and automations together. Set routines for lights and sensors. 💡 home-assistant/core #SmartHome #浇朋友 #蓝朋友 #互关 #fo
家里的智能灯、插座分散在好几个 App?🏠 Home Assistant 把兼容设备接进一个自动化平台。定时开灯、联动传感器都能设置。💡 home-assistant/core #SmartHome #浇朋友 #蓝朋友 #互关 #fo
Pi 3B 2台で家のサーバを回してきた — そろそろ限界、Pi 4/5 を買う前に稼働率を測る 先に結論 家の Pi のうち4台を1週間、5分ごとに測った。CPU はどれも余裕があり、足りないのはメモリだった HAOS 用の Pi 3B は、メモリが平均75%・最大83%。時間帯による差がなく、常にこの水準にいる 買い替えの理由は「速くしたい」ではなく「メモリを増やしたい」だった。Pi 4 の 3GB か 4GB が候補 はじめに サーバは、持つのをやめても意外と困らない。ただ、しばらくすると Linux を触りたくなる。 わが家のサーバは3世代目になる。第一世代は、自室に置いたタワー型の、文字どおりのサーバ機だった。第二世代は、ネット上のクラウドとレンタルサーバ。あるとき、もうサーバは要らないと思ってやめた。 それでもたまに Linux を触りたくなって、小さな Raspberry Pi をおもちゃにした。気がつくとおもちゃが増えて、いまは家に5台以上の Pi が転がっている。この記事は、そのうち実際にサーバとして働いている何台かの話だ。 前置き: 古い Pi 3B サーバ役は Raspberry Pi 3B が2台。1台は自作の監視や通知のサービスをいくつも載せた処理用、もう1台は Home Assistant(HAOS)専用だ。ほかに表示用の Pi 3B が1台と、センサー用の Pi Zero W が1台ある。 Pi 3B は2016年2月の発売で、公式の製品ページによると、前の Pi 2 Model B の後継にあたる。最初に買った Pi は、3B ではなく 2B+ だったと記憶している。6千円ちょっとだった。最初の OS は Raspbian だった。Raspbian は 2020年に Raspberry Pi OS へ改名された(Wikipedia)。 そこから Pi が増えて、いまサーバ役を担っているのが Pi 3B だ。この Pi 3B で、数年のあいだ家のサーバを回してきた。不満が出てきたのは最近だ。ただ、遅いのか、足りないのか、気分で決めたくない。買い替える前に測るのが性分なので、今回も測ってから決めることにした。 Pi 3B と Pi 4・5 比較の物差しとして、公式の製品ページ(3B・4B・5)から主な仕様を並べる。 Pi 3B Pi 4B Pi 5 CPU 4コア 1.2GHz(BCM2837) 4コア 1.8GHz(BCM2711) 4コア 2.4GHz(BCM2712) メモリ 1GB 1/2/3/4/8GB 1/2/4/8/16GB 有線 LAN 100Mbps 1Gbps 1Gbps USB 2.0 ×4 3.0 ×2 + 2.0 ×2 3.0 ×2 + 2.0 ×2 電源 microUSB(2.1〜2.5A) USB-C 5V 3A USB-C 5V 5A CPU の差は大きい。ただ、サーバとして常時動かすときに効くのが CPU なのかは、測らないと分からない。 測り方 自作の LAN 監視ツールが、5分ごとに各 Pi の様子を取っている。 SSH でつなげる Pi からは、/proc/loadavg・free・df・vcgencmd measure_temp を取る CPU は、5分間のロードアベレージをコア数で割って100倍した値にしている。厳密な使用率ではなく、目安だ HAOS は SSH の鍵運用ができないので、Home Assistant の API(System Monitor)から同じ形になるよう取っている 期間は直近の7日間(10月14日〜21日)で、1台あたり約1,950回。下の表は、30分ごとの平均にした336点から出した値だ。つまり「最大」は、30分の平均の最大にあたる。5分より短い山は、ここには出てこない。 結果 役目 CPU 平均 / 最大 メモリ 平均 / 最大 温度 平均 / 最大 処理用(Pi 3B) 3% / 21% 53% / 65% 59℃ / 65℃ HAOS 用(Pi 3B) 14% / 41% 75% / 83% 68℃ / 73℃ 表示用(Pi 3B) 15% / 35% 48% / 61% 55℃ / 64℃ センサー用(Pi Zero W) 27% / 60%* 24% / 26% 44℃ / 47℃ - 最大は再起動の直後。ふだんは30%前後 思ったよりも、どの Pi も CPU は低い。いちばん働いている処理用でも平均3%だった。HAOS 用の14%も、4コアに対するロードアベレージとしては静かな部類だと思う。 目立つのは、HAOS 用のメモリだ。 平均75%、最大83%。7日間で66%を下回った区間はない 時間帯ごとに平均を取っても、74〜75%で平らだった。夜だけ、朝だけ、という山がない 自作ツールの警告線(80%)を、7日で4回またいだ つまり、一時的に増えているのではなく、常にこの水準にいる。1GB の Pi 3B には、Home Assistant 本体とアドオンだけで余裕がない、という理解でいる。 気になること HAOS 用だけ、取得に失敗した区間がある。7日間で19区間(30分単位)だった。うち10月16日朝の2区間は、監視している側の処理用 Pi 自身が再起動した時間の前後にあたる。残りの17区間は原因を切り分けていない。 体感では、HAOS が再起動を繰り返しているように見える。メモリ不足が原因ではないかと疑っていたが、ここは推測にとどまる。HAOS 側のログを見て確かめてから書き足したい。 温度と再起動の関係を調べた 「温度と再起動に関係があるのでは」というコメントをもらったので、同じ監視データで調べた。公開前に取り直した直近7日(10月13日〜20日)では、HAOS 用の失敗区間は21(30分単位)だった。表の期間とは少しずれる。 失敗の直前: 温度は平均67.9℃で、ふだんの平均67.5℃とほぼ同じ。メモリも平均73.9%で、ふだんの74.5%と同じ。80%の警告線にも届いていなかった 失敗の直後: 最初に取れた値で、メモリが62〜64%に下がり、CPU が約30〜43%、温度が72〜76℃に上がる例があった。再起動した直後の動きに見える。温度は再起動の原因ではなく、結果に見える HAOS 用の最高温度: 7日間で72.8℃。監視の警告線(80℃)には届かなかった 処理用の83.3℃(10月15日朝)も、再起動とは結びつかなかった。その前後は CPU が30分平均で17〜21%と、ふだんの3%前後より高く、処理の負荷が重なった瞬間だったと考えている(推測)。次の再起動は約24時間後の10月16日朝で、そのときの温度は58℃だった。 気になるのは、その朝のことだ。処理用の再起動の約6分後に、表示用の Pi も再起動している。表示用には低電圧の記録が残っている。2台が続けて落ちているので、温度ではなく、電源まわりの共通の原因を疑っている。こちらも未確認だ。 つまり、温度は再起動の原因には見えない。HAOS の再起動も、直前のメモリはふだんと同じで、メモリ不足とは言い切れなくなった。原因の候補は、HAOS 側のログと電源まわりの両方に残っている。 限界はどこか 測る前は「そろそろ限界」を、CPU が遅いからだと思っていた。実際には、CPU はほとんど使っていない。足りないのはメモリで、しかも HAOS 用の1台だけだ。 だとすると、買い替えの理由は「速い Pi 5 にしたい」ではなく「メモリを増やしたい」になる。候補は Pi 4 の 3GB か 4GB だ。Pi 5 の CPU は、いまのところ使い道がない。 皮肉なのは、そのメモリが値上がりしていることだ。Raspberry Pi は、メモリの価格が2年で大きく上がったとして、10月1日に 2GB の Pi 4 と Pi 5 を12.5ドル値上げした(公式ブログ「Price increases for 2GB Raspberry Pi 4 and Raspberry Pi 5」、ニュース一覧)。4月の値上げでは、1GB と 2GB を据え置いて、容量の大きいモデルを上げていた。同じ記事は、低価格で済む用途には 3B のような古いモデルを勧めている。 もう1つ、OS 側にも期限がある。Home Assistant OS は 17.0 で、32bit の Pi 3 向け(rpi3)の更新をやめた(リリースノート)。わが家の HAOS は uname -m が aarch64 の64bit版だったので、この件で更新が止まる心配はなかった。 おわりに 測ってみて、買い替えの理由が変わった。遅いから買う、のではなく、メモリが足りないから買う。残りの Pi 3B は、まだ働ける。 まだ1週間分しかない。買う前にやることが4つある。電源は、買い換える前に疑っておく順番だと思う。 HAOS のアドオンを少し削って、メモリが下がるかを同じ物差しで測り直す Pi の置き場所の風通しを見直して、温度の山が変わるかを見る 電源まわり(アダプタの容量・ケーブル・低電圧の記録)を調べる。Pi 3B の電源は microUSB で、公式は 2.1A を目安にしている。電源が弱いだけなら、買い替えなしで直るかもしれない HAOS 側のログを調べて、再起動の原因を確かめる Pi 4 に移したら、同じ物差しで測り直して並べるつもりだ。 CPU の出し方(ロードアベレージ÷コア数)や、HAOS のメモリの見方に間違いがあれば、コメントで教えてもらえると助かる。確かめてから記事に追記する。
I never authorized an integration that scans my secrets home-assistant.io#49314 (news.ycombinator.com)