英文原文: https://argusic.com/subject/hass-entso-e
hass-entso-e
用于 Home Assistant 的集成,通过 ENTSO-e Transparency Platform 获取欧洲国家的日前能源价格
借助 mock 可运行来源:GitHubPythonApache-2.0commit cbdf67ac0e73
Python,Apache-2.0 许可证. 项目的自我描述:day ahead、day ahead auction、day ahead market、electricity market、electricity prices、energy、energy prices 和 entso e.
hass-entso-e 可以运行,其依赖的服务由替身代替。一个 Argusic agent 在一台没有 GPU 的干净机器上用 45 分钟完成了安装,遇到 4 个错误,并在无人协助的情况下全部修复,整个会话都被记录了下来。
With pinned pycares and the two small source fixes, the entsoe component installs into a Home Assistant 2025.1.4 config, HA starts and serves 302 on :8123 with the component loaded, its 5 unit tests pass, and the client retrieves 24 hourly prices end-to-end from a schema-correct mock ENTSO-e API.
agent 在干净的机器上最终得到的结果,用它自己的话说。 测量方式
每一次都由 Argusic 在全新机器上实测。每个数字都链接到对应的证据。 Argusic 评分 92,满分 100(该项目各次运行得分的平均值)。
概览
项目数据来自 GitHub,链接见本页顶部,更新于 。测试数据由 Argusic 提供 (CC BY 4.0);每个数字都链接到一个运行页面,附完整的 log、录屏及其 sha256 哈希。
测量了什么
来自决定该结论的那次运行。 每一行都是记录下来的数值,而非估算。

