Pi4Micronaut: A Java Library for IoT Research Instruments on Raspberry Pi

Pi4Micronaut: A Java Library for IoT Research Instruments on Raspberry Pi - Published in JOSS (2025)

https://github.com/oss-slu/pi4micronaut

Science Score: 93.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in JOSS metadata
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software

Keywords

java micronaut micronaut-framework pi4j raspberry-pi
Last synced: 3 months ago · JSON representation

Repository

A java library combining Micronaut and Pi4j to streamline hardware connectivity to Raspberry Pi's

Basic Info
Statistics
  • Stars: 8
  • Watchers: 2
  • Forks: 8
  • Open Issues: 35
  • Releases: 2
Topics
java micronaut micronaut-framework pi4j raspberry-pi
Created about 3 years ago · Last pushed 3 months ago
Metadata Files
Readme Contributing License Cla

README.md

Pi4Micronaut-Header

Overview

Pi4Micronaut is an innovative Java library crafted for developers who aim to build Internet of Things (IoT) applications leveraging the Raspberry Pi platform. This software is designed to run directly on the Raspberry Pi, providing an interface between the high-level Micronaut framework and the low-level hardware control provided by Pi4J. It serves as a vital tool for Java developers who wish to create sophisticated IoT solutions that interact with various sensors and electronic components. By abstracting the complexity of hardware interactions, Pi4Micronaut allows developers to focus on crafting business logic and features, making it easier to bring IoT applications from concept to deployment rapidly.

The existence of Pi4Micronaut is justified by the need for a robust, scalable, and efficient way to bridge the gap between enterprise-grade software and the physical world of hardware. It is particularly valuable for projects that demand both the high-performance, microservices-oriented capabilities of the Micronaut framework and the versatile hardware interaction that the Raspberry Pi offers. Whether it's for home automation, industrial monitoring, or educational purposes, Pi4Micronaut empowers developers to deliver reliable and sophisticated IoT applications that can run headless on a Raspberry Pi or be managed remotely, providing convenience, control, and customization to the end-users.

Note: Pi4Micronaut doesn't work with the latest Raspberry Pi 5 because of its whole new architecture. Pi4J and pigpio libraries doesn't provide support for Pi 5 yet. Look out for the latest version of Pi4J to work with Pi5's in the future.

Information

Pi4Micronaut

Architecture Diagram

Pi4Micronaut.png

Example Projects using Pi4Micronaut Library

Micronaut 3.7.3

Pi4J 2.4.0

Shadow Gradle 7.1.2

Pi4Micronaut Contributor License Agreement

Owner

  • Name: Open Source with SLU
  • Login: oss-slu
  • Kind: organization
  • Email: oss@slu.edu
  • Location: United States of America

The open-source program office of Saint Louis University

JOSS Publication

Pi4Micronaut: A Java Library for IoT Research Instruments on Raspberry Pi
Published
September 11, 2025
Volume 10, Issue 113, Page 7744
Authors
Ruthvik Mannem
Open Source with SLU, Saint Louis University, USA
Adrian Swindle
Open Source with SLU, Saint Louis University, USA
Editor
Mark A. Jensen ORCID
Tags
Micronaut RaspberryPi Pi4j GPIO IoT

GitHub Events

Total
  • Create event: 50
  • Issues event: 87
  • Watch event: 1
  • Delete event: 48
  • Member event: 4
  • Issue comment event: 43
  • Push event: 197
  • Pull request review comment event: 64
  • Pull request event: 111
  • Pull request review event: 114
  • Fork event: 8
Last Year
  • Create event: 50
  • Issues event: 87
  • Watch event: 1
  • Delete event: 48
  • Member event: 4
  • Issue comment event: 43
  • Push event: 197
  • Pull request review comment event: 64
  • Pull request event: 111
  • Pull request review event: 114
  • Fork event: 8

Issues and Pull Requests

Last synced: 3 months ago

All Time
  • Total issues: 96
  • Total pull requests: 157
  • Average time to close issues: 3 months
  • Average time to close pull requests: 9 days
  • Total issue authors: 11
  • Total pull request authors: 19
  • Average comments per issue: 0.47
  • Average comments per pull request: 0.43
  • Merged pull requests: 89
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 48
  • Pull requests: 63
  • Average time to close issues: 29 days
  • Average time to close pull requests: 6 days
  • Issue authors: 5
  • Pull request authors: 13
  • Average comments per issue: 0.13
  • Average comments per pull request: 0.27
  • Merged pull requests: 34
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • yrlmanoharreddy (36)
  • ruthvikm (26)
  • leandrumartin (14)
  • GreihMurray (7)
  • adelgadoj3 (4)
  • joefol (2)
  • Ed0827 (2)
  • SwindleA (2)
  • ThomasPautler952194 (1)
  • osscontributor (1)
  • RalphTan37 (1)
Pull Request Authors
  • ruthvikm (38)
  • Ed0827 (18)
  • joefol (15)
  • jyanev (14)
  • yrlmanoharreddy (13)
  • adelgadoj3 (11)
  • avaenk (10)
  • leandrumartin (8)
  • SwindleA (7)
  • ThomasMacas (6)
  • RalphTan37 (6)
  • ThomasPautler952194 (3)
  • j-heitz (2)
  • DINES-04 (1)
  • tmacas (1)
Top Labels
Issue Labels
enhancement (54) documentation (26) New Component (21) unit-test (14) good first issue (11) Upgrade (9) good-first-issue (7) bug (6) iteration-starter (4) workflow (1) security (1) hacktoberfest (1)
Pull Request Labels
New Component (5) enhancement (4) unit-test (2) RELEASE (2) documentation (2) bug (1) good-first-issue (1)

Dependencies

.github/workflows/asciidoc-build.yml actions
  • actions/checkout v2 composite
  • peaceiris/actions-gh-pages v3 composite
  • tonynv/asciidoctor-action master composite
.github/workflows/build-library-jar.yml actions
  • actions/checkout v3 composite
  • actions/setup-java v3 composite
  • gradle/gradle-build-action v2 composite
.github/workflows/github-actions.yml actions
  • actions/checkout v3 composite
  • actions/setup-java v3 composite
  • gradle/gradle-build-action v2 composite
components/build.gradle maven
  • io.micronaut:micronaut-validation * implementation
micronautpi4j-utils/build.gradle maven
  • com.pi4j:pi4j-core 2.2.1 api
  • com.pi4j:pi4j-plugin-pigpio 2.2.1 api
  • com.pi4j:pi4j-plugin-raspberrypi 2.2.1 api
  • io.micronaut:micronaut-http-client * implementation
  • io.micronaut:micronaut-jackson-databind * implementation
  • io.micronaut:micronaut-validation * implementation
  • jakarta.annotation:jakarta.annotation-api * implementation
  • ch.qos.logback:logback-classic * runtimeOnly