GitHunt
GE

gene1wood/temperature-sensor-scanner

A tool to scan nearby Bluetooth Low Energy thermometers on the Telink chipset, collect the data ane emit it into InfluxDB.

temperature-sensor-scanner

A tool to scan nearby Bluetooth Low Energy thermometers on the Telink chipset, collect the data ane emit it into
InfluxDB.

Setup

  • Create an influxdb user with a command like influx user create --org [my-org] --name [my-username] --password [my-password]
  • Create an influxdb token with a command like influx auth create --org [my-org] --user [my-username] --write-bucket [my-bucket-id]
  • Create a config.yaml in ~/.config/temperature-sensor-scanner/ based on the config.example.yaml file
  • Install this tool with a command like pip install temperature-sensor-scanner

Usage

Run temperature-sensor-scanner which will scan for nearby sensors which are emitting temperature data in their Bluetooth
advertising string, collect that data, and emit it into InfluxDB.

Notes

Steps to provision a new sensor

  • Flash the firmware
    • Click Connect
    • Select the LYWSD03MMC Bluetooth device in the menu
    • Click Do Activation
    • Choose Custom Firmware ATC_v56.bin
    • Click Start Flashing
    • Wait 42 seconds for it to show update done
  • Identify ID from Bluetooth announced name and print a label to put on the sensor
  • Quit Chrome and start again
  • Configure sensor
    • Set display to Farenheight
    • Click Set Time
    • Set advertising type to ATC1441
    • Set advertising interval to 10000 ( pvvx/ATC_MiThermometer#23 (comment) )
    • Set Measure interval: to 10
    • Click Send Config

Languages

Python100.0%

Contributors

Latest Release

v1.0.0March 20, 2026
Created March 20, 2026
Updated March 20, 2026