Java + Vue Open Source IoT Platform: Creating Lightweight and User-Friendly IoT Solutions

Introduction

With the rapid development of IoT technology, more and more small and medium-sized enterprises and individual developers wish to participate. However, developing a complete IoT platform often requires a high technical threshold and development costs.

This article promotes an open-source, easy-to-use IoT system suitable for various fields such as smart homes, smart offices, agricultural monitoring, and industrial control, and is also very suitable for personal learning and secondary development.

Java + Vue Open Source IoT Platform: Creating Lightweight and User-Friendly IoT Solutions

Project Introduction

FastBee is a fully functional and clearly structured IoT platform that lowers the usage and development threshold of IoT systems.

It supports multiple hardware device access, multi-end adaptation (Web, mini-programs, App), various database storage, and provides comprehensive permission management and visual monitoring functions.

The goal of FastBee is:

  • To provide a complete and scalable IoT solution;

  • To support mainstream hardware platforms and communication protocols;

  • To target small and medium-sized enterprises and individual developers, reducing deployment and maintenance costs;

  • To promote the openness and co-construction of the IoT ecosystem.

Project Features

The FastBee platform covers the core modules required for IoT systems, with specific functions as follows:

Function Module Function Description
Product Management Manage product information, object models, categories, firmware updates, and authorization mechanisms
Device Management View device details, group management, log recording, remote control, status monitoring
Object Model Management Define device attributes (e.g., temperature, humidity), functions (e.g., switch control), events (device reporting)
MQTT Access Supports EMQX open source version, Netty self-built MQTT Broker
Hardware SDK Supports mainstream hardware platforms such as ESP32, ESP8266, Raspberry Pi, and Hezong
Video Monitoring GB/T2818 protocol access for mainstream manufacturers’ cameras, enabling live streaming and real-time monitoring
Permission Management Implemented using the Ruoyi framework for user, role, position, permission allocation, operation logs, etc.

Additionally, the platform provides multiple practical application cases, such as air quality detectors, smart switches, and IoT development boards, facilitating quick development.

Project Technology

FastBee adopts current mainstream development technologies and frameworks to build a modern IoT system:

1. Server-side Technology Stack

  • Spring Boot: Quickly build backend services

  • MyBatis: Persistent layer ORM framework

  • Spring Security / JWT: Security authentication and permission control

  • MySQL: Relational database

  • Redis: Cache processing

  • TDengine: High-performance time-series database suitable for device data storage

  • EMQX / Netty: MQTT message middleware supporting high concurrent connections

2. Web Frontend Technology Stack

  • Vue.js: Reactive frontend framework

  • Vuex / Vue Router: State management and routing control

  • Element UI / ECharts: UI components and data visualization

  • Axios / ES6+: Network requests and modern JavaScript features

3. Mobile Technology Stack (Uniapp)

Uniapp / uView / uChart: Cross-platform development framework and component library

Supports unified development for WeChat mini-programs, Android, iOS, and H5.

4. Hardware Technology Stack

  • ESP-IDF, Arduino, FreeRTOS, Python, Lua: Supports various embedded development platforms

  • Development Tools: Visual Studio Code, Arduino IDE, etc.

Project Characteristics

FastBee has the following significant characteristics that make it stand out among many IoT platforms:

1. Lightweight and Easy to Use

Clear structure and comprehensive documentation, suitable for beginners to get started quickly.

2. Full-Stack Open Source

Includes frontend, backend, mobile, and hardware, facilitating secondary development.

3. Cross-Platform Support

Frontend Vue + Backend Spring Boot + Mobile Uniapp + Multi-platform hardware.

4. High-Performance Database Combination

MySQL stores basic data, TDengine processes time-series data, and Redis enhances performance.

5. Flexible Deployment

Supports quick deployment with Docker, adapting to different operating environments.

6. Commercially Friendly

Uses AGPL3.0 license, free for personal learning, and full source code can be obtained through sponsorship for commercial use.

Project Documentation

The project provides complete documentation for learning and reference, as shown in the figure below:

Java + Vue Open Source IoT Platform: Creating Lightweight and User-Friendly IoT Solutions

Hardware Devices

Monitoring Devices

Note:

The camera must support the National Standard GB/T 28181 Protocol.

Monitoring devices before 2016 generally do not support this protocol.

You can confirm and upgrade the firmware in the following way:

  • Path: Configuration → Basic Configuration → Basic Information

  • Example firmware version: “V5.7.4 build 220706” (compiled on July 6, 2022)

Recommended Devices Supporting GB28181

Recommended Models from Hikvision

Device Type Recommended Model
NVR Device Model DS-7604N-F1/4P-V3DS-7808N-K2/8PDS-7916N-E4DS-7932N-K4DS-7916N-K4/16PDS-8832N-R8DS-8632N-E8-V2
IPC Device Model iDS-2DE2402IX-D3/W/XMDS-2CD3T46WD-I3

Support Status of Other Brands

Yushi, Dahua, Jiua, Unisoc, Xiongmai, Tongwei and most devices from these brands also support the GB28181 protocol, with some models requiring adaptation.

Julong brand supported devices include:

  • Cylinder network cameras

  • Conch-shaped network cameras

  • WIFI face and human shape alert ball

If you need to deploy the video monitoring module, please prioritize devices that support the GB/T 28181 protocol and ensure the use of the latest firmware version for better compatibility and stability.

Related Devices

Java + Vue Open Source IoT Platform: Creating Lightweight and User-Friendly IoT Solutions

Project Effects

PC Case

Java + Vue Open Source IoT Platform: Creating Lightweight and User-Friendly IoT Solutions

Java + Vue Open Source IoT Platform: Creating Lightweight and User-Friendly IoT SolutionsJava + Vue Open Source IoT Platform: Creating Lightweight and User-Friendly IoT SolutionsJava + Vue Open Source IoT Platform: Creating Lightweight and User-Friendly IoT SolutionsJava + Vue Open Source IoT Platform: Creating Lightweight and User-Friendly IoT Solutions

Java + Vue Open Source IoT Platform: Creating Lightweight and User-Friendly IoT Solutions
Java + Vue Open Source IoT Platform: Creating Lightweight and User-Friendly IoT Solutions
Java + Vue Open Source IoT Platform: Creating Lightweight and User-Friendly IoT Solutions
Java + Vue Open Source IoT Platform: Creating Lightweight and User-Friendly IoT Solutions
Java + Vue Open Source IoT Platform: Creating Lightweight and User-Friendly IoT Solutions
Java + Vue Open Source IoT Platform: Creating Lightweight and User-Friendly IoT Solutions
Java + Vue Open Source IoT Platform: Creating Lightweight and User-Friendly IoT Solutions

Mobile Case

Java + Vue Open Source IoT Platform: Creating Lightweight and User-Friendly IoT Solutions
Java + Vue Open Source IoT Platform: Creating Lightweight and User-Friendly IoT Solutions

Project Source Code

Gitee: https://gitee.com/beecue/fastbee

Official Website: https://fastbee.cn/doc/

Conclusion

FastBee is an IoT platform that integrates functionality, practicality, and openness, making it suitable for enterprises to quickly build their own IoT systems and for individuals to learn and research. Its strong technical support, rich functional modules, and active community contributors make FastBee a trustworthy open-source project.

The above only showcases some of the functions of the IoT system. For more practical features and detailed information, please visit the project source code.

I hope this article can provide valuable references for Java in IoT system development. Thank you for reading this article, and feel free to leave comments to share your valuable experiences and suggestions.

Keywords

#IoT Platform, FastBee, #Open Source Project, Spring Boot, #Vue, Uniapp, MQTT, EMQX, Netty, ESP32, ESP8266, TDengine, Redis, #MySQL, #Ruoyi Permission, #Smart Home, #Industrial Control, #Agricultural Monitoring, AGPL3.0, #Docker Deployment, uChart, uniapp, Hardware SDK

Author: Xiaoma Bianjiang

Source: gitee.com/smallcore/DotNetCore

Disclaimer: Online content is for learning purposes only, respect copyright, infringement will be deleted promptly, apologies and thanks!

ENDPrevious Highlights

One-stop YOLO Visual Model Training Management Platform

Spring Boot + Vue Efficient Open Source Factory ERP Platform

Spring Boot + Vue Factory Equipment Intelligent ERP System

Spring Boot + Vue Open Source Intelligent Factory MES System

PandaX: A Go-based Enterprise-level IoT Platform Rapid Development Framework

A Professional, General, Open Source, Free MES Production Execution Management System

Spring Boot + Vue + Flowable Frontend and Backend Separated Electronic Signature System

Spring Boot + Vue Out-of-the-Box Video Linked IoT Platform

A 100% Fully Open Source, Distributed IoT Platform Based on Spring Cloud

A Truly Cross-Platform Supported Open Source Mall, Supporting B2C, Distribution, Live Streaming, Multi-end Deployment

Java + Vue Open Source IoT Platform: Creating Lightweight and User-Friendly IoT SolutionsJava + Vue Open Source IoT Platform: Creating Lightweight and User-Friendly IoT SolutionsNote【Add GroupWeChat ID: m1108n

Facilitating communication, resource sharing, and mutual growth

Pure technical exchange group, those in need please scan the code

Gained something? Feel free to share to benefit more people

Follow “Programmer Open Source Stack”, to enhance technical strength together

Java + Vue Open Source IoT Platform: Creating Lightweight and User-Friendly IoT SolutionsClick to ShareJava + Vue Open Source IoT Platform: Creating Lightweight and User-Friendly IoT SolutionsClick to CollectJava + Vue Open Source IoT Platform: Creating Lightweight and User-Friendly IoT SolutionsClick to ViewJava + Vue Open Source IoT Platform: Creating Lightweight and User-Friendly IoT SolutionsClick to Like

Leave a Comment