Welcome to the Siemens MindSphere Integration Tutorial! This blueprint demonstrates how to connect a Particle device to Siemens MindSphere, enabling real-time data transfer using the Timeseries REST API. In this tutorial, you’ll configure a Particle webhook to send temperature data from a Particle device to MindSphere, where the data can be securely stored, visualized, and analyzed.
Every 10 seconds, the Particle device captures temperature readings and publishes this data to MindSphere via the webhook. MindSphere then stores this data in its time-series database, allowing you to view historical trends and generate insights for applications like equipment monitoring and environmental analysis.
For this project, you’ll need:
- Particle MCU Development Board (e.g., Argon, Boron)
Purchase here - Grove Temperature & Humidity Sensor (DHT11)
Seeed Studio Sensor Details - Particle Grove Shield
Particle Grove Shield Details
The Particle Grove Shield is essential for connecting the Grove sensor to the Particle board without the need for soldering.
- Introduction
- Hardware Requirements
- Tutorial - Getting Started
- Firmware Details
- Cloud Functionality
- Contributions
- Change List
- Supported Hardware
Connect the Grove Temperature & Humidity Sensor to the Grove Shield, then attach the Grove Shield to your Particle device.
Ensure your Particle device is registered and connected to your Particle account. You can do this via setup.particle.io.
Clone or download this project repository and open it in Visual Studio Code or another code editor with Particle support.
Flash the firmware to your device. You can use Visual Studio Code with the Cloud Flash command, or the Particle CLI with the command:
particle flash <device_name> environmental-monitoring
With the firmware running, the Particle device will publish temperature (in Celsius) and humidity data to the cloud every 10 seconds.
To view real-time data, open the Particle Console or use the serial monitor in Visual Studio Code by running:
particle serial monitor --follow
Temperature readings exceeding the threshold (e.g., 30°C) will trigger alerts in the cloud, visible in the Console and potentially actionable through notifications.
The firmware reads temperature and humidity values from the Grove sensor every 10 seconds and publishes them to the cloud. It uses standard Particle APIs and includes basic logging for ease of troubleshooting.
- Temperature: Measured in Celsius from the sensor.
- Humidity: Measured as relative humidity (%) from the sensor.
- Interval: Data is collected and published every 10 seconds.
The Ledger service is used to store the published data. Each temperature and humidity reading is saved with a timestamp, allowing for easy analysis and historical review.
- Database: Stores temperature and humidity readings over time.
- Data Format: Includes both Celsius and converted Fahrenheit temperatures, as well as humidity.
When the cloud receives temperature data, it automatically converts the value from Celsius to Fahrenheit. The system also checks the current temperature against a predefined threshold (e.g., 30°C).
- Temperature Alert: Triggers if the temperature exceeds the threshold.
- Threshold Setting: Configurable in the Ledger database, allowing real-time adjustment of alert sensitivity.
We welcome contributions to this blueprint! If you'd like to suggest changes, please open a pull request in the Environmental Monitoring GitHub Repository.
- Fork the repository.
- Make your changes in a new branch.
- Open a pull request with a detailed description of your changes.
- v1.0.0: Initial release, with core functionality for environmental monitoring and alert system.
This blueprint supports all Particle MCU Development Boards and works specifically with the Grove Temperature & Humidity Sensor and Particle Grove Shield for seamless sensor integration.
This project is licensed under the MIT License. For details, see the LICENSE file in the repository.
By following this tutorial, you can easily set up an environmental monitoring system that leverages Particle's cloud capabilities and provides actionable insights through data collection and alerting. Happy monitoring!