Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: 米家智能晾衣机烘干款缺少日光 #35

Open
Jimmo-o opened this issue Dec 16, 2024 · 13 comments
Open

[Bug]: 米家智能晾衣机烘干款缺少日光 #35

Jimmo-o opened this issue Dec 16, 2024 · 13 comments
Assignees
Labels
bug Something isn't working

Comments

@Jimmo-o
Copy link
Contributor

Jimmo-o commented Dec 16, 2024

Describe the bug / 描述问题

米家智能晾衣机烘干款灯光只有月光,缺少日光

To Reproduce / 复现步骤

hyd.airer.lyjpro有两个light开关,目前可操作的灯是月光,缺少日光

Expected behavior / 预期结果

可切换日/月光

Home Assistant Logs / 系统日志

No response

Home Assistant Core version / Home Assistant Core 版本

latest

Home Assistant Operation System version / Home Assistant Operation System 版本

latest

Xiaomi Home integration version / 米家集成版本

latest

Additional context / 其他说明

No response

@Jimmo-o Jimmo-o added the bug Something isn't working label Dec 16, 2024
@SusanPhevos SusanPhevos self-assigned this Dec 17, 2024
@SusanPhevos
Copy link
Contributor

您好!请发一下hyd.airer.lyjpro操作界面的截图。

@Jimmo-o
Copy link
Contributor Author

Jimmo-o commented Dec 17, 2024

Screenshot_20241217_120213

@Jimmo-o
Copy link
Contributor Author

Jimmo-o commented Dec 17, 2024

请参考:https://note.p.lzj.ac.cn/s/bd635048-ae38-43c9-9f31-d61175a01cf6/doc/6k65ash5bge5ocn57y65asx-S3aYBqlRvw

手动切换日光,灯实体会被关闭。灯下面也没有选项

@SusanPhevos
Copy link
Contributor

@Jimmo-o 请帮忙验证一下这个修复是否解决了你的问题 #284

@Jimmo-o
Copy link
Contributor Author

Jimmo-o commented Dec 20, 2024

@Jimmo-o 请帮忙验证一下这个修复是否解决了你的问题 #284

新出现一个灯实体,是日光,之前月光的不可用了

@SusanPhevos
Copy link
Contributor

@Jimmo-o 请帮忙验证一下这个修复是否解决了你的问题 #284

新出现一个灯实体,是日光,之前月光的不可用了

试试 设置 > 设备与服务 > 已配置 > Xiaomi Home > 配置 > 更新实体转换规则 & 更新设备列表,将这个设备移除再重新添加一下。如果仍不可用,请把重新添加设备时的日志发给我看一看。

@Jimmo-o
Copy link
Contributor Author

Jimmo-o commented Dec 22, 2024

@SusanPhevos
不知道为什么,变回日光了,另一个仍不可用

2024-12-22 16:49:00.477 INFO (MainThread) [custom_components.xiaomi_home.miot.miot_device] new miot service entity, 米家智能晾衣机 烘干款, 灯, light, xiaomi_home.hyd_cn_12345678_lyjpro_s_3_Light
2024-12-22 16:49:00.478 INFO (MainThread) [custom_components.xiaomi_home.miot.miot_device] new miot service entity, 米家智能晾衣机 烘干款, 灯, light, xiaomi_home.hyd_cn_12345678_lyjpro_s_3_Moonlight
2024-12-22 16:49:00.486 DEBUG (MainThread) [custom_components.xiaomi_home.miot.miot_client] client sub prop, 12345678/p/3/1
2024-12-22 16:49:00.487 DEBUG (MainThread) [custom_components.xiaomi_home.miot.miot_client] client sub prop, 12345678/p/3/2

2024-12-22 16:49:01.724 INFO (MainThread) [custom_components.xiaomi_home.miot.miot_client] device sub changed, 12345678, from None to cloud
2024-12-22 16:49:01.735 DEBUG (ha.262503002c48fb1397584c539c48f9c1) [custom_components.xiaomi_home.miot.miot_client] ha.262503002c48fb1397584c539c48f9c1, mips sub internal success, device/12345678/up/properties_changed/#
2024-12-22 16:49:01.736 DEBUG (ha.262503002c48fb1397584c539c48f9c1) [custom_components.xiaomi_home.miot.miot_client] ha.262503002c48fb1397584c539c48f9c1, mips sub internal success, device/12345678/up/event_occured/#
2024-12-22 16:49:02.431 DEBUG (SyncWorker_50) [custom_components.xiaomi_home.miot.miot_cloud] mihome api post, https://ha.api.io.mi.com/app/v2/miotspec/prop/get, {'datasource': 1, 'params': [{'did': '12345678', 'siid': 3, 'piid': 2}, {'did': '12345678', 'siid': 2, 'piid': 6}, {'did': '12345678', 'siid': 2, 'piid': 8}, {'did': '12345678', 'siid': 2, 'piid': 9}, {'did': '12345678', 'siid': 2, 'piid': 5}, {'did': '12345678', 'siid': 2, 'piid': 7}, {'did': '12345678', 'siid': 2, 'piid': 10}, {'did': '12345678', 'siid': 3, 'piid': 3}, {'did': '12345678', 'siid': 2, 'piid': 1}, {'did': '12345678', 'siid': 2, 'piid': 3}, {'did': '12345678', 'siid': 2, 'piid': 4}, {'did': '12345678', 'siid': 2, 'piid': 11}, {'did': '12345678', 'siid': 4, 'piid': 1}, {'did': '12345678', 'siid': 4, 'piid': 2}, {'did': '12345678', 'siid': 2, 'piid': 12}]} -> {'code': 0, 'message': 'ok', 'result': [{'did': '12345678', 'iid': '0.3.2', 'siid': 3, 'piid': 2, 'value': False, 'code': 0, 'updateTime': 1734856178, 'exe_time': 0}, {'did': '12345678', 'iid': '0.2.6', 'siid': 2, 'piid': 6, 'value': 0, 'code': 0, 'updateTime': 1734724873, 'exe_time': 0}, {'did': '12345678', 'iid': '0.2.8', 'siid': 2, 'piid': 8, 'value': 1, 'code': 0, 'updateTime': 1734724873, 'exe_time': 0}, {'did': '12345678', 'iid': '0.2.9', 'siid': 2, 'piid': 9, 'value': 70, 'code': 0, 'updateTime': 1734724873, 'exe_time': 0}, {'did': '12345678', 'iid': '0.2.5', 'siid': 2, 'piid': 5, 'value': 0, 'code': 0, 'updateTime': 1734724873, 'exe_time': 0}, {'did': '12345678', 'iid': '0.2.7', 'siid': 2, 'piid': 7, 'value': 0, 'code': 0, 'updateTime': 1734724873, 'exe_time': 0}, {'did': '12345678', 'iid': '0.2.10', 'siid': 2, 'piid': 10, 'value': 0, 'code': 0, 'updateTime': 1734724873, 'exe_time': 0}, {'did': '12345678', 'iid': '0.3.3', 'siid': 3, 'piid': 3, 'value': 1, 'code': 0, 'updateTime': 1734857342, 'exe_time': 124, 'net_cost': 116, 'ot_cost': 49, 'otlocalts': 1734857342201951, 'oa_cost': -1, '_oa_rpc_cost': 292}, {'did': '12345678', 'iid': '0.2.1', 'siid': 2, 'piid': 1, 'value': 0, 'code': 0, 'updateTime': 1734857331, 'exe_time': 0}, {'did': '12345678', 'iid': '0.2.3', 'siid': 2, 'piid': 3, 'value': 1, 'code': 0, 'updateTime': 1734724873, 'exe_time': 0}, {'did': '12345678', 'iid': '0.2.4', 'siid': 2, 'piid': 4, 'value': 0, 'code': 0, 'updateTime': 1734856823, 'exe_time': 0}, {'did': '12345678', 'iid': '0.2.11', 'siid': 2, 'piid': 11, 'value': 1, 'code': 0, 'updateTime': 1734856823, 'exe_time': 0}, {'did': '12345678', 'iid': '0.4.1', 'siid': 4, 'piid': 1, 'code': -704002000, 'exe_time': 0}, {'did': '12345678', 'iid': '0.4.2', 'siid': 4, 'piid': 2, 'code': -704002000, 'exe_time': 0}, {'did': '12345678', 'iid': '0.2.12', 'siid': 2, 'piid': 12, 'value': False, 'code': 0, 'updateTime': 1734724873, 'exe_time': 0}]}
2024-12-22 16:49:02.434 DEBUG (MainThread) [custom_components.xiaomi_home.miot.miot_device] properties changed, {'did': '12345678', 'iid': '0.3.2', 'siid': 3, 'piid': 2, 'value': False, 'code': 0, 'updateTime': 1734856178, 'exe_time': 0}
2024-12-22 16:49:02.434 DEBUG (MainThread) [custom_components.xiaomi_home.miot.miot_device] property changed, {'did': '12345678', 'iid': '0.2.6', 'siid': 2, 'piid': 6, 'value': 0, 'code': 0, 'updateTime': 1734724873, 'exe_time': 0}

@SusanPhevos
Copy link
Contributor

hyd.airer.lyjpro

请在米家APP中操作日光、月光开关开启、关闭各2次,并将Home Assistant日志发送至[email protected]。初步看是云端链路有问题,我们需要排查消息转发服务,需要设备详细信息,请不要修改日志中的设备unique_id

@Jimmo-o
Copy link
Contributor Author

Jimmo-o commented Dec 23, 2024

重启了一次home assistant,两个灯实体都正常了。切换无此设备的家庭后重启,再切换回来就能复现问题,再次重启后问题解决。还需要日志吗

@SusanPhevos
Copy link
Contributor

重启了一次home assistant,两个灯实体都正常了。切换无此设备的家庭后重启,再切换回来就能复现问题,再次重启后问题解决。还需要日志吗

“切换无此设备的家庭后重启,再切换回来”能说详细一点吗?具体怎样操作呢?
这个问题看起来很有价值,我们希望您能提供一下日志

@Jimmo-o
Copy link
Contributor Author

Jimmo-o commented Dec 23, 2024

重启了一次home assistant,两个灯实体都正常了。切换无此设备的家庭后重启,再切换回来就能复现问题,再次重启后问题解决。还需要日志吗

“切换无此设备的家庭后重启,再切换回来”能说详细一点吗?具体怎样操作呢? 这个问题看起来很有价值,我们希望您能提供一下日志

更新设备列表,导入设备的家庭选择没有这个设备的家庭➡️重启home assistant➡️更新设备列表,导入设备的家庭选择有这个设备的家庭

@Jimmo-o
Copy link
Contributor Author

Jimmo-o commented Dec 26, 2024

@SusanPhevos 23号下午日志发过去了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants