Coder Social home page Coder Social logo

trvqhuy / nestup_evn Goto Github PK

View Code? Open in Web Editor NEW
54.0 5.0 25.0 1006 KB

A simple yet efficient custom component to fetch data from EVN Vietnam for Home Assistant

Home Page: https://github.com/trvqhuy/nestup_evn

License: Apache License 2.0

Python 100.00%
electricity-meter polling-service hacs-integration homeassistant home-assistant hacs-default homeassistant-custom-component

nestup_evn's People

Contributors

hieulq avatar ngtuelinh avatar trvqhuy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

nestup_evn's Issues

[EVNNPC] Data unavailable after few minutes

Mình đã thêm được vào HASS nhưng chỉ chạy được một chút lại bị lỗi
image
Mình vẫn đăng nhập được vào trang CSKH của EVN.
image

Hệ thống HASS:
image

[EVN Thuận An] Ngày đầu kì là 24 dùm e đã chỉnh ngày khác lúc Setup

Mô tả lỗi / Describe the bug
Lúc Setup dùm e chọn ngày đầu kì là bao nhiêu thì khi setup xong nó vẫn hiện là 24

Logs

Ảnh chụp / Screenshots
image

Server (thông tin máy chủ đang chạy HA):

  • OS: x86
  • HA platform: Supervisor
  • HA Version: 2023.03.2

Integration (thông tin phiên bản Integration đã cài đặt):

  • Installation method: HACS
  • Version: v.2.1.0

Thông tin thêm

[Chi nhánh EVN] Mô tả chung về lỗi

Mô tả lỗi / Describe the bug
Sau khi nâng cấp lên Home Assistant lên bản mới, netsup-Evn không đọc được dữ liệu từ EVN nữa

Logs
Thêm phần logs báo lỗi của HA có liên quan đến Integration.

Ảnh chụp / Screenshots
Thêm ảnh chụp để thể hiện lỗi rõ ràng hơn.

Server (thông tin máy chủ đang chạy HA):

  • OS: [e.g. Linux]
  • HA platform: [e.g. Core]
  • HA Version: [e.g. 2022.7.0]

Integration (thông tin phiên bản Integration đã cài đặt):

  • Installation method: [e.g. HACS] (cách cài đặt Integration)
  • Version: [e.g. v.2.1.0]

Thông tin thêm
Thêm những thông tin khác ngoài các thông tin kể trên.

EVNSPC - Lỗi kết nối

Mô tả lỗi / Describe the bug
Lỗi không kết nối được server

Logs
Thêm phần logs báo lỗi của HA có liên quan đến Integration.
Logger: custom_components.nestup_evn.nestup_evn
Source: custom_components/nestup_evn/nestup_evn.py:83
Integration: EVN Data Fetcher (documentation, issues)
First occurred: 20:03:56 (3 occurrences)
Last logged: 20:05:50

Cannot connect to EVN Server while requesting new data: status code 500

Ảnh chụp / Screenshots
Thêm ảnh chụp để thể hiện lỗi rõ ràng hơn.
image

Server (thông tin máy chủ đang chạy HA):

  • OS: [e.g. Linux]
  • HA platform: [e.g. Core]
  • HA Version: [e.g. 2022.7.0]

Integration (thông tin phiên bản Integration đã cài đặt):

  • Installation method: [e.g. HACS] (cách cài đặt Integration)
  • Version: [e.g. v.2.1.0]

Thông tin thêm
Thêm những thông tin khác ngoài các thông tin kể trên.

[EVNNPC] AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'

Mô tả lỗi / Describe the bug
Sau khi nâng cấp Hass lên bản mới Home Assistant 2023.5.2 thì bị lỗi không load được device EVN

Logs
Logger: homeassistant.config_entries
Source: custom_components/nestup_evn/init.py:12
Integration: EVN Data Fetcher (documentation, issues)
First occurred: 09:31:00 (1 occurrences)
Last logged: 09:31:00

Error setting up entry PD30000211273 for nestup_evn
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/nestup_evn/init.py", line 12, in async_setup_entry
hass.config_entries.async_setup_platforms(entry, ["sensor"])
AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'

Ảnh chụp / Screenshots
image
image

Server (thông tin máy chủ đang chạy HA):

  • OS: [Linux]
    Home Assistant 2023.5.2
    Supervisor 2023.04.1
    Phiên bản Frontend: 20230503.3 - latest

Integration (thông tin phiên bản Integration đã cài đặt):

  • Installation method: [HACS]
    Thông tin thiết bị
    Vietnam EVN Monitor
    bởi Nestup Co.
    Firmware: 2.1.0
    Hardware: by Điện Lực Bắc Từ Liêm

Thông tin thêm
Sau khi nâng cấp Hass lên bản mới Home Assistant 2023.5.2 thì bị lỗi không load được device EVN

[EVN] AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'

Hiện tại bản mới Home Assistant 2023.5.0 bị lỗi lấy dữ liệu từ điện lực.
Lỗi như bên dưới.
Nhờ bạn sớm khắc phục lỗi.
Cảm ơn!
home-assistant_2023-05-04T03-51-27.623Z.log

This error originated from a custom integration.

Logger: homeassistant.config_entries
Source: custom_components/nestup_evn/__init__.py:12
Integration: EVN Data Fetcher (documentation, issues)
First occurred: 6:26:56 AM (5 occurrences)
Last logged: 6:26:56 AM

Error setting up entry PD05000040043 for nestup_evn
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/nestup_evn/__init__.py", line 12, in async_setup_entry
    hass.config_entries.async_setup_platforms(entry, ["sensor"])
AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'

[EVNNPC] AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'

Mô tả lỗi / Describe the bug
Không setup được (Failed to set up) mặc dù thông tin điền vào chính xác

Logs
2023-05-08 14:28:28.918 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration nestup_evn which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-05-08 14:29:01.467 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry PD11000027XXX for nestup_evn
File "/config/custom_components/nestup_evn/init.py", line 12, in async_setup_entry

Log Details (ERROR)
This error originated from a custom integration.
Logger: homeassistant.config_entries
Source: custom_components/nestup_evn/init.py:12
Integration: EVN Data Fetcher (documentation, issues)
First occurred: 2:29:01 PM (1 occurrences)
Last logged: 2:29:01 PM

Error setting up entry PD11000027XXX for nestup_evn
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/nestup_evn/init.py", line 12, in async_setup_entry
hass.config_entries.async_setup_platforms(entry, ["sensor"])
AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'

Ảnh chụp / Screenshots
image
Server (thông tin máy chủ đang chạy HA):
Home Assistant 2023.5.2
Supervisor 2023.04.1
Frontend 20230503.3 - latest

Integration (thông tin phiên bản Integration đã cài đặt):

  • Installation method: HACS
  • Version: v2.1.0

Thông tin thêm
Thêm những thông tin khác ngoài các thông tin kể trên.

[EVNNPC] Unexpected exception importing platform custom_components.nestup_evn.config_flow

Phiên bản cài đặt :

  • Home Assistant 2022.9.2
  • Nestup_evn : v2.1.0
    Mô tả :
    Error occurred loading configuration flow for integration nestup_evn: Exception importing custom_components.nestup_evn.config_flow
    Unexpected exception importing platform custom_components.nestup_evn.config_flow

Traceback (most recent call last):
File "/homeassistant2022/lib/python3.9/site-packages/homeassistant/loader.py", line 681, in get_platform
cache[full_name] = self._import_platform(platform_name)
File "/homeassistant2022/lib/python3.9/site-packages/homeassistant/loader.py", line 698, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File "/usr/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/root/.homeassistant/custom_components/nestup_evn/config_flow.py", line 13, in
from . import nestup_evn
File "/root/.homeassistant/custom_components/nestup_evn/nestup_evn.py", line 48, in
from .types import EVN_NAME, VIETNAM_EVN_AREA, Area
File "/root/.homeassistant/custom_components/nestup_evn/types.py", line 42, in
class Area:
File "/root/.homeassistant/custom_components/nestup_evn/types.py", line 46, in Area
key: str | None = None
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'

Đã xóa phiên bản cũ (bao gồm device và trong hacs) -> restart hass -> cài lại Nestup_evn 2.1.0 -> Add device -> lỗi
Phiên bản 1.2.9 cài đặt bình thường

Unavailable

Mô tả lỗi / Describe the bug
Service unavailable

Logs
2023-11-03 14:24:56.856 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up nestup_evn platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 246, in _async_update_data
return await self.update_method()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/nestup_evn/sensor.py", line 123, in _async_update
await self.update()
File "/config/custom_components/nestup_evn/sensor.py", line 82, in update
self._data = await self._api.request_update(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/nestup_evn/nestup_evn.py", line 122, in request_update
fetch_data = await self.request_update_evnhcmc(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/nestup_evn/nestup_evn.py", line 453, in request_update_evnhcmc
resp = await self._session.post(

Ảnh chụp / Screenshots
Thêm ảnh chụp để thể hiện lỗi rõ ràng hơn.

Server (thông tin máy chủ đang chạy HA):

  • OS: HAOS
  • HA platform: Core
  • HA Version: 2023.11.0
    Integration (thông tin phiên bản Integration đã cài đặt):
  • Installation method: [e.g. HACS] (cách cài đặt Integration)
  • Version: [e.g. v.2.1.0]

Thông tin thêm
Thêm những thông tin khác ngoài các thông tin kể trên.

[Unknown EVN] Unknown Errors

Mô tả lỗi / Describe the bug
Không kết nối được đến EVN server để lấy dữ liệu.

Logs
Logger: custom_components.nestup_evn.config_flow
Source: custom_components/nestup_evn/nestup_evn.py:342
Integration: EVN Data Fetcher (documentation, issues)
First occurred: 10:45:16 AM (2 occurrences)
Last logged: 11:23:33 AM
Unexpected exception: Server disconnected

Traceback (most recent call last):
File "/config/custom_components/nestup_evn/config_flow.py", line 182, in _verify_id
res = await self._api.request_update(
File "/config/custom_components/nestup_evn/nestup_evn.py", line 104, in request_update
fetch_data = await self.request_update_evnhanoi(
File "/config/custom_components/nestup_evn/nestup_evn.py", line 359, in request_update_evnhanoi
return await self.request_update_evnhanoi(
File "/config/custom_components/nestup_evn/nestup_evn.py", line 342, in request_update_evnhanoi
resp = await self._session.post(
File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 559, in _request
await resp.start(conn)
File "/usr/local/lib/python3.10/site-packages/aiohttp/client_reqrep.py", line 898, in start
message, payload = await protocol.read() # type: ignore[union-attr]
File "/usr/local/lib/python3.10/site-packages/aiohttp/streams.py", line 616, in read
await self._waiter
aiohttp.client_exceptions.ServerDisconnectedError: Server disconnected

Server (thông tin máy chủ đang chạy HA):

  • OS: HassOS
  • HA platform: Core
  • HA Version: 2022.11.2

Integration (thông tin phiên bản Integration đã cài đặt):

  • Installation method: HACS
  • Version: v.2.1.0

[Chi nhánh EVN] CPC Miền Trung lỗi đăng nhập

Mô tả lỗi / Describe the bug
Lỗi đăng nhập báo sai userr/password mặc dù đã đúng
image

Logs
Thêm phần logs báo lỗi của HA có liên quan đến Integration.

Ảnh chụp / Screenshots
Thêm ảnh chụp để thể hiện lỗi rõ ràng hơn.
image

Server (thông tin máy chủ đang chạy HA):

  • OS: [e.g. Linux]
  • HA platform: Supervisor
  • HA Version: 2023.11.3

Integration (thông tin phiên bản Integration đã cài đặt):

  • Installation method: HACS
  • Version: [v.2.2.0

Thông tin thêm
Thêm những thông tin khác ngoài các thông tin kể trên.

[Đề xuất tính năng mới] Hỗ trợ lấy chỉ số điện năng lượng mặt trời tải lên lưới

Với những nhà có gắn NLMT áp mái sẽ có chỉ số này. Có chỉ số tải lên này thì biểu đồ năng lượng trong HA mới đầy đủ. NLMT phát ra bởi những tấm pin sẽ có 1 phần tiêu thụ trong nhà và 1 phần tải lên lưới điện. Phần NLMT từ pin thì đã đọc được từ converter. Còn chỉ số NLMT tải lên lưới thì phải đọc từ EVN. Xin vui lòng hỗ trợ. Nếu cần mình sẽ cung cấp account để test.

Screenshot 2023-02-18 at 00 33 21

[Chi nhánh EVN] EVNSPC không fetch data được

Mô tả lỗi / Describe the bug
qua ngày 01/01/2024, fetch data không được

Logs
[EVN ID PKxxxxxxxxxxxxxx] Could not fetch new data - 500

Ảnh chụp / Screenshots
Screenshot 2024-01-01 072604

Server (thông tin máy chủ đang chạy HA):

  • OS: Home Assistant 11.2
  • HA platform: 2023.12.4
  • HA Version: 2023.12.0

Integration (thông tin phiên bản Integration đã cài đặt):

  • Installation method: HACS
  • Version: v2.2.0

Thông tin thêm
20h ngày 31/12/2023 vẫn fetch data được

[EVNHCMC] Cannot delete sensor from Energy Dashboard

Mô tả lỗi / Describe the bug
The sensor description is so long that the delete button is not visible in the energy dashboard

Logs
Thêm phần logs báo lỗi của HA có liên quan đến Integration.

Ảnh chụp / Screenshots

evn-dash

Server (thông tin máy chủ đang chạy HA):

  • OS: Proxmox 7.1
  • HA platform: HAOS
  • HA Version: 2022.9.5

Integration (thông tin phiên bản Integration đã cài đặt):

  • Installation method: HACS
  • Version: v.2.1.0

Thông tin thêm
Thêm những thông tin khác ngoài các thông tin kể trên.

[EVNHCMC] Energy Dashboard - Entity Not Defined

Mô tả lỗi / Describe the bug
When I add the sensor to the Energy Dashboard it returns the error, Entity not defined"

Logs
No error in logs

Ảnh chụp / Screenshots

end2

Server (thông tin máy chủ đang chạy HA):

  • OS: Proxmox 7.1
  • HA platform: HAOS
  • HA Version: 2022.9.5

Integration (thông tin phiên bản Integration đã cài đặt):

  • Installation method: HACS
  • Version: v.2.1.0

Thông tin thêm
Thêm những thông tin khác ngoài các thông tin kể trên.

[EVNNPC] Unavailable sensors

Mô tả lỗi / Describe the bug
Các sensor unavailable

Logs
Unable to fetch data from EVN Server while requesting new data: Expecting value: line 1 column 1 (char 0)

Ảnh chụp / Screenshots
Thêm ảnh chụp để thể hiện lỗi rõ ràng hơn.

Server (thông tin máy chủ đang chạy HA):

  • OS: Raspberry pi 3 HAOS
  • HA platform: Core
  • HA Version: 2022.10.2

Integration (thông tin phiên bản Integration đã cài đặt):

  • Installation : HACS

[EVNNPC] Cannot add sensors into Energy Dashboard

Mô tả lỗi / Describe the bug
Phần Energy sử dụng Chỉ số tạm chốt thay vì sản lượng tiêu thụ thì kết quả hiện ra liệu có chính xác ko bạn ?
Ở các phiên bản trước thì sử dụng sản lượng tiêu thụ ( theo tháng ) thì hợp lý hơn

Ảnh chụp / Screenshots
image

[Đề xuất tính năng mới] Energy Dashboard Integration

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

The EVN integration doesn't work with the Energy Dashboard.

Describe the solution you'd like
A clear and concise description of what you want to happen.

The EVN integration to work with the Energy Dashboard

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

None

Additional context
Add any other context or screenshots about the feature request here.

[Chi nhánh EVN] HCM không set được ngày đầu kỳ (ngày cuối cùng của tháng) không cho set ngày 1 (-1)

Mô tả lỗi / Describe the bug
Mô tả ngắn gọn lỗi bạn đã gặp phải trong quá trình cài đặt hoặc sử dụng.

Logs
Thêm phần logs báo lỗi của HA có liên quan đến Integration.

Ảnh chụp / Screenshots
Thêm ảnh chụp để thể hiện lỗi rõ ràng hơn.

Server (thông tin máy chủ đang chạy HA):

  • OS: [e.g. Linux]
  • HA platform: [e.g. Core]
  • HA Version: [e.g. 2022.7.0]

Integration (thông tin phiên bản Integration đã cài đặt):

  • Installation method: [e.g. HACS] (cách cài đặt Integration)
  • Version: [e.g. v.2.1.0]

Thông tin thêm
Thêm những thông tin khác ngoài các thông tin kể trên.

[EVN] Lỗi "async_setup_platforms this will fail in version 2023.3"

Nhờ bạn fix lỗi bên dưới.
Cảm ơn!


Logger: homeassistant.helpers.frame
Source: helpers/frame.py:77
First occurred: February 6, 2023 at 9:09:57 PM (2 occurrences)
Last logged: February 6, 2023 at 9:10:11 PM

Detected integration that called async_setup_platforms instead of awaiting async_forward_entry_setups; this will fail in version 2023.3. Please report issue to the custom integration author for nestup_evn using this method at custom_components/nestup_evn/__init__.py, line 12: hass.config_entries.async_setup_platforms(entry, ["sensor"])
Detected integration that called async_setup_platforms instead of awaiting async_forward_entry_setups; this will fail in version 2023.3. Please report issue to the custom integration author for miwifi using this method at custom_components/miwifi/__init__.py, line 100: hass.config_entries.async_setup_platforms(entry, PLATFORMS)

[Đề xuất tính năng mới] Hourly polling of EVN server

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Daily statistics aren't good enough if you are sizing or monitoring a rooftop solar installation. You need to know how much energy you are using during daylight hours.

Describe the solution you'd like
A clear and concise description of what you want to happen.

EVN integration to pool the EVN server hourly and display the value in the energy dashboard.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

None

Additional context
Add any other context or screenshots about the feature request here.

[EVNHCMC] Unexpected error

Mô tả lỗi / Describe the bug
Sau khi nhập Customer ID và dùng số điện thoại, password để đăng nhập

Logs
2023-11-29 23:22:01.477 ERROR (MainThread) [custom_components.nestup_evn.config_flow] Unexpected exception: Cannot connect to host cskh.evnhcmc.vn:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)')]
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 980, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs) # type: ignore[return-value] # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1112, in create_connection
transport, protocol = await self._create_connection_transport(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1145, in _create_connection_transport
await waiter
File "/usr/local/lib/python3.11/asyncio/sslproto.py", line 575, in _on_handshake_complete
raise handshake_exc
File "/usr/local/lib/python3.11/asyncio/sslproto.py", line 557, in _do_handshake
self._sslobj.do_handshake()
File "/usr/local/lib/python3.11/ssl.py", line 979, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/config/custom_components/nestup_evn/config_flow.py", line 164, in _try_auth
res = await self._api.login(
^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/nestup_evn/nestup_evn.py", line 74, in login
return await self.login_evnhcmc(username, password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/nestup_evn/nestup_evn.py", line 181, in login_evnhcmc
resp = await self._session.post(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 536, in _request
conn = await self._connector.connect(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 540, in connect
proto = await self._create_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 901, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 1209, in _create_direct_connection
raise last_exc
File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 1178, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 982, in _wrap_create_connection
raise ClientConnectorCertificateError(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host cskh.evnhcmc.vn:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)')]

Ảnh chụp / Screenshots
image

Server (thông tin máy chủ đang chạy HA):

  • OS: HA Supervisor sử dụng Virtual machine trên DSM 7.2
  • HA Core: 2023.11.3
  • HA Supervisor: 2023.11.6
  • Frontend: 20231030.2

Integration (thông tin phiên bản Integration đã cài đặt):

  • Installation method: HACS
  • Version: 1.33.0

[EVN] Unknown error, not valid issue

Mô tả lỗi / Describe the bug
Mô tả ngắn gọn lỗi bạn đã gặp phải trong quá trình cài đặt hoặc sử dụng.

Logs
Thêm phần logs báo lỗi của HA có liên quan đến Integration.

Ảnh chụp / Screenshots
Thêm ảnh chụp để thể hiện lỗi rõ ràng hơn.

Server (thông tin máy chủ đang chạy HA):

  • OS: [e.g. Linux]
  • HA platform: [e.g. Core]
  • HA Version: [e.g. 2022.7.0]

Integration (thông tin phiên bản Integration đã cài đặt):

  • Installation method: [e.g. HACS] (cách cài đặt Integration)
  • Version: [e.g. v.2.1.0]

Thông tin thêm
Thêm những thông tin khác ngoài các thông tin kể trên.

[Chi nhánh EVN] Lỗi không lấy được dữ liệu EVN Hà Nội

Mô tả lỗi / Describe the bug
Lỗi không lấy được dữ liệu EVN Hà Nội

Logs
This error originated from a custom integration.

Logger: custom_components.nestup_evn.sensor
Source: custom_components/nestup_evn/sensor.py:113
Integration: EVN Data Fetcher (documentation, issues)
First occurred: October 17, 2023 at 09:14:31 (5 occurrences)
Last logged: 09:14:35

[EVN ID PD05000168857] Could not fetch new data - 401
image

image

Server (thông tin máy chủ đang chạy HA):
image

Integration (thông tin phiên bản Integration đã cài đặt):

  • Installation method: HACS
  • Version: v.2.1.0

Thông tin thêm
Thêm những thông tin khác ngoài các thông tin kể trên.

[EVN] Đề xuất tính năng - Thêm Sensor Entity vào Energy Dashboard

Chào bạn, cho mình hỏi cấu hình chỗ "Energy > Electricity Grid" nhưng chỉ chọn được 1 Sensor là "Chỉ số tạm chốt" như hình:
image

Mình có 2 câu hỏi:
1- Mình chọn cái Sensor này nhưng thấy dữ liệu không thay đổi hàng ngày, không biết như vậy đúng hay sai ?
image

2- Mình muốn chọn một Sensor khác để có thể theo dõi về số điện/tiền điện (thay đổi hàng ngày để dễ so sánh) thì làm cách nào ?
image

Xin cảm ơn!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.