Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Log sensor data using RPi

NotificationsYou must be signed in to change notification settings

vogler/sensors

Repository files navigation

Example:https://thingspeak.com/channels/321821

Sensors ->MQTT ->Telegraf ->InfluxDB ->Chronograf:Chronograf dashboard

Sensors

SensorMeasurementInterfaceHostPublish to
BME280temperature (C), pressure (mBar), humidity (%)I2CRPi3thingspeak, MQTT
TSL2561visible light (lux), infrared, broadbandI2CRPi3thingspeak, MQTT
MH-Z19BCO2 (ppm)UART (USB)RPi3MQTT
PMS7003particle matter (counts and PM [1, 2.5, 10] ug/m³)UART (pins)RPi3MQTT
FlowMetershower usage via Hall effect flow sensor (ml/s, total_ml, duration)GPIO ISRWemos D1 miniMQTT
BloodPressureWifiread Beurer blood pressure monitor (hiBP, loBP, HR)SPI EEPROMWemos D1 miniMQTT

thingspeak.py reads BME280 and TSL2561, the other sensors run as standalone services (see their repos).

Setup

Install dependencies withpipenv install.Register atwww.thingspeak.com and replaceConfig.key inthingspeak.py.

Run with

./thingspeak.py 2>&1 | tee -a thingspeak.log

[8]ページ先頭

©2009-2025 Movatter.jp