A cross-platform IoT gateway based on .net6. Through visual configuration, you can easily connect to any of your devices and systems (such as PLC, barcode scanner, CNC, database, serial device, host computer, OPC Server, OPC UA Server, Mqtt Server, etc.), so as to interact with Thingsboard, IoTSharp or Your own IoT platform for two-way data communication. Provide a simple driver development interface; of course, edge computing can also be performed.
Go to file
2021-12-14 14:10:44 +08:00
.vs/IoTGateway 添加前后端框架源码 2021-12-14 14:10:44 +08:00
IoTGateway 添加前后端框架源码 2021-12-14 14:10:44 +08:00
IoTGateway.DataAccess 初步可用版本 2021-12-12 14:55:48 +08:00
IoTGateway.Model 添加前后端框架源码 2021-12-14 14:10:44 +08:00
IoTGateway.ViewModel 初步可用版本 2021-12-12 14:55:48 +08:00
Plugins 初步可用版本 2021-12-12 14:55:48 +08:00
WalkingTec.Mvvm 添加前后端框架源码 2021-12-14 14:10:44 +08:00
.dockerignore 初步可用版本 2021-12-12 14:55:48 +08:00
.gitattributes Update .gitattributes 2021-12-13 21:51:31 +08:00
.gitignore 初步可用版本 2021-12-12 14:55:48 +08:00
alpine.Dockerfile 初步可用版本 2021-12-12 14:55:48 +08:00
Dockerfile 添加Dockerfile 2021-12-12 23:01:36 +08:00
IoTGateway.sln 添加前后端框架源码 2021-12-14 14:10:44 +08:00
LICENSE Initial commit 2021-12-08 21:48:45 +08:00
README.md Update README.md 2021-12-13 23:24:11 +08:00

iotgateway

github地址:iotgateway https://github.com/iioter/iotgateway

gitee地址:iotgateway https://gitee.com/wang_haidong/iotgateway

基于.net5的跨平台物联网网关。通过可视化配置轻松的连接到你的任何设备和系统(如PLC、扫码枪、CNC、数据库、串口设备、上位机、OPC Server、OPC UA Server、Mqtt Server等),从而与 Thingsboard、IoTSharp或您自己的物联网平台进行双向数据通讯。提供简单的驱动开发接口当然也可以进行边缘计算。

  • 物联网网关mqtt输出支持thingsboard
  • 抛砖引玉,共同进步
  • 可视化的配置方式实现数据采集(使用wtm开发)
  • 基于.net5的开源物联网网关
  • 内置ModbusTcp驱动(使用nmodbus4)
  • 支持驱动二次开发(短期内会提供西门子三菱通讯)
  • 数据通过mqtt推送支持thingsboard
  • 目前只支持遥测数据上传,后续支持属性的双向通信

体验

  1. 在线体验iotgateway后台:http://wanghaidong.cloud:518/
  2. 用户名 admin 密码 000000
  3. 内置Modbustcp模拟设备 ip 172.17.0.1 port 16051 不要修改,否则连不上
  4. 其中modbus地址0-1为固定值2-9为随机值10-19为0
  5. 想要外网访问modbus设备请连接:wanghaidong.cloud:16051进行标准modbus协议读写
  6. 想要通过mqtt接收数据请连接mqttserver:wanghaidong.cloud,11883 admin 000000订阅topic: v1/gateway/telemetry image

运行

windows运行

  1. 下载Releasev0.01发布版本
  2. 下载.net5 sdk或runtime
  3. 安装.net5
  4. 解压release包运行IoTGateway.exe
  5. 访问iotgateway后台:http://localhost:518

linux docker运行

  1. docker pull 15261671110/iotgateway
  2. docker run -d -p 518:518 --name iotgateway --restart always 15261671110/iotgateway

登入系统

  1. 用户名 admin,密码 000000
  2. 打开发布文件路径下的ReadMe文件夹中的手摸手按照顺序添加设备进行采集

采集配置

1 登录 2 首页 3 网关配置 4 设备维护 5 设备参数配置 6 设备变量配置 7 设备变量配置-新建

thingsboard接入教程

0 准备一个modsim 或者modbus tcp设备 1 thingsboard  新建网关 2 gateway 修改网关传输配置 3 gateway 创建组 4 gateway 创建设备 5 gateway 配置设备参数 6 gateway 新建变量 6 gateway 修改设备为自启动 7 thingsboard 查看到设备和数据 8 gateway 查看到数据