Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dolezsa/Xiaomi_Hygrothermo
Home-assistant sensor platform for Xiaomi Mijia BT Hygrothermo temperature and humidity sensor
https://github.com/dolezsa/Xiaomi_Hygrothermo
Last synced: about 15 hours ago
JSON representation
Home-assistant sensor platform for Xiaomi Mijia BT Hygrothermo temperature and humidity sensor
- Host: GitHub
- URL: https://github.com/dolezsa/Xiaomi_Hygrothermo
- Owner: dolezsa
- License: mit
- Created: 2018-03-12T00:19:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-12-26T04:25:53.000Z (almost 3 years ago)
- Last Synced: 2024-08-02T20:45:56.488Z (3 months ago)
- Language: Python
- Size: 6.84 KB
- Stars: 89
- Watchers: 11
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-home-assistant - Xiaomi Hygrothermo - Sensor platform for Xiaomi Mijia BT Hygrothermo temperature and humidity sensor. (Custom Integrations / Alternative Dashboards)
README
# Xiaomi_Hygrothermo
Home-assistant sensor platform for Xiaomi Mijia BT Hygrothermo temperature and humidity sensor.
## Usage
To use, add the following to your `configuration.yaml` file:
```
sensor:
- platform: xiaomi_hygrothermo
name: mijia ht #1
mac: 'xx:xx:xx:xx:xx:xx'
scan_interval: 60
```- mac is required.
- default "scan" interval is every 30 seconds.## Determine the MAC address
using hcitool:
```
$ sudo hcitool lescan
LE Scan ...
LE Scan ...
4C:65:A8:xx:xx:xx (unknown)
4C:65:A8:xx:xx:xx MJ_HT_V1
[...]
```using bluetoothctl:
```
$ sudo bluetoothctl
[NEW] Controller xx:xx:xx:xx:xx:xx homeqube [default]
[bluetooth]# scan on
Discovery started
[CHG] Controller xx:xx:xx:xx:xx:xx Discovering: yes
[NEW] Device 4C:65:A8:xx:xx:xx MJ_HT_V1
[bluetooth]#
[bluetooth]# quit
```look for MJ_HT_V1 devices...