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

Xiaomi Miot Auto: Set miot property服务调用报错 #1551

Closed
xbdian opened this issue Feb 27, 2024 · 8 comments
Closed

Xiaomi Miot Auto: Set miot property服务调用报错 #1551

xbdian opened this issue Feb 27, 2024 · 8 comments

Comments

@xbdian
Copy link

xbdian commented Feb 27, 2024

Device model / 设备型号

zimi.waterheater.h01

Component version / 插件版本

0.7.15

HA core version / HA版本

2024.2.4

Integrated mode / 集成方式

Local (本地模式)

The problem / 问题详情

Xiaomi Miot Auto: Set miot property服务调用报错。

Entity attributes / 实体属性

无实体

Home Assistant Logs / 系统日志

日志详细信息( ERROR )
Logger: homeassistant.components.websocket_api.messages
Source: components/websocket_api/messages.py:248
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 16:12:20 (7 occurrences)
Last logged: 21:15:01

Unable to serialize to JSON. Bad data found at $.result.response.result={'did': '572558832', 'siid': 2, 'piid': 8, 'code': 0}(<class 'custom_components.xiaomi_miot.core.miot_spec.MiotResult'>
Unable to serialize to JSON. Bad data found at $.result.response.result={'did': '572558832', 'siid': 2, 'piid': 2, 'code': 0}(<class 'custom_components.xiaomi_miot.core.miot_spec.MiotResult'>

@idiot110
Copy link

请问你的问题解决了吗

@xbdian
Copy link
Author

xbdian commented Feb 28, 2024

请问您的问题解决了吗

没有,node-red配置的很多流暂时无法使用,你也碰到这个问题了吗?

@idiot110
Copy link

是的更新2.4之后这个集成就用不了了,目前推送了2.5我先更新看能不能好,不能好只能回退了,

@xbdian
Copy link
Author

xbdian commented Feb 29, 2024

是的更新2.4之后这个集成就用不了了,目前推送了2.5我先更新看能不能好,不能好只能回退了,

@xbdian xbdian closed this as completed Feb 29, 2024
@xbdian
Copy link
Author

xbdian commented Feb 29, 2024

是的更新2.4之后这个集成就用不了了,目前推送了2.5我先更新看能不能好,不能好只能回退了,

我已经更新了,今天仔细看了下,目前我主要使用了xiaomi_miot.call_action、xiaomi_miot.set_miot_property这2个服务,其中xiaomi_miot.call_action是正常的,就是xiaomi_miot.set_miot_property报错。

@al-one
Copy link
Owner

al-one commented Mar 4, 2024

Fixed in master branch.

@xbdian
Copy link
Author

xbdian commented Mar 4, 2024

Fixed in master branch.

非常感谢,刚刚测试了,可以使用了。👍

@xbdian
Copy link
Author

xbdian commented Mar 4, 2024

请问你的问题解决了吗

作者已经进行修复了,目前我这边用最新版测试没有报错了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants