A tool to collect data from temperature sensors and emit it into InfluxDB
Project description
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.yamlin~/.config/temperature-sensor-scanner/based on theconfig.example.yamlfile - 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
- https://github.com/pvvx/ATC_MiThermometer/
- https://pvvx.github.io/ATC_MiThermometer/TelinkMiFlasher.html
- Launch in Chrome instead of Firefox
- Other tools that look interesting
Steps to provision a new sensor
- Flash the firmware
- Click
Connect - Select the
LYWSD03MMCBluetooth 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
- Click
- 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( https://github.com/pvvx/ATC_MiThermometer/issues/23#issuecomment-766898945 ) - Set Measure interval: to 10
- Click
Send Config
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file temperature_sensor_scanner-1.1.0.tar.gz.
File metadata
- Download URL: temperature_sensor_scanner-1.1.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d6a27896c56cc3b3c610040e2ac8dec12e826b527dbb8c4b9c3d862ed0967d3
|
|
| MD5 |
21dab9932ec08156df3d38f32f7af21f
|
|
| BLAKE2b-256 |
a3ee6d57474078a784f1ee3ad3f349c514640254b0044b7a1aa5e3b170076fd9
|
Provenance
The following attestation bundles were made for temperature_sensor_scanner-1.1.0.tar.gz:
Publisher:
publish-to-pypi.yml on gene1wood/temperature-sensor-scanner
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
temperature_sensor_scanner-1.1.0.tar.gz -
Subject digest:
0d6a27896c56cc3b3c610040e2ac8dec12e826b527dbb8c4b9c3d862ed0967d3 - Sigstore transparency entry: 1228567675
- Sigstore integration time:
-
Permalink:
gene1wood/temperature-sensor-scanner@72919b846c4fd5472b6b9ede61a54dc3414c05dc -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/gene1wood
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@72919b846c4fd5472b6b9ede61a54dc3414c05dc -
Trigger Event:
push
-
Statement type:
File details
Details for the file temperature_sensor_scanner-1.1.0-py3-none-any.whl.
File metadata
- Download URL: temperature_sensor_scanner-1.1.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
714b4ac45840beb8b665be96cd19c72814b890d421aac34f9763ce9f4e22d7dc
|
|
| MD5 |
d45ecc01b9797b5d5cf620fb9931915a
|
|
| BLAKE2b-256 |
927e17c5cc970a2a2ad3b7ddd6d02c59da2ff7bd1d9b5cddc96a4aba200d2701
|
Provenance
The following attestation bundles were made for temperature_sensor_scanner-1.1.0-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on gene1wood/temperature-sensor-scanner
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
temperature_sensor_scanner-1.1.0-py3-none-any.whl -
Subject digest:
714b4ac45840beb8b665be96cd19c72814b890d421aac34f9763ce9f4e22d7dc - Sigstore transparency entry: 1228567690
- Sigstore integration time:
-
Permalink:
gene1wood/temperature-sensor-scanner@72919b846c4fd5472b6b9ede61a54dc3414c05dc -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/gene1wood
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@72919b846c4fd5472b6b9ede61a54dc3414c05dc -
Trigger Event:
push
-
Statement type: