Processing IoT sensor data with InfluxDB
summary
Spring Boot collects readings from a BME280 on GPIO and Xiaomi Mijia over Bluetooth, writes points to InfluxDB via the InfluxDB Java client or REST (also supports Spring Data InfluxDB), runs InfluxDB + Chronograf/Grafana in Docker Compose, and visualizes temperature, humidity, method durations and stored exceptions. Uses tags vs fields, retention policies and batching. Bluetooth reads are flaky and slower (internal sensor <2 ms), fixed pragmatically by killing the gettool process after 20 seconds; dashboards refresh every 5s.
AI-written summary · about
chapters (16)
- 0:00Introduction to InfluxDB
- 1:14Project goals and sensors
- 3:14Hardware and setup
- 4:45System architecture
- 6:42Introduction to InfluxDB
- 10:26Data formatting and CLI
- 12:00Java client options
- 13:38Writing data with Java
- 16:02Spring and REST solutions
- 17:35Querying and mapping data
- 19:45Live dashboard demo
- 25:20Sensor challenges in Java
- 27:29Linux process handling
- 29:55Sensor accuracy and debugging
- 32:13Response time analysis
- 34:10Conclusion and Q&A
related talks
43mCreating an IoT Data Layer for Collecting, Storing, Analyzing and Reacting
28mBuilding an IoT Monitoring App with InfluxDB
34mStream processing IoT time series data with RabbitMQ & InfluxDB
28mTime series data science problems with InfluxDB
12mInfluxDB for Industrial IoT
31mBuilding an IoT App with InfluxDB, Python, Flask And Plotly
31mFun with Sensors
45mIoT End to End
