An office space equipped with Mendix IoT devices, Sensors and thus connected to the internet to make office environment more interactive, is often referred to as a “Smart Office”. It represents an intelligent ecosystem which relies on several connected Devices, Sensors that, in general, monitor, control, and manage various operations and working conditions.Smart Office App is Developed using Mind Connect IoT Extension, which is a part of MindSphere to track assets in offices at different locations globally and monitor the office environment remotely. This solution helps to centralize inventory management and efficiently manage assets regardless of the physical location. In this specific implementation, the office temperature, humidity, and laptops are being monitored across offices globally.
Application using Mendix and MindSphere
With Mendix each office is fitted with a BLE beacon reader and temperature/humidity sensors which connects with a gateway (Raspberry Pi). Laptops are attached with BLE beacon which is scanned by BLE reader installed in office and sends the number of laptops in office. Gateway is enabled with Wi-Fi connectivity and communicates with Mind Connect IoT Extension. When Mind Connect IoT Extension receives a message from Gateway, it authenticates and authorizes the Device. IoT Device data is stored in the MindSphere timeseries database
Mendix Smart Office App, which is built using Mendix Studio is deployed on MindSphere Developer Tenant. Mendix gives you all flexibility to build a complete end-to-end responsive App with a better user experience to visualize and test in desktop, tablet, and mobile view format with a responsive UI. For the Smart Office App, we used Timeseries Connector to fetch the IoT Device data from MindSphere IoT Time Series DB into Mendix. You also need to provide Asset ID, Channel Key and Measurement Interval to get the data. You need to apply Aggregation on the data along with this you need to store the measurements to display the data as per the desired order.
Regarding Mendix Application development and project life cycle management perspective, Mendix provides Agile Methodology for rapid development of the Apps also to maintain a strong collaboration within the Teams. Mendix provides developer friendly drag and drop UI, which gives lots of flexibilities like quick App development, ready to use modules which are internally gives lots of abstraction layers from inbuilt code management.
For this app we have used many inbuilt functionalities of Mendix studio like Microflows (which allow us to express the logic of our application. A microflow can perform actions such as creating and updating objects, showing pages &
making choices), Domain Model (for creating entity and its structure), Data view (for invoking data source and Microflows), Pie chart, Line chart (for displaying the IoT Device data for proper insights on visualization).