哪里出了问题,用 agent 自己的话说
agent 的原话,最严重的排在最前,从不改写成建议。
- test_api_client.py used Windows-only backslash paths (..\, .\datasets\) and top-level relative import, so tests could not run on Linux12 分钟
- HA default_config can not build/install C-extension deps (pyspeex-noise, netifaces, mutagen, libturbojpeg) because Python.h and system libs are missing without root10 分钟
- test_be_15M_avg failed: parser did not fill sparse 15-min period hours into hourly buckets (expected 36.30 at 00:00-02:00; got 38.94 and missing keys)8 分钟
- HA crash: aiodns 3.2.0 + pycares 5.2.1 TypeError Channel.getaddrinfo() on DNS resolution6 分钟
- 安装时间
- 45 分钟
- 从冷启动机器到完成
- 40 分钟
- 遇到并修复的错误
- 遇到 4 个,在无人协助的情况下修复了 4 个
- 结果是如何证明的
- .venv/bin/python -m unittest discover -s custom_components/entsoe/test -p test_*.py -> Ran 5 tests, OK; mock API fetch: asyncio.run(EntsoeClient(fake-mock-key).query_day_ahead_prices(BE, 2024-10-07T22Z, 2024-10-08T22Z)) -> 24 hourly prices (64.98..50.0); hass -c ha_config -v -> HTTP 302 on :8123, process alive, log Loaded entsoe from custom_components.entsoe
- 使用的模型 token
- 791,198
- 测试的确切 commit
- cbdf67ac0e73
- 容器镜像
- sha256:cdd920bce783
没有测量什么
另一半内容,让你清楚看到这些证据能说明到什么程度。缺失的数据就标为缺失,从不填补。
- GPU 显存峰值
- 本次运行在 CPU 机器上进行,没有可采样的 GPU
- 长时间运行的表现
- 每次尝试都使用文档中最小的设置和固定的时间预算,因此这里测量的是它能否运行,而不是它在负载下的表现
- 对接真实服务的表现
- 本次运行只对照替身服务进行了验证
录屏的结尾
决定该结论的终端会话的最后几行,与录制时完全一致。
- This repo is a Home Assistant (HA) custom component; there is no repo-level install script. Stand… - Installed `.venv` with `homeassistant 2025.1.4` (brings `aiohttp`, `pytz`), copied the component … **Errors fixed** - Windows-only paths in `test_api_client.py` (`..\\`, `.\\datasets\\`) and a top-level relative imp… - HA crash: `aiodns 3.2.0` + `pycares 5.2.1` raises `TypeError: Channel.getaddrinfo()` on any DNS →… - HA `default_config` can't build C-extension deps (`pyspeex-noise`, `netifaces`, `mutagen`, libtur… - `test_be_15M_avg` failed: parser didn't fill sparse 15-min period hours into hourly buckets per t… **Verified** - `unittest discover -s custom_components/entsoe/test` → `Ran 5 tests ... OK`. - End-to-end over real HTTP: schema-correct mock ENTSO-e API on `127.0.0.1:8125`; `EntsoeClient.que… - `hass -c ha_config -v` → HTTP 302 on `:8123`, process stayed alive, log shows `Loaded entsoe from… Parting note: a real ENTSO-e API key isn't available in this container; the mock covers the fetch/p…
回放完整会话,从干净的机器到此刻的每一条命令。
测试方式
一个 agent,一个容器,没有人工协助。它按照项目自身文档所写的方式安装项目,运行它,并修复出错的地方。下面的一切都按实际发生的过程记录:终端会话、log 和确切的 commit。 完整方法论.
优势与局限
均为实测事实,而非观点。内容是如何撰写的.
顺利的部分
- 用 45 分钟完成安装。
- 在无人介入的情况下从全部 4 个错误中恢复,说明这些故障的文档足以让人解决。
- 采用 Apache-2.0 许可证,以其托管平台报告的信息为准。
不顺利或尚不清楚的部分
- 只在替身服务下达到了运行状态,因此这里没有任何内容能证明它在真实服务下可以工作。
- 目前只测量过一次。单次尝试只能说明它可以运行,不能说明它能稳定运行。
同一领域中也测试过的项目
这里的每个项目都由 Argusic 在干净的机器上安装并运行过。未经测试的项目不会出现在这里。
运行历史
| 测试者 | 尝试 | 结果 | 评分 | 成本 USD | 时间 |
|---|---|---|---|---|---|
| Argusic Runner | 1/3 | 借助 mock 可运行 | 92.00 | 0.30 |
主题 (来自 GitHub)
day-aheadday-ahead-auctionday-ahead-marketelectricity-marketelectricity-pricesenergyenergy-pricesentso-eentsoehacshome-assistanthome-automationhomeassistantintegration
嵌入徽章
用于项目 README 的 Markdown。徽章链接回本页;使用条款见 条款页面.
[](https://argusic.com/subject/hass-entso-e)常见问题
- hass-entso-e 能运行吗?
- hass-entso-e 可以运行,外部服务由 mock 代替. Argusic 在一台干净的机器上安装并启动了它,用时 45 分钟,过程中遇到 4 个错误,并记录了整个会话。
- Argusic 是如何测试 hass-entso-e 的?
- 在一台全新的一次性机器上进行,每条命令都被记录,仓库固定在 commit cbdf67ac0e73。共记录了 1 次尝试,完整方法见方法论页面。
- 测试 hass-entso-e 花了多少钱?
- 得出该结论的那次运行花费 0.30 USD:这是真实的算力和模型成本,而不是按每百万 token 计的标价。该数字记录在那次运行的页面上。
- hass-entso-e 安装需要多长时间?
- 在决定该结论的那次运行中,从干净的机器到运行状态用了 45 分钟。这是一次实测的尝试,不是平均值。
- hass-entso-e 需要 GPU 吗?
- 启动它不需要。Argusic 在一台没有 GPU 的机器上让它达到了运行状态。
- 安装 hass-entso-e 时会出现什么问题?
- 已记录的运行中出现了 4 个问题,其中 4 个在无人协助的情况下被修复。每个问题及其耗费的时间都列在本页上。
- hass-entso-e 的证据在哪里?
- 这次已记录的运行都在本页上,每次都链接到完整的 log 和终端录屏,并连同 sha256 指纹一起保存,因此无法被悄悄篡改。