Skip to content

An 'expect' script that reads Xiaomi temperature/humidity sensors and publishes to MQTT broker.

License

Notifications You must be signed in to change notification settings

larsenkb/ble2mqtt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

ble2mqtt.sh

A shell script that uses gatttool to read xiaomi temperature sensor and publish to mqtt broker. Runs on a Raspberry Pi Zero W. Needs gatttool, expect, tcl, mosquitto-clients.

TODO: Pass the BLE mac as an input parameter. Make a better JSON string. ???

About

An 'expect' script that reads Xiaomi temperature/humidity sensors and publishes to MQTT broker.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages