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

deye 成功接入 ha mqtt 服务器后不能控制 #4

Open
tzungtzu opened this issue Apr 14, 2021 · 4 comments
Open

deye 成功接入 ha mqtt 服务器后不能控制 #4

tzungtzu opened this issue Apr 14, 2021 · 4 comments

Comments

@tzungtzu
Copy link

hello 我现在homeassistant使用的2021.3.4版本,直接使用的你的mqtt代码,连接服务器没有问题,但是在ha上按按钮的时候会自动断开服务器,不知道是什么原因。
报错日志如下:
Logger: custom_components.mqtt
Source: custom_components/mqtt/init.py:921
Integration: MQTT (documentation)
First occurred: 下午4:26:56 (1 occurrences)
Last logged: 下午4:26:56

Disconnected from MQTT server ffffcae4711e7829100163e0f811e.mqtt.iot.gz.baidubce.com:1883 (1)

除湿机的型号是DYD-E12A3

@yongman
Copy link
Owner

yongman commented Apr 14, 2021

@tzungtzu 确认一下在集成里面重新配置一下mqtt,把birth和will消息全部取消,还有一个就是确认一下用户名密码是否正确。

@yongman
Copy link
Owner

yongman commented Apr 14, 2021

@tzungtzu 除湿机开关的状态能成功订阅到?

@tzungtzu
Copy link
Author

@tzungtzu 除湿机开关的状态能成功订阅到?

测试了一下,并不能获取到,是一直都是关闭。点击开关log就会显示断开。会失效一下然后回到关闭的状态

@tzungtzu
Copy link
Author

@tzungtzu 确认一下在集成里面重新配置一下mqtt,把birth和will消息全部取消,还有一个就是确认一下用户名密码是否正确。

我手机下了个mqtt客户端,点击可以连接到,不过不太清楚怎么发topic,还没有测试

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

2 participants