找回密码
 立即注册

微信扫码登录

搜索
楼主: 三金

[技术探讨] 国家电网(25.12.8)杂交接入

[复制链接]

17

主题

259

回帖

1817

积分

金牌会员

积分
1817
金钱
1536
HASS币
30
发表于 2025-12-10 16:40:15 | 显示全部楼层
dscao 发表于 2025-12-9 23:18
我在3个hassos 最新的core中试了一下,

我是2025.3.3的 Core好久没更新过,也一样
回复

使用道具 举报

2

主题

20

回帖

310

积分

中级会员

积分
310
金钱
288
HASS币
0
发表于 2025-12-10 16:56:47 | 显示全部楼层
有没有办法添加两户的电网?想把老家的电量也加上
回复

使用道具 举报

9

主题

115

回帖

1101

积分

金牌会员

积分
1101
金钱
977
HASS币
10
 楼主| 发表于 2025-12-10 20:10:43 | 显示全部楼层

可以尝试手动pip安装依赖
回复

使用道具 举报

5

主题

103

回帖

1029

积分

金牌会员

积分
1029
金钱
921
HASS币
0
发表于 2025-12-10 20:22:18 | 显示全部楼层
froggyfly 发表于 2025-12-10 16:40
我是2025.3.3的 Core好久没更新过,也一样

我是2025.11.2 能正常安装,你先备份,再升下级试试呢。
回复

使用道具 举报

2

主题

34

回帖

167

积分

注册会员

积分
167
金钱
131
HASS币
0
发表于 2025-12-10 21:00:23 | 显示全部楼层
大佬你好!我的docker版homeassistant,将文件拷到 custom_components的目录下了,添加集成的时候提示“无法加载配置向导: 500 Internal Server Error Server got itself in trouble”,求指导下。下面是系统日志;日志记录器: aiohttp.server
来源: /usr/local/lib/python3.13/site-packages/aiohttp/web_protocol.py:481
首次出现: 20:52:20 (5 次出现)
上次记录: 20:57:30

Error handling request from 42.232.4.248
Traceback (most recent call last):
  File "/usr/local/lib/python3.13/site-packages/aiohttp/web_protocol.py", line 510, in _handle_request
    resp = await request_handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/web_app.py", line 569, in _handle
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/web_middlewares.py", line 117, in impl
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 92, in security_filter_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 83, in forwarded_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 26, in request_context_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 86, in ban_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 242, in auth_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 41, in headers_middleware
    response = await handler(request)
               ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/http.py", line 73, in handle
    result = await handler(request, **request.match_info)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/decorators.py", line 83, in with_admin
    return await func(self, request, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 74, in wrapper
    return await method(view, request, data, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 179, in post
    return await self._post_impl(request, data)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 186, in _post_impl
    return await super()._post_impl(request, data)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 83, in _post_impl
    result = await self._flow_mgr.async_init(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
    )
    ^
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1464, in async_init
    flow, result = await self._async_init(flow_id, handler, context, data)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1500, in _async_init
    flow = await self.async_create_flow(handler, context=context, data=data)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1722, in async_create_flow
    handler = await _async_get_flow_handler(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        self.hass, handler_key, self._hass_config
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 3871, in _async_get_flow_handler
    await _load_integration(hass, domain, hass_config)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 3848, in _load_integration
    await async_process_deps_reqs(hass, hass_config, integration)
  File "/usr/src/homeassistant/homeassistant/setup.py", line 584, in async_process_deps_reqs
    await requirements.async_get_integration_with_requirements(
        hass, integration.domain
    )
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 54, in async_get_integration_with_requirements
    return await manager.async_get_integration_with_requirements(domain)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 170, in async_get_integration_with_requirements
    await future
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 159, in async_get_integration_with_requirements
    await self._async_process_integration(integration, done)
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 182, in _async_process_integration
    await self.async_process_requirements(
        integration.domain, integration.requirements
    )
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 264, in async_process_requirements
    self._raise_for_failed_requirements(name, missing)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 292, in _raise_for_failed_requirements
    raise RequirementsNotFound(integration, [req])
homeassistant.requirements.RequirementsNotFound: Requirements for state_grid not found: ['onnxruntime>=1.17.0'].
回复

使用道具 举报

0

主题

8

回帖

47

积分

新手上路

积分
47
金钱
39
HASS币
0
发表于 2025-12-12 08:51:43 | 显示全部楼层
学习一下
回复

使用道具 举报

0

主题

19

回帖

67

积分

注册会员

积分
67
金钱
48
HASS币
0
发表于 2025-12-15 11:40:38 | 显示全部楼层
大佬能不能加个本月预估电费的实体呀
回复

使用道具 举报

16

主题

636

回帖

2283

积分

金牌会员

积分
2283
金钱
1631
HASS币
0
发表于 2025-12-30 11:52:28 | 显示全部楼层
感谢大佬分享,我去试一下....

顺便请问大佬,我看了下github,貌似有什么登陆啊,capcha的代码,那就不用安装ARC-MX大佬的那个docker了吧?

谢谢大佬指点
回复

使用道具 举报

0

主题

10

回帖

628

积分

高级会员

积分
628
金钱
618
HASS币
0
发表于 2026-1-7 05:28:15 | 显示全部楼层
本帖最后由 1101x1 于 2026-1-7 05:34 编辑

多帐户有问题? 只加载了2条 后面的不显示了?
有了等了一会就显示全了 感谢
回复

使用道具 举报

6

主题

171

回帖

627

积分

高级会员

积分
627
金钱
450
HASS币
0
发表于 2026-1-10 08:20:27 | 显示全部楼层
pipx install onnxruntime numpy pillow
  installed package onnxruntime 1.23.2, installed using Python 3.11.2
  These apps are now globally available
    - onnxruntime_test
done! ✨ 🌟 ✨
  installed package numpy 2.4.0, installed using Python 3.11.2
  These apps are now globally available
    - f2py
    - numpy-config
done! ✨ 🌟 ✨

No apps associated with package pillow or its dependencies. If you are attempting to install a library,
pipx should not be used. Consider using pip or a similar tool instead.


无法加载配置向导: 500 Internal Server Error Server got itself in trouble
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )

GMT+8, 2026-1-27 12:51 , Processed in 0.317743 second(s), 11 queries , MemCached On.

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表