All Projects → fr31b3u73r → miThermoHygro

fr31b3u73r / miThermoHygro

Licence: MIT license
Xiaomi BLE Thermo- & Hygrometer implementation for Domoticz

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to miThermoHygro

Mi Flower mate plugin
A plugin for Domoticz, the open source home automation software, which allows it to easily connect to Xiaomi Mi Flower Mate devices
Stars: ✭ 13 (-18.75%)
Mutual labels:  xiaomi, domoticz
esphome-components
ESPHome components
Stars: ✭ 62 (+287.5%)
Mutual labels:  xiaomi
xiaomi gdrive
Google drive loader for xiaomi smart ip camera
Stars: ✭ 70 (+337.5%)
Mutual labels:  xiaomi
goodbye-mihome
Web UI and plugins to manage Xiaomi MiHome gateway, sensors and smart devices.
Stars: ✭ 92 (+475%)
Mutual labels:  xiaomi
MIUIROMS
MIUI官方ROM仓库
Stars: ✭ 61 (+281.25%)
Mutual labels:  xiaomi
mijia-homie
A Homie MQTT bridge for the Xiaomi Mijia 2 hygrometer-thermometer. This repo also serves as the monorepo for a handful of helper crates related to Homie and Bluetooth.
Stars: ✭ 40 (+150%)
Mutual labels:  xiaomi
homeassistant-mi-water-purifier
XiaoMi Water Purifier component for Home Assistant.
Stars: ✭ 70 (+337.5%)
Mutual labels:  xiaomi
BuyXMWear2Plugin
最近在小米官网上抢小米手环2一直抢不到,深痛小米恶心的饥饿营销,但是喜欢的宝贝还是要买滴[嘻嘻嘻],咋办呢?。刚好昨天阿里内部抢月饼的事件闹到头条,何不像他们学习写个插件抢手环2呢,何乐而不为!
Stars: ✭ 16 (+0%)
Mutual labels:  xiaomi
domoticz gaspar
Get Gaspar smart meter index to domoticz
Stars: ✭ 23 (+43.75%)
Mutual labels:  domoticz
Mi-Home-token-extractor
A simple way to find Xiaomi Home devices tokens from an iOS unencrypted backup
Stars: ✭ 13 (-18.75%)
Mutual labels:  xiaomi
kowalski-grus
WIP Kernel for Xiaomi MI 9 SE
Stars: ✭ 22 (+37.5%)
Mutual labels:  xiaomi
myconfig
My Home Assistant config
Stars: ✭ 143 (+793.75%)
Mutual labels:  xiaomi
EDLUnlock
Bootloader Unlock from EDL.
Stars: ✭ 25 (+56.25%)
Mutual labels:  xiaomi
xiaomiplug
Xiaomi Mi Smart WiFi Socket integration for Home Assistant
Stars: ✭ 99 (+518.75%)
Mutual labels:  xiaomi
Xiaomi.eu-MIUIv12-XML-Compare
MIUI 12 XML Daily Compare for Xiaomi.eu builds
Stars: ✭ 43 (+168.75%)
Mutual labels:  xiaomi
ioBroker.mihome-vacuum
Control your Xiaomi vacuum cleaner
Stars: ✭ 96 (+500%)
Mutual labels:  xiaomi
homebridge-yeelight-platform
Homebridge plugin for Yeelight Lights supporting Scenes/Moods/Color Flow/Custom Presets/Music Flow/Night Mode
Stars: ✭ 53 (+231.25%)
Mutual labels:  xiaomi
homely
🏠 - A bunch of mosquittos. IoT wiring and notification framework, with an unix style.
Stars: ✭ 15 (-6.25%)
Mutual labels:  domoticz
android device xiaomi libra
Device configuration for Mi-4c (libra) and Mi-4s (aqua)
Stars: ✭ 51 (+218.75%)
Mutual labels:  xiaomi
VacuumZones
Control zone cleaning for Xiaomi vacuum cleaners from voice assistants and Home Assistant
Stars: ✭ 39 (+143.75%)
Mutual labels:  xiaomi

miThermoHygro

Python Donate

Important information: This library was developed for working with FW version 00.00.66. Xiaomi might change interface in future FW updates!

This python script allows you interfacing Xiaomi BLE temperature and humidity sensors with Domoticz. To be able to use it your device needs a bluetooth hardware that supports BLE, Python (2) as well as external libraries as defined in imports. Tested on Raspberry Pi 3.

Setup

First you need to know the MAC addresses of your sensor devices (can be easily found using hcitool on PC/Mac or smarthone BLE scan apps). Next create a new hardware device in Domoticz using type "dummy" and add the according amount of your sensors as devices of type "Temp + Humidity" to it. Afterwards open the script and edit the Domoticz configuration to match your setup. Next add your sensors (with the MAC addresses you got above) and assign them to the according device Idx of domoticz. You can add as many sensors as you want (of course also only one is possible).

That´s it! Now whenever you run the Python script the sensor data in Domoticz gets updated. For continuous polling just create a cronjob for example on your device calling the Python script.

Supported values

  • temperature
  • humidity
  • battery level

Thanks

A big thanks to Dirk (distel) of the FHEM forum for reverse engineering the sensor!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].