Skip to content

Commit

Permalink
remove battery YLYK01YL
Browse files Browse the repository at this point in the history
  • Loading branch information
Ernst79 committed May 15, 2021
1 parent 9459707 commit 8fda24b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ This integration supports **Xiaomi MiBeacon, Qingping, ATC, Xiaomi Scale and Keg
|Name|Description|Picture|
|---|---|---|
|**LYWSDCGQ** <img width=100/>|**Xiaomi Hygro thermometer**<br /><br />Round body, segment LCD, broadcasts temperature, humidity and battery level, about 20 readings per minute. <img width=100/>|![LYWSDCGQ](/pictures/LYWSDCGQ.jpg) <img width=1500/>|
|**CGG1**|**Qingping Hygro thermometer**<br /><br />Round body, E-Ink, broadcasts temperature, humidity and battery level, about 20 readings per minute. Note that there are (at least) three versions, CGG1, CGG1-M (MiHome version) and CGG1-H (Homekit version). The CGG1-H (Homekit version) is not supported. The CGG1-M (MiHome version) works with encryption and has a `qingping` logo at the back (left picture), while the old CGG1 works without encryption and doesn't have a logo at the back (right picture).<br /><br />![CGG1](/pictures/CGG1-back.png)<br /><br />For sensors with encryption, you will need to set the encryption key in your configuration, see for instructions the [encryption_key](#encryption_key) option.<br /><br />CGG1-M (MiHome version) also supports custom ATC firmware available [here](https://github.com/pvvx/ATC_MiThermometer). The old CGG1 does not support custom firmware. |![CGG1](/pictures/CGG1.png)|
|**CGG1**|**Qingping Hygro thermometer**<br /><br />Round body, E-Ink, broadcasts temperature, humidity and battery level, about 20 readings per minute, although expection have been reported with 1 reading per 10 minutes. Note that there are (at least) three versions, CGG1, CGG1-M (MiHome version) and CGG1-H (Homekit version). The CGG1-H (Homekit version) is not supported. The CGG1-M (MiHome version) works with encryption and has a `qingping` logo at the back (left picture), while the old CGG1 works without encryption and doesn't have a logo at the back (right picture).<br /><br />![CGG1](/pictures/CGG1-back.png)<br /><br />For sensors with encryption, you will need to set the encryption key in your configuration, see for instructions the [encryption_key](#encryption_key) option.<br /><br />CGG1-M (MiHome version) also supports custom ATC firmware available [here](https://github.com/pvvx/ATC_MiThermometer). The old CGG1 does not support custom firmware. |![CGG1](/pictures/CGG1.png)|
|**CGDK2**|**Qingping Temp & RH Monitor Lite**<br /><br />Round body, E-Ink, broadcasts temperature, humidity and battery level, about 1 readings per 10 minutes, advertisements are encrypted, therefore you need to set the key in your configuration, see for instructions the [encryption_key](#encryption_key) option.|![CGDK2](/pictures/CGDK2.png)|
|**LYWSD02**|**Xiaomi Temperature and Humidity sensor**<br /><br />Rectangular body, E-Ink, broadcasts temperature, humidity and battery level (battery level is available for firmware version 1.1.2_00085 and later), about 20 readings per minute.|![LYWSD02](/pictures/LYWSD02.jpeg)|
|**LYWSD03MMC**|**Xiaomi Hygro thermometer**<br /><br />Small square body, segment LCD, broadcasts temperature and humidity once in about 10 minutes and battery level once in an hour (original firmware). With the original firmware, advertisements are encrypted, therefore you need to set an encryption key in your configuration, see for instructions the [encryption_key](#encryption_key) option (not needed for sensors with custom firmware).<br /><br />`ble_monitor` also supports custom ATC firmware (both the firmware by `ATC1441`, available [here](https://github.com/atc1441/ATC_MiThermometer), and the improved firmware by `pvvx` available [here](https://github.com/pvvx/ATC_MiThermometer)). Both custom firmware's broadcast temperature, humidity, battery voltage and battery level in percent (note that both battery sensors are only visible as sensor with `batt_entities: True`). Reloading the integration is needed to receive the voltage sensor after switching the firmware. For the `pvvx` firmware, it is advised to change the `advertisement type` from `all` to `custom`. Sending multiple advertisment types at the same time might cause the voltage sensor from not showing up, depending on which advertisement comes first. The advertisement type `custom` will also result in a higher accuracy.|![LYWSD03MMC](/pictures/LYWSD03MMC.jpg)|
Expand All @@ -61,7 +61,7 @@ This integration supports **Xiaomi MiBeacon, Qingping, ATC, Xiaomi Scale and Keg
|**MMC-T201-1**|**Xiaomi Miaomiaoce Digital Baby Thermometer**<br /><br />Broadcasts temperature and battery state. The calculated body temperature is displayed in BLE Monitor, please note the disclaimer below. About 15-20 messages per minute.<br /><br />**DISCLAIMER**<br />The sensor sends two temperatures in the BLE advertisements, that are converted to a body temperature with a certain algorithm in the original app. We tried to reverse engineering this relation, but we were only able to approximate the relation in the range of 36.5°C - 37.9°C at this moment. It has not been calibrated at elevated body temperature (e.g. if someone has a fever), so measurements displayed in Home Assistant might be different (wrong) compared to those reported in the app. It is therefore advised NOT to rely on the measurements in BLE monitor if you want to monitor your or other peoples body temperature / health). If you have additional measurements, especially outside the investigated range, please report them in this [issue](https://github.com/custom-components/ble_monitor/issues/264).|![MMC-T201-1](/pictures/MMC-T201-1.jpg)|
|**M1S-T500**|**Xiaomi Mi Electric Toothbrush T500**<br /><br />Broadcasts `toothbrush mode` and `battery state`. At the moment, we are looking into the meaning of the different states. If you have more info which state corresponds to what, please post a message in [this topic](https://github.com/custom-components/ble_monitor/issues/319)|![M1S-T500](/pictures/M1S-T500.jpg)|
|**YLAI003**|**Yeelight Smart Wireless Switch**<br /><br />Broadcasts `single press`, `double press` and `long press`. After each button press, the sensor state shortly shows the type of press and will return to `no press` after 1 second. The sensor has an attribute which shows the `last button press`. You can use the state change event to trigger an automation in Home Assistant. Advertisements are encrypted, you need to set the encryption key in your configuration, see for instructions the [encryption_key](#encryption_key) option.|![YLAI003](/pictures/YLAI003.jpg)|
|**YLYK01YL**|**Yeelight Remote Control**<br /><br />Broadcasts the remote button (`on`, `off`, `sun`, `+`, `M`, `-`) in combination with the type of press (`single press`, `double press` and `long press`). The state of the remote sensor shows the remote button that is used, the type of press is added as an attribute to the remote sensor. Additinally, a binary sensor is generated, which is `True` when pressing `on`, `+` or `-` and `False` when pressing `off`||
|**YLYK01YL**|**Yeelight Remote Control**<br /><br />Broadcasts the remote button being used (`on`, `off`, `sun`, `+`, `M`, `-`) in combination with the type of press (`single press` or `long press`). The state of the remote sensor shows the combination of both, the attributes shows the button being used and the type of press individually. Additinally, two binary sensors are generated (one for `short press`, one for `long press`), which is `True` when pressing `on`, `+` or `-` and `False` when pressing `off`||
|**XMTZC01HM, XMTZC04HM**|**Mi Smart Scale 1 / Mi Smart Scale 2**<br /><br />Broadcasts `weight`, `non-stabilized weight` and `weight removed`. The `weight` is only reported after the scale is stabilized, while the `non-stabilized weight` is reporting all weight measurements. For additional data like BMI, viscaral fat, etc. you can use e.g. the [bodymiscale](https://github.com/dckiller51/bodymiscale) custom integration. If you want to split your measurements into different persons, you can use [this template sensor](https://community.home-assistant.io/t/integrating-xiaomi-mi-scale/9972/533) https://community.home-assistant.io/t/integrating-xiaomi-mi-scale/9972/533?u=ernst |![XMTZC05HM](/pictures/XMTZC04HM.png)|
|**XMTZC02HM, XMTZC05HM, NUN4049CN**|**Mi Body Composition Scale 2 / Mi Body Fat Scale**<br /><br />Broadcasts `weight`, `non-stabilized weight`, `impedance` and `weight removed`. The `weight` is only reported after the scale is stabilized, while the `non-stabilized weight` is reporting all weight measurements. For additional data like BMI, viscaral fat, muscle mass etc. you can use e.g. the [bodymiscale](https://github.com/dckiller51/bodymiscale) custom integration. If you want to split your measurements into different persons, you can use [this template sensor](https://community.home-assistant.io/t/integrating-xiaomi-mi-scale/9972/533)|![XMTZC05HM](/pictures/XMTZC05HM.png)|
|**Kegtron KT-100, KT-200**|**Kegtron KT-100 / KT-200**<br /><br />Broadcasts `volume dispensed` for each port and port attributes (`keg size`, `start volume`, `state`, `index` and `port name`. Kegtron devices only send data with the option [active_scan](#active_scan) set to `True`, so make sure you change this setting, as the default is `False`|![Kegtron](/pictures/kegtron.jpg)|
Expand Down
2 changes: 1 addition & 1 deletion custom_components/ble_monitor/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
'MMC-T201-1' : [[0, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [9, 9, 9, 9, 9, 9, 9, 9]],
'M1S-T500' : [[9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 0, 9, 1], [9, 9, 9, 9, 9, 9, 9, 9]],
'YLAI003' : [[9, 9, 9, 9, 9, 9, 9, 9, 0, 9, 9, 9, 9, 9, 9, 9, 1], [9, 9, 9, 9, 9, 9, 9, 9]],
'YLYK01YL' : [[9, 9, 9, 9, 9, 9, 9, 9, 9, 0, 9, 9, 9, 9, 9, 9, 1], [0, 9, 9, 9, 9, 9, 9, 1]],
'YLYK01YL' : [[9, 9, 9, 9, 9, 9, 9, 9, 9, 0, 9, 9, 9, 9, 9, 9, 9], [0, 9, 9, 9, 9, 9, 9, 9]],
'Mi Scale V1' : [[9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 0, 1, 9, 9, 9, 9, 9], [9, 9, 9, 9, 9, 9, 0, 9]],
'Mi Scale V2' : [[9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 0, 1, 2, 9, 9, 9, 9], [9, 9, 9, 9, 9, 9, 0, 9]],
'Kegtron KT-100' : [[9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 0, 9, 9, 9], [9, 9, 9, 9, 9, 9, 9, 9]],
Expand Down
Loading

0 comments on commit 8fda24b

Please sign in to comment.