1 Star 0 Fork 622

facefriends / iotgateway

forked from Sam / iotgateway 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

iotgateway

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

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

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

  • 抛砖引玉,共同进步
  • 基于.net6的开源物联网网关
  • 浏览器可视化的配置方式实现数据采集(使用wtm开发)
  • 物联网网关mqtt+opcua双通道实时输出,支持thingsboard、iotsharp等第三方平台
  • 内置Mqtt服务端,支持websocket,进行标准mqtt输出。本地端口1888 admin 000000
  • 内置OPCUA服务端,数据实时更新。匿名本地访问:opc.tcp://localhost:62541/Quickstarts/ReferenceServer
  • 内置AB(罗克韦尔)PLC驱动
  • 内置三菱PLC驱动
  • 内置Modbus驱动全协议支持
  • 内置MT机床驱动
  • 内置欧姆龙PLC驱动
  • 内置OPCUA客户端驱动
  • 内置西门子PLC驱动
  • 增支持计算表达式,数据边缘预处理
  • 支持驱动二次开发
  • 目前只支持遥测数据上传,后续支持属性的双向通信
  • 简单集成了web组态项目
  • 3D可视化展示Demo

免责声明

生产环境使用请做好评估;

项目中OPCUA相关功能仅用作学习及测试,如使用OPCUA协议请联系OPC基金会进行授权,产生一切纠纷与本项目无关

体验

  1. 在线体验iotgateway后台:http://42.193.160.84:518/
  2. 用户名 admin 密码 000000
  3. 内置Modbustcp模拟设备 ip 172.17.0.1 port 503 不要修改,否则连不上
  4. 其中modbus地址0-1为固定值,2-9为随机值,10-19为0
  5. 外网访问测试modbus设备,请连接:42.193.160.84:503,进行标准modbus协议读写
  6. 外网访问测试mqtt服务器,42.193.160.84:1888 admin 000000
  7. 外网访问测试opcua服务,opc.tcp://42.193.160.84:62541/Quickstarts/ReferenceServer 匿名访问
  8. 想要通过mqtt接收数据,请连接mqttserver:42.193.160.84,1888 admin 000000;订阅topic: v1/gateway/telemetry easteregg iotgateway 795d56161e78c770a2ca4d32f8e6b73 iotgateway image image

运行

windows主机运行:

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

linux/amd64,win/amd64 docker运行(官方仓)

  1. docker run -d -p 518:518 -p 1888:1888 -p 62541:62541 -p 503:503 --name iotgateway --restart always 15261671110/iotgateway

linux/amd64,win/amd64 docker运行(阿里仓)

  1. docker pull registry.cn-hangzhou.aliyuncs.com/wanghaidong/iotgateway
  2. docker tag registry.cn-hangzhou.aliyuncs.com/wanghaidong/iotgateway 15261671110/iotgateway
  3. docker run -d -p 518:518 -p 1888:1888 -p 62541:62541 -p 503:503 --name iotgateway --restart always 15261671110/iotgateway

linux/arm64 docker运行(官方仓)

  1. docker run -d -p 518:518 -p 1888:1888 -p 62541:62541 -p 503:503 --name iotgateway --restart always 15261671110/iotgateway:arm

linux/arm64 docker运行(阿里仓)

  1. docker pull registry.cn-hangzhou.aliyuncs.com/wanghaidong/iotgateway:arm
  2. docker tag registry.cn-hangzhou.aliyuncs.com/wanghaidong/iotgateway:arm 15261671110/iotgateway
  3. docker run -d -p 518:518 -p 1888:1888 -p 62541:62541 -p 503:503 --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 查看到数据

善假于物

  1. WTM(MIT)
  2. OPCUA(OPCUA)
  3. NModbus4(MIT)
  4. S7NetPlus(MIT)
  5. MQTTnet(MIT)
  6. DynamicExpresso(MIT)
  7. EFCore(MIT)
  8. LayUI(MIT)
  9. SQLite
  10. mtconnect
MIT License Copyright (c) 2021 dd Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

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

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C#
1
https://gitee.com/facefriends/iotgateway.git
git@gitee.com:facefriends/iotgateway.git
facefriends
iotgateway
iotgateway
master

搜索帮助