Preface
Things are like this. Today, as usual, I took a look at several open source technology exchange QQ groups I built after get off work, trying to find valuable construction information. Because I am usually too busy at work, I basically don’t look at it. This information, and few valuable construction opinions can be obtained in it, so I did not have much expectations.
But today, I actually found a XUI in the QQ group, and it is also a relatively popular smart home project in the near future. It has a management backend, front end, mobile end and hardware end, which can be fully commercialized. s project!
Maybe you want to ask me, what is XUI?
XUI is the Android native UI framework that I open sourced at the beginning of 2019.It allows a developer who has never touched Android to easily write a set of simple and elegant apps.
The following is the Star trend chart of the XUI project on Github:
get back to business, let’s take a look at the true face of this project together!
Portal
Project name : Wumart Smart
project address : https://gitee.com/kerwincui/wumei-smart
Project Description
- Wumei Smart ( wumei-smart )] is an open source software and hardware system that can be used for secondary development and learning to quickly build your own smart home system. hardware engineers can integrate their own equipment into the system; software engineers can use the equipment in the project to be familiar with software and hardware interactions.
- The server uses spring boot, database mysql and redis, front-end vue, mobile end android, hardware end ESP-IDF and Arduino, etc. The software and hardware interaction is based on the Mqtt protocol and the EMQ proxy server is used. The system architecture diagram is as follows:
- The hardware side provides access documentation, and the device needs to support network functions. The project contains hardware codes and access examples for ESP-IDF and Arduino. At the same time, a smart switch (wifi switch) board was made, which can be used in study and life to control electrical equipment below 2500W.
- Mobile phone, computer remote control
- Remote pairing, clearing and control
- Air temperature and humidity monitoring
- Radar sensing and alarm
- 220V and 5V voltage power supply, resistive load 2500W, inductive load 250W
References
- NodeMCU development board to make a smart switch
- Wifi controller and LED light board to make colorful smart lights
- Raspberry Pi installs wumei-smart as a server to save costs
Technology stack
rear end
- Related technologies: Spring boot, MyBatis, Spring Security, Jwt, Mysql, Redis, Mongodb, Mqtt, etc.
- Development tool: IDEA
front end
- Related technologies: ES6, Vue, Vuex, Vue-router, Vue-cli, Axios, Element-ui, etc.
- Development tools: Visual Studio Code
Android
Hardware side
- Related technologies: ESP-IDF, Arduino, FreeRTOS, etc.
- Development tools: Visual Studio Code
Rapid deployment system
- Install docker
- Run the following commands in the command window (complete the back-end, front-end, database, EMQX deployment):
docker run \
--name wumei-smart \
--publish 80:80 \
--publish 18083:18083 \
--publish 1883:1883 \
--publish 3306:3306 \
--publish 6379:6379 \
--restart always \
--detach \
kerwincui/wumei-smart:1.0
- Scan the code to download the APP and install it, open the APP, skip the login, and configure the server address
Test account: wumei admin123; default account after successful configuration: admin admin123
- Burn the hardware code to the device
Part of the system picture
Related tutorials
- Project Document
- Hardware Access Document
- Demo video , in production...
- Wumart Smart Official Website
- Ruoyi document , the front and back ends are based on Ruoyi front and rear separation frame
- XUI , Android UI uses XUI!
- ESP-IDF Programming Guide
At last
I hope everyone can, like this classmate, not only develop their own apps through self-study of XUI, but also share their own interesting projects, so that more people can see the results you wrote, and make XUI cases become Richer!
If you also have interesting projects developed using XUI, you are welcome to leave your project information on the issue of XUI's official Github homepage, so that more people can see your results!
Click here to share your project now!
I am xuexiangjys, a technical up master who loves learning, programming, and is committed to Android architecture research and open source project experience sharing. For more information, welcome to search the public number on : 160e356bd9046a [My Android Open Source Journey]
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。