Skip to content

Bash script to output temperature, humidity and/or battery level from Xiaomi Mijia Bluetooth LE sensors

License

Notifications You must be signed in to change notification settings

pyksy/read-xiaomi-mijia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

read-xiaomi-mijia

Bash script to output temperature, humidity and/or battery level from Xiaomi Mijia Bluetooth LE sensors using gatttool from BlueZ protocol stack on Linux.

Sample usage:

$ ./read-xiaomi-mijia.sh -b A4:C1:38:03:13:37 -s
23.33 37 99

To find your sensors' bluetooth addresses you can run

hcitool lescan

and look for MACs starting with A4:C1:38.

About

Bash script to output temperature, humidity and/or battery level from Xiaomi Mijia Bluetooth LE sensors

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages