Code Monkey home page Code Monkey logo

easyiot's Introduction

Easy-iot

模块 端口 是否暴露 描述
server-gateway 80 Zuul
server-config 8010 系统设置
server-device 8020 设备设置
server-mq 8030 MQTT处理
server-auth 8040 用于登录
server-push 8050 信息推送
server-user 8060 用户信息
server-wss 8070,8088 WebSocket
server-init 8090 设备初始化
server-server 8761 Eureka

目录介绍

目录 介绍
data/img 运行后效果图
data/key 生成Key
data/lua 硬件源码
data/sql 数据库
data/uni UNI源码

介绍

Easy-Iot是一个分布式物联网平台可使用户免开发对模块进行管脚管理,串口收发等操作。

Easy-Iot 用到的技术
1.主要:Spring Cloud
2.安全:Spring Security
3.持久层:Mybatis plusRedis
4.通信:Netty
5.前端:UNI-App
6.UI:ColorUI

编译后可直接在微信小程序、IOS、Android...上运行

目前支持模块:Air202

截图

首页 GPIO uart 信息

运行

默认账号 admin 密码 123456

UNI中需要修改的地方如下

// js/common.js
const baseUrl = "http://localhost/";
// js/user.js
const baseUrl = "http://localhost:8040/auth";
// pages/index/wss.vue
baseUrl :"wss://127.0.0.1:8088/ws"

Java中需要修改的地方

//各个目录中的application.yml
//用 data/key 目录下的 生成Key.txt 生成自己的Key 替换 resource中的 key
// wss 路径设置、心跳时间设置 在server-wss下com/tounans/easyiot/easyiotwss/wss/WssServerInitialzer.java

LUA中需要修改的地方

//main.lua

_G.initUrl  = "http://localhost/init" 
_G.mqttHost = "127.0.0.1"
_G.mqttPort = "8765"
_G.mqttUser = "username"
_G.mqttPass = "password"

本项目仅是给各位和我一样的小白们一个开发思路,很多设计、代码问题请指出我会及时改正。

easyiot's People

Contributors

tounans avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.