『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
楼主: cubicpill

[插件集成] 南方电网电费数据集成,支持用户名和密码直接登陆

  [复制链接]

21

主题

553

帖子

2332

积分

金牌会员

Rank: 6Rank: 6

积分
2332
金钱
1779
HASS币
0
发表于 2023-5-24 09:05:56 | 显示全部楼层
升级到最新版HA  5.3后将插件也升级到了最新版,,目前是所有的实体都显示不可用了···········
回复

使用道具 举报

21

主题

553

帖子

2332

积分

金牌会员

Rank: 6Rank: 6

积分
2332
金钱
1779
HASS币
0
发表于 2023-5-24 13:50:08 | 显示全部楼层
最新版升级后  提示实体不可用,HA版本5.3
回复

使用道具 举报

21

主题

553

帖子

2332

积分

金牌会员

Rank: 6Rank: 6

积分
2332
金钱
1779
HASS币
0
发表于 2023-5-24 14:32:11 | 显示全部楼层
heqicheng 发表于 2023-5-20 11:39
Logger: custom_components.china_southern_power_grid_stat.sensor
Source: custom_components/china_sout ...

遇到了同样问题,目前实体不可用
回复

使用道具 举报

10

主题

140

帖子

639

积分

论坛积极会员

积分
639
金钱
499
HASS币
0
发表于 2023-5-24 14:45:26 | 显示全部楼层
2023-05-24 13:46:40.971 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 332, in data_received
    messages, upgraded, tail = self._request_parser.feed_data(data)
  File "aiohttp/_http_parser.pyx", line 551, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'Invalid method encountered'"
回复

使用道具 举报

9

主题

115

帖子

1151

积分

论坛技术达人

积分
1151
金钱
1031
HASS币
20
发表于 2023-5-26 21:13:50 | 显示全部楼层
把-latest_day_kwh接入能源里会变成负数,显示发电,请问如何解决
回复

使用道具 举报

2

主题

90

帖子

890

积分

高级会员

Rank: 4

积分
890
金钱
800
HASS币
0
发表于 2023-5-26 21:43:50 | 显示全部楼层
大佬大才,给跪了
回复

使用道具 举报

1

主题

107

帖子

1388

积分

金牌会员

Rank: 6Rank: 6

积分
1388
金钱
1281
HASS币
0
发表于 2023-6-6 00:39:19 | 显示全部楼层
全新安装的os10.2,还是提示无法加载配置向导: 500 Internal Server Error Server got itself in trouble
日志:
Logger: aiohttp.server
Source: requirements.py:290
First occurred: 00:19:00 (1 occurrences)
Last logged: 00:19:00

Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
    resp = await request_handler(request)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.10/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 85, in security_filter_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 80, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 235, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 146, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 148, in post
    return await super().post(request)
  File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 72, in wrapper
    result = await method(view, request, data, *args, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 71, in post
    result = await self._flow_mgr.async_init(
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 845, in async_init
    flow, result = await task
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 863, in _async_init
    flow = await self.async_create_flow(handler, context=context, data=data)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 962, in async_create_flow
    await _load_integration(self.hass, handler_key, self._hass_config)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2026, in _load_integration
    await async_process_deps_reqs(hass, hass_config, integration)
  File "/usr/src/homeassistant/homeassistant/setup.py", line 389, in async_process_deps_reqs
    await requirements.async_get_integration_with_requirements(
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 52, in async_get_integration_with_requirements
    return await manager.async_get_integration_with_requirements(domain)
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 171, in async_get_integration_with_requirements
    await self._async_process_integration(integration, done)
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 186, in _async_process_integration
    await self.async_process_requirements(
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 252, in async_process_requirements
    await self._async_process_requirements(name, missing)
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 290, in _async_process_requirements
    raise RequirementsNotFound(name, list(failures))
homeassistant.requirements.RequirementsNotFound: Requirements for china_southern_power_grid_stat not found: ['pycryptodome==3.15.0'].
是什么问题呢?
回复

使用道具 举报

2

主题

33

帖子

562

积分

论坛技术达人

积分
562
金钱
524
HASS币
20
 楼主| 发表于 2023-6-7 21:40:34 | 显示全部楼层
yaojogd 发表于 2023-6-6 00:39
全新安装的os10.2,还是提示无法加载配置向导: 500 Internal Server Error Server got itself in trouble
...

网络问题,下载python依赖包的时候出错了
回复

使用道具 举报

1

主题

107

帖子

1388

积分

金牌会员

Rank: 6Rank: 6

积分
1388
金钱
1281
HASS币
0
发表于 2023-6-9 00:43:35 | 显示全部楼层
cubicpill 发表于 2023-6-7 21:40
网络问题,下载python依赖包的时候出错了

全局代理都不成功。。有没有命令行安装依赖的?
回复

使用道具 举报

0

主题

7

帖子

114

积分

注册会员

Rank: 2

积分
114
金钱
107
HASS币
0
发表于 2023-6-13 14:44:51 | 显示全部楼层
用上了,大佬牛逼
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-4-26 04:32 , Processed in 0.478406 second(s), 30 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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