bt-mqtt-gateway icon indicating copy to clipboard operation
bt-mqtt-gateway copied to clipboard

LYWSDCGQ support

Open hugosbnarciso opened this issue 4 years ago • 4 comments

Thank you for your work!

Device name / url Support for Mi Temperature & Humidity Sensor (LYWSDCGQ) Screen Shot 2020-06-07 at 23 47 09

Link to some sample code / lib that supports this device https://github.com/custom-components/sensor.mitemp_bt https://github.com/JsBergbau/MiTemperature2

Functions and features Temperature / Humidity / Battery

Checklist

  • [x] I understand that supporting a device, that no one owns or uses, may required a long wait time, or might never end up being supported.

hugosbnarciso avatar Jun 07 '20 19:06 hugosbnarciso

Is this different from the mithermometer that is already supported?

dhutchison avatar Jan 24 '21 00:01 dhutchison

This indeed is supported by mithermometer.

However, to people using it, what's your update_interval and command_timeout for this? I have:

command_timeout: 120
update_interval: 120

And very often I can see "Time out during update of mithermometer device". :/

cadavre avatar Feb 18 '21 08:02 cadavre

I have my command timeout as the default, the per_device_timeout as 15, and the update_interval as 300.

Saying that I am seeing more timeouts than I used to.

dhutchison avatar Feb 18 '21 09:02 dhutchison

I just changed to:

command_timeout: 120
update_interval: 60
per_device_timeout: 30  // added this as previously I had default '6'

And just a single timeout in last hour.

cadavre avatar Feb 18 '21 09:02 cadavre