Files
fastbee/README.md
2022-03-17 05:19:21 +00:00

116 lines
6.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### 一、项目简介
1. 物美智能 [wumei-smart](http://wumei.live/) 是一个简单易用的生活物联网平台。可用于搭建物联网平台以及二次开发和学习。使用流程如下:
![使用流程图](https://gitee.com/kerwincui/wumei-smart/raw/master/document/process.png)
2. 设备接入使用EMQX消息服务器认证采用EMQX内置的Http插件对称加密认证。后端采用Spring boot前端采用Vue移动端采用Uniapp数据库采用Mysql、Redis和TDengine设备端支持硬件SDK生成例如ESP32、ESP8266、树莓派等设备模拟器采用Android和WPF框架不仅能模拟硬件设备还可以控制和监测电脑、手机。系统架构图如下
![系统架构图](https://gitee.com/kerwincui/wumei-smart/raw/master/document/sys.png)
3. 设备烧录代码示例
![使用流程图](https://gitee.com/kerwincui/wumei-smart/raw/master/document/flash.png)
### 二、功能
- 权限管理: 用户管理、部门管理、岗位管理、菜单管理、角色管理、字典和参数管理等
- 系统监控: 操作日志、登录日志、系统日志、在线用户、服务监控、连接池监控、缓存监控等
- 产品管理: 产品、产品物模型、产品分类、产品固件等
- 设备管理: 控制、分组、定时、日志、统计、定位、OTA升级、影子模式、实时监测、加密认证等
- EMQ管理 Mqtt客户端、监听器、消息主题、消息订阅、插件管理
- 硬件 SDK 支持WIFI和MQTT连接、物模型响应、实时监测、定时上报监测数据、AES加密、NTP时间等
- 物模型管理: 属性(设备状态和监测数据),功能(执行特定任务),事件(设备主动上报给云端)
### 三、开发中功能
- 设备分享、设备告警、场景联动进度50%
- 智能音箱、多租户、APP界面自定义进度40%
- 时序数据库、分布式集群部署、Granfa监控进度30%
- 视频流处理进度0%
- 桌面端模拟器/监控进度5%
- 安卓端模拟器/监控进度0%
- App和小程序正在开发中......
### 四、技术栈
* 服务端
- 相关技术Spring boot、MyBatis、Spring Security、Jwt、Mysql、Redis、TDengine、EMQX、Mqtt等
- 开发工具IDEA
* Web端
- 相关技术ES6、Vue、Vuex、Vue-router、Vue-cli、Axios、Element-ui等
- 开发工具Visual Studio Code
* 移动端android / ios / 微信小程序)
- 相关技术uniapp、smartconfig
- 开发工具HBuilder
* 硬件端
- 相关技术: ESP-IDF、Arduino、FreeRTOS等
- 开发工具Visual Studio Code 和 Arduino
* 安卓端模拟器/监控
- 相关技术android
- 开发工具Android Studio
* 电脑端模拟器/监控
- 相关技术WPF
- 开发工具Visual Studio
### 五、硬件接入具体参考文档项目提供了示例SDK使用ESP8266芯片基于Arduino开发
1. 设备认证
* 加密认证(推荐)
* 简单认证
* EMQX支持的其他认证方式
2. 设备交互
* 发布物模型、设备信息、时钟同步相关Mqtt主题
* 订阅物模型、设备升级、时钟同步相关Mqtt主题
### 六、项目目录
&nbsp;&nbsp;&nbsp;&nbsp; spring-boot ---------------------------------------------------- 后端<br/>
&nbsp;&nbsp;&nbsp;&nbsp; vue ------------------------------------------------------------- 前端<br />
&nbsp;&nbsp;&nbsp;&nbsp; docker ---------------------------------------------------------- docker部署文件<br />
&nbsp;&nbsp;&nbsp;&nbsp; sdk -------------------------------------------------------------- 硬件SDK<br />
&nbsp;&nbsp;&nbsp;&nbsp; download ------------------------------------------------------- 工具下载<br />
### 七、相关文档
##### 权限管理基于ruoyi-vue系统Mqtt消息服务器基于EMQX4.0开源版SDK示例使用ESP8266 Core For Arduino开发
* [项目文档(编写中...)](http://wumei.live/kerwincui/document/wiki/)
* [物美智能官网](http://wumei.live/)
* [权限管理系统ruoyi-vue](https://gitee.com/y_project/RuoYi-Vue)
* [Mqtt消息服务器EMQX4.0](https://github.com/emqx/emqx)
* [ESP8266 Core For Arduino](https://github.com/esp8266/Arduino)
### 八、其他
* 互助交流群1073236354
* [演示地址>>](https://iot.wumei.live/)
### 九、部分图片
<table>
<tr>
<td><img src="https://gitee.com/kerwincui/wumei-smart/raw/master/document/index.png"/></td>
<td><img src="https://gitee.com/kerwincui/wumei-smart/raw/master/document/model.png"/></td>
</tr>
<tr>
<td><img src="https://gitee.com/kerwincui/wumei-smart/raw/master/document/product.png"/></td>
<td><img src="https://gitee.com/kerwincui/wumei-smart/raw/master/document/product-detail.png"/></td>
</tr>
<tr>
<td><img src="https://gitee.com/kerwincui/wumei-smart/raw/master/document/device.png"/></td>
<td><img src="https://gitee.com/kerwincui/wumei-smart/raw/master/document/monitor.png"/></td>
</tr>
<tr>
<td><img src="https://gitee.com/kerwincui/wumei-smart/raw/master/document/device-detail.png"/></td>
<td><img src="https://gitee.com/kerwincui/wumei-smart/raw/master/document/device-status.png"/></td>
</tr>
<tr>
<td><img src="https://gitee.com/kerwincui/wumei-smart/raw/master/document/device-timer.png"/></td>
<td><img src="https://gitee.com/kerwincui/wumei-smart/raw/master/document/device-log.png"/></td>
</tr>
<tr>
<td><img src="https://gitee.com/kerwincui/wumei-smart/raw/master/document/device-statistic.png"/></td>
<td><img src="https://gitee.com/kerwincui/wumei-smart/raw/master/document/group.png"/></td>
</tr>
<td><img src="https://gitee.com/kerwincui/wumei-smart/raw/master/document/emqx-client.png"/></td>
<td><img src="https://gitee.com/kerwincui/wumei-smart/raw/master/document/emqx-plugin.png"/></td>
</tr>
</table>