Giter VIP home page Giter VIP logo

climate_ewelink's People

Contributors

georgezhao2010 avatar guille-mas-coll 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  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

climate_ewelink's Issues

日志中有大量重复的信息

日志中有大量重复的条目,具体如下:

 DEBUG (Thread-5) [custom_components.climate_ewelink.statemanager] websocket disconnected, retrying 

并且在连续发送指令时,会出现间歇性的不可控。同时Home Assistant下方提示:

调用服务 climate/set fan mode 失败。 'NoneType' object has no attribute 'send ' 

How does this work exactly

I see how to setup eWeLink with home assistant but how do you connect Midea AC to eWeLink. I can not find any way to do so.

How to register A/C to ewelink app?

I have bad results using Midea Aircon integration. I'm not sure how this integration should work, but I think I should register my A/Cs to ewelink app and then I can find them in HA?
I tried to register one of my A/Cs too ewelink, but I had no success.

空调防直吹功能不可用

空调型号是华凌的N8HE1 按照您的帖子正常接入
但是Hass网页上 防直吹的开关是灰色的 无法点击
我看了那个帖子的回复 好像说是易微联把状态消息中的防直吹给取消了

但是通过插件-HASS(HAOS)-Homekit家庭App 是可以正常显示防直吹按钮的 而且点击后 空调也可以把挡板抬上去
不知道有没有什么曲线救国的办法呢...

出现这个错误,并且无法恢复

此错误来自自定义集成。

Logger: root
Source: custom_components/climate_ewelink/ewelinkcloud.py:61
Integration: Midea A/C via eWeLink (documentation, issues)
First occurred: 15:03:41 (1 occurrences)
Last logged: 15:03:41

Uncaught thread exception
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 169, in _new_conn
conn = connection.create_connection(
File "/usr/local/lib/python3.8/site-packages/urllib3/util/connection.py", line 73, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/local/lib/python3.8/socket.py", line 918, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 382, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
conn.connect()
File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 353, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 181, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8b448130>: Failed to establish a new connection: [Errno -3] Try again

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 755, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.8/site-packages/urllib3/util/retry.py", line 574, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='cn-api.coolkit.cn', port=8080): Max retries exceeded with url: /api/user/login (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b448130>: Failed to establish a new connection: [Errno -3] Try again'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/config/custom_components/climate_ewelink/statemanager.py", line 134, in run
if self._ewelink_cloud.login():
File "/config/custom_components/climate_ewelink/ewelinkcloud.py", line 61, in login
r = requests.post(f"https://{SERVERS[self._country]}/api/user/login", json=payload,
File "/usr/local/lib/python3.8/site-packages/requests/api.py", line 119, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.8/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.8/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='cn-api.coolkit.cn', port=8080): Max retries exceeded with url: /api/user/login (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b448130>: Failed to establish a new connection: [Errno -3] Try again'))

在hacs添加插件以后,无法在集成里添加

我用hacs添加插件以后,然后去集成商店里添加,他会弹出一个窗口显示:此集成不支持通过 UI 配置。如果您是从 Home Assistant 网站点击链接前来,请确保您运行的是最新版本的 Home Assistant。
下面是我的系统信息:
系统状态
版本 core-2022.3.7
安装类型 Home Assistant Core
开发版 false
Supervisor false
Docker false
用户 root
虚拟环境 true
Python 版本 3.9.9
操作系统系列 Linux
操作系统版本 4.4.23+
CPU 架构 aarch64
时区 Asia/Shanghai

无法控制空调

可以正常添加集成,并登陆易微联账户,且正确地识别添加了空调。
image
但是无法对空调进行任何控制,并且可以显示空调的运行状态但无法显示当前温度。
image

日志中出现websocket error,具体如下:
image

当前pip中websocket-client的版本为1.1.0

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.