Comments (7)
问题已修,拉一下master最新代码即可
from haier.
新增climate实体可以提供一下空调对应的wifi_type,我看能不能做一个通用组件,wifi_type参数可在日志中Device Info
部分找到。
from haier.
新增climate实体可以提供一下空调对应的wifi_type,我看能不能做一个通用组件,wifi_type参数可在日志中
Device Info
部分找到。
抱歉回复您迟了,不知道为什么微软把github的邮件判断为垃圾邮件了,刚刚更新了master分支的代码设备控制功能已经恢复正常了。
wifi_type我在error日志中找到了如下:
Logger: custom_components.haier.haier
Source: custom_components/haier/haier.py:179
Integration: Haier ([documentation](https://github.com/banto6/haier), [issues](https://github.com/banto6/haier/issues))
First occurred: 21:59:51 (2 occurrences)
Last logged: 21:59:54
获取配置信息失败, wifi_type: 111c120024000810040100318001150000000000000000000000000000000000, response: {"status": "1", "data": null, "total": 0}
获取配置信息失败, wifi_type: 111c120024000810010200618003654100000000000061800376410000010000, response: {"status": "1", "data": null, "total": 0}
对应的两个设备DEBUG信息如下,再次感谢大佬的辛苦工作!
2023-07-08 04:21:39.302 DEBUG (MainThread) [custom_components.haier.coordinator] 设备[18A7F1AAD312]已获取到最新状态数据: {"intelligenceStatus": "false", "humidificationStatus": "false", "silentSleepStatus": "false", "electricHeatingStatus": "false", "ch2oValue": "0", "rapidMode": "false", "energySavePeriod": "20", "specialMode": "0", "10degreeHeatingStatus": "false", "ch2oCleaningStatus": "false", "humanSensingStatus": "0", "outdoorPM2p5Value": "0", "acType": "0", "lightStatus": "false", "totalCleaningTime": "81", "errCode": "", "totalElectricityUsed": "145686", "sensingResult": "0", "tempUnit": "1", "lockStatus": "false", "selfCleaningStatus": "false", "airQuality": "0", "operationModeHK": "0", "operationMode": "1", "co2Value": "0", "targetTemperature": "27.00", "vocValue": "0", "localFilterChangeFlag": "false", "energySavingStatus": "false", "freshAirStatus": "false", "windDirectionVertical": "0", "onOffStatus": "false", "halfDegreeSettingStatus": "false", "echoStatus": "false", "outdoorTemperature": "28.00", "pm2p5Level": "0", "indoorPM2p5Value": "8", "pmvStatus": "false", "muteStatus": "false", "healthMode": "false", "ErrAckFlag": "false", "pm2p5CleaningStatus": "false", "targetHumidity": "30", "indoorTemperature": "29.50", "windSpeed": "1", "heatAccumulationStatus": "false", "opSrc": "1", "screenDisplayStatus": "true", "windDirectionHorizontal": "0", "indoorHumidity": "0"}
2023-07-08 04:21:39.678 DEBUG (MainThread) [custom_components.haier.coordinator] 设备[18A7F146A350]已获取到最新状态数据: {"intelligenceStatus": "false", "humidificationStatus": "false", "silentSleepStatus": "false", "electricHeatingStatus": "false", "ch2oValue": "0", "rapidMode": "false", "energySavePeriod": "15", "specialMode": "0", "10degreeHeatingStatus": "false", "ch2oCleaningStatus": "false", "humanSensingStatus": "0", "outdoorPM2p5Value": "0", "acType": "0", "lightStatus": "false", "totalCleaningTime": "0", "errCode": "", "totalElectricityUsed": "0", "sensingResult": "0", "tempUnit": "1", "lockStatus": "false", "selfCleaningStatus": "false", "airQuality": "0", "operationModeHK": "0", "operationMode": "6", "co2Value": "0", "targetTemperature": "26.00", "vocValue": "0", "localFilterChangeFlag": "false", "energySavingStatus": "false", "freshAirStatus": "false", "windDirectionVertical": "0", "onOffStatus": "false", "halfDegreeSettingStatus": "false", "echoStatus": "false", "outdoorTemperature": "28.00", "pm2p5Level": "0", "indoorPM2p5Value": "0", "pmvStatus": "false", "muteStatus": "false", "healthMode": "false", "ErrAckFlag": "false", "pm2p5CleaningStatus": "false", "targetHumidity": "30", "indoorTemperature": "32.00", "windSpeed": "2", "heatAccumulationStatus": "false", "opSrc": "1", "screenDisplayStatus": "true", "windDirectionHorizontal": "7", "indoorHumidity": "0"}
from haier.
error日志中的wifi_type是无法识别的设备,应该查看Device Info
部分的日志
from haier.
error日志中的wifi_type是无法识别的设备,应该查看
Device Info
部分的日志
抱歉大佬不知道是不是方法不对,我实在是没找到Device Info这个字段的日志(已经开了DEBUG模式)。
from haier.
试试这个呢
配置 > 系统 > 日志 > 加载完整日志
from haier.
试试这个呢
配置 > 系统 > 日志 > 加载完整日志
找到了!感谢大佬!
2023-07-08 03:59:50.197 DEBUG (MainThread) [custom_components.haier] Device Info: {'_raw_data': {'deviceId': '18A7F146A350', 'deviceName': '挂式空调', 'deviceType': '0201201G', 'online': True, 'permissions': [{'auth': {'control': True, 'set': True, 'view': True}, 'authType': 'owner'}, {'auth': {'control': True, 'set': False, 'view': True}, 'authType': 'home'}], 'productCodeT': 'AAABNH001', 'productNameT': 'KFR-35GW/05SNA81U1套机', 'totalPermission': {'control': True, 'set': True, 'view': True}, 'wifiType': '2008610800820324021200118007264200000000000000000000000000000040'}}
2023-07-08 03:59:51.461 DEBUG (MainThread) [custom_components.haier] Device Info: {'_raw_data': {'deviceId': '04FA83FA81E5', 'deviceName': '我家卡萨帝洗衣机', 'deviceType': '04001023', 'online': True, 'permissions': [{'auth': {'control': True, 'set': True, 'view': True}, 'authType': 'owner'}, {'auth': {'control': True, 'set': False, 'view': True}, 'authType': 'home'}], 'productCodeT': 'CB0JR000X', 'productNameT': 'C601 30RG', 'totalPermission': {'control': True, 'set': True, 'view': True}, 'wifiType': '111c120024000810040100318001150000000000000000000000000000000000'}}
from haier.
Related Issues (20)
- climate卡片部分机型无法开机,风管机通过climate卡片无法正常开机,挂机正常 HOT 10
- 洗衣机/洗护设备“提示信息”“洗涤阶段”传感器不可用 HOT 3
- 所有设备只有 sensor 和 binary sensor HOT 4
- 不能识别海尔燃气热水器 HOT 1
- 在hass中配置,集成中没有haier,只有haier hon HOT 4
- 海尔立式空调无法接入 型号:KFR-72L/GCB81U1室内机总成 HOT 6
- 卡萨帝冰箱温度传感器原始数据比实际数据大38 HOT 4
- 海尔燃气热水器能否改成climate类型的? HOT 2
- 海尔洗衣机 Warning-attribute airWashPara36 not found in the coordinator HOT 1
- 海尔空调无法控制 HOT 6
- 海尔JSQ31-16KN5致远U1燃气热水器接入后只有传感器,无开关 HOT 1
- 海尔空调的Climate (Beta)模块的疑问 HOT 8
- 设置零冷水状态优化 HOT 2
- 卡萨帝空调添加后无climate实体 HOT 3
- 海尔电热水器EC6002-D6(U1)没接入成功 HOT 2
- 提交一个冰箱小bug HOT 3
- 空调显示当前温度及设置温度异常 HOT 11
- 认证失败 HOT 3
- 账户认证失败 HOT 1
- 卡萨帝冰箱和洗衣机无法接入 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from haier.