core: mitemp_bt: "Could not read data from [properly configured] Mi Temp sensor"

Home Assistant release with the issue: 0.77.3

Last working Home Assistant release (if known): Unknown.

Operating environment (Hass.io/Docker/Windows/etc.): Hass.io

Component/platform: mitemp_bt

Description of problem: I’ve got two of these devices both configured as per the documentation. I got their MAC addresses using an Android app called BLE Scanner. I was also able to read (though not decode) sensor data for both sensors within this app. This, along with the fact that both found BLE devices had the name “MJ_HT_V1” (also mentioned in the docs) confirms that I’ve got the correct MAC addresses.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant): From (an otherwise functional) sensors.yaml which is included under “sensor:” in my main config file.

- platform: mitemp_bt
  mac: '4C:65:A8:D8:79:89'

- platform: mitemp_bt
  mac: "4C:65:A8:D8:79:96"

Traceback (if applicable):

2018-09-06 02:14:59 WARNING (SyncWorker_1) [homeassistant.components.sensor.mitemp_bt] Polling error 
2018-09-06 02:14:59 WARNING (SyncWorker_0) [homeassistant.components.sensor.mitemp_bt] Polling error Could not read data from Mi Temp sensor 4C:65:A8:D8:79:89
2018-09-06 02:14:59 WARNING (SyncWorker_4) [homeassistant.components.sensor.mitemp_bt] Polling error Could not read data from Mi Temp sensor 4C:65:A8:D8:79:96
2018-09-06 02:14:59 WARNING (SyncWorker_7) [homeassistant.components.sensor.mitemp_bt] Polling error 
2018-09-06 02:15:30 WARNING (SyncWorker_13) [homeassistant.components.sensor.mitemp_bt] Polling error Could not read data from Mi Temp sensor 4C:65:A8:D8:79:96

Additional information:

  • After leaving this configuration over night I have more than 5600 lines in the log that mostly just repeats the traceback above.
  • According to the AliExpress product description, my devices have the model number LYWSDCGQ/01ZM.

Edit: Formatting.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 5
  • Comments: 32

Most upvoted comments

Hi,

i created a new integration for new temp sensor of xiaomi for HA, can you download from https://github.com/gallynero/mitemp2_bt