Pesquisar

Artigo
· Set. 26 3min de leitura

SentinelIRIS

 

Building a Sensor Data Demo with Spring Boot and InterSystems IRIS

In the era of IoT and connected devices, sensor data is everywhere—tracking temperature in logistics, monitoring equipment performance, or recording environmental conditions. But capturing, storing, and analyzing this data in real time requires more than just hardware sensors.

It’s a practical example that combines Spring Boot, InterSystems IRIS, and a simple sensor simulation script to show how sensor data can flow from generation to storage and alerting.

Basically, the idea of ​​this project is to show all the integration capacity of IRIS with JAVA, where we can create a lightweight, high-performance and high-impact application.


What the Project Does

At its core, the repository demonstrates an end-to-end workflow:

  1. Sensor Simulation
    A Python script (simulate_sensor.py) generates realistic temperature, humidity, and location data. This removes the need for physical devices while testing the pipeline. (Not working very well yet!)
  2. Backend with Spring Boot
    A Java application built with Spring Boot receives sensor data through REST APIs, processes it, and persists it into the database.
  3. Database with InterSystems IRIS
    IRIS acts as the high-performance data store, with an initialization script (init.sql) to create tables and structure for historical analysis and alerting.

This setup mimics real-world use cases like cold-chain logistics, smart city monitoring, or industrial IoT systems.


Tech Stack Overview

Component Role
Spring Boot (Java 17) Core backend service for receiving and processing sensor data
Python Script Sensor simulator that pushes test data to the backend
InterSystems IRIS Database for storage and historical queries
Gradle + Docker Build and deployment tooling

Together, these pieces form a complete demo environment—simple to spin up locally, yet close enough to a production architecture to be a solid learning tool.


Why It’s Interesting

  • End-to-end clarity
    Many tutorials focus only on one layer. This repo shows the full pipeline, from data generation to storage.
  • Realistic scenario
    The simulated data includes environmental metrics often used in logistics and monitoring.
  • IRIS integration
    Instead of using a traditional database, the project leverages InterSystems IRIS, known for its performance and ability to handle time-series data.

Room for Improvement

While the project works well as a demo, there are opportunities to make it more robust:

  • API Documentation: Adding Swagger/OpenAPI would help developers understand and test endpoints easily.
  • Testing: Unit and integration tests could validate edge cases, such as data outside safe thresholds.
  • Security: Credentials are currently hardcoded. Introducing environment variables or a secrets manager would improve best practices.
  • Deployment: A Docker Compose setup would allow one-command startup of both the backend and IRIS.
  • Visualization: A simple dashboard could make the data and alerts more tangible for end users.

Real-World Applications

This kind of architecture can be applied across industries:

  • Logistics & Cold Chain – monitor goods in transit and alert if temperature deviates.
  • Smart Cities – track air quality, noise, or traffic patterns.
  • Industrial IoT – analyze machinery telemetry for predictive maintenance.
  • Healthcare – monitor environmental conditions in labs or hospitals.

The repo provides a blueprint: swap out the simulator for real sensors, enhance the backend logic, and you’re on the way to a production system.


Conclusion

The demo repository was coded by @Cecilia Valim and is more than just a toy project—it’s a practical showcase of how to handle sensor data with modern tools. By combining Spring Boot, Python, and InterSystems IRIS, it provides a clear, reproducible example of IoT data pipelines in action.

Whether you’re learning Spring Boot, exploring IRIS, or prototyping an IoT project, this repo is a great place to start.


👉 You can explore the full project here: github.com/cissavalim/demo

Discussão (0)1
Entre ou crie uma conta para continuar
Anúncio
· Set. 26

Édition d'automne : découvrez de nouvelles récompenses passionnantes sur Global Masters

Bonjour la communauté !

🍂 Les récompenses d'automne sont arrivées sur Global Masters !

Découvrez la saison avec nos nouvelles récompenses : c'est le moment idéal pour explorer la section Récompenses et obtenir vos récompenses préférées !

N'oubliez pas que la disponibilité des récompenses varie selon les régions. Vérifiez donc les offres disponibles dans votre région.

Ne manquez pas ces gourmandises de saison !

Vous n'êtes pas encore membre de Global Masters ? Inscrivez-vous ici avec vos identifiants SSO InterSystems.

Discussão (0)1
Entre ou crie uma conta para continuar
Anúncio
· Set. 25

★賞品決定★第3回 InterSystems Japan 技術文書ライティングコンテスト 開催!

開発者の皆さんこんにちは!

技術文書ライティングコンテストの開始(10月1日)まであと少しとなりました!💨

このお知らせでは、今年の賞品を発表いたします!

👀

🎁賞品情報🎁

審査員投票とコミュニティメンバーからの「いいね」の数の合計で順位を決定します。

1位~3位を受賞された方は、各順位に記載された賞品の中からお好きな1点をお選びいただけます。(1位の方は1~3位の賞品を、2位の方は2~3位の賞品をお選びいただけます)

🥇 1位

  • リカバリーウェア TENTIAL BAKUNEシリーズ
  • スマートリング Re・De Ring
  • アウトドアの体験ギフト EXCITING Gift Premium -エキサイティング プレミアム

🥈 2位

  • MYTREX DR. HEAT NECK
  • ソーダーストリーム TERRA スターターキット
  • アウトドアの体験ギフト EXCITING Gift -エキサイティング

🥉 3位

  • Bluetoothスピーカー
  • モレスキン クラシックダイアリー Large
  • スタバギフトカード(5000円)

 

🎁参加賞:投稿いただいた方全員に「モバイルバッテリー」をプレゼント!

 

1回目、2回目とは異なる賞品を!ということで賞品決めチームでいろいろ探してみました👀

高得点を狙う場合は、早めの投稿がおすすめです!(コミュニティメンバーからの「いいね」ポイントをより多くゲットできます!)

また、今年もボーナスポイントを設定しておりますので、対象の項目を含めていただくとポイント追加となります。

 

今年も沢山のご応募お待ちしております!💨

Discussão (0)1
Entre ou crie uma conta para continuar
Pergunta
· Set. 25

Source Control: Studio.Extension.Base.CheckIn showing a dialog with a single field?

In Studio, is it possible to call a dialog with a single input text field inside a custom Studio.Extension.Base.CheckIn method?

Update: The AI Bot just answered, not sure why it was at loss before I posted.

1 Comment
Discussão (1)1
Entre ou crie uma conta para continuar
Anúncio
· Set. 25

InterSystems Ideas News #25

Hi Community!

Welcome to Issue #25 of the InterSystems Ideas newsletter! Let's look at the latest news from the Ideas Portal, such as:

✓ General Statistics
✓ Recently added Community Opportunity ideas

   Here are some August numbers for you. During last month, we had:

  • 4 new ideas
  • 13 implemented ideas
  • 27 comments
  • 49 votes

👏 Thanks to everyone who contributed in any way to the Ideas Portal last month!

  Just in time for the new InterSystems External Languages Contest, here's a list of new Community Opportunity ideas:


✨ Share your ideas, support your favorites with comments and votes, and bring the most interesting ones to life!

Discussão (0)1
Entre ou crie uma conta para continuar