nt0xa / homebridge-mi-humidifier

A Xiaomi Mi humidifier plugin for Homebridge
MIT License
64 stars 24 forks source link

deerma.humidifier.jsq4 #105

Open louliangsheng opened 2 years ago

louliangsheng commented 2 years ago

Hi! My humidifier model is deerma.humidifier.jsq4. If the parameter update interval is small, it will often time out. If the parameter update interval is set large, the device status will not be updated in time. DE0F2954-7442-4E07-825A-A8FC47237175 3F5BC67C-32D1-4EC9-9BC9-0CBBEB3B933C

Charliecheung2 commented 2 years ago

What interval did you set? Min and max value.

louliangsheng commented 2 years ago

@Charliecheung2 我开始最大值设置的60s,加湿器状态更新太慢,即使设置成60s,也会出现timeout超时,所以我后来设置成了15s,虽然会出现timeout超时,但是却不影响使用,状态更新变快了,而且再使用过一段时间后,就不会出现timeout,然后过一段时间又会出现。

Charliecheung2 commented 2 years ago

socket超时应该是plugin给home bridge service获取属性或者发送指令的时候的请求。貌似是homebridge返回的错误。这边只是把它打印出来了而已。

louliangsheng commented 2 years ago

为了响应更快,我设置成了5秒,控制没什么问题。如果能屏蔽这个超时就好了

Charliecheung2 commented 2 years ago

貌似正常情况下也会有超时的存在