A Flexible Raspberry Pi-Based Data Logger Platform for Modbus Sensors with Ansible Deployment
Leon Keim, Steffen H\"agele, Vivien Langhans, Holger Class

TL;DR
LibrePiLogger is an open-source, Raspberry Pi-based data logger platform for Modbus sensors, enabling flexible deployment and long-term environmental monitoring with automated setup via Ansible.
Contribution
It introduces a modular, open-source data logging system with automated deployment for environmental sensors using Raspberry Pi and Ansible.
Findings
Successfully deployed for continuous CO₂ and Radon monitoring since spring 2025.
Supports multiple hardware configurations with low cost and high reliability.
Requires about 100 lines of Python to add new sensors.
Abstract
This article presents LibrePiLogger, an open-source data logging platform based on the Raspberry Pi for environmental monitoring using Modbus sensors over RS-485. The system combines the AtmosPyre Python library for sensor communication with Ansible-based deployment automation, allowing researchers to deploy sensor networks by editing a single YAML inventory file. Two hardware configurations are described: a minimal setup using a Raspberry Pi Zero with an RS-485 HAT, and a maximal setup using a Raspberry Pi 4 with a USB-to-RS-485 converter. Currently implemented sensors include the Vaisala GMP252 for CO and the RadonTech AlphaTRACER for Rn, with new sensors requiring approximately 100 lines of Python following a provided driver template. Data is logged to timestamped CSV files with JSON metadata. The system has been deployed for continuous CO and Rn monitoring in…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
