All Projects → yjiong → iotgateway

yjiong / iotgateway

Licence: MIT License
iot gateway (modbusTCP,RTU,DLT645...to MQTT)

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to iotgateway

vamp2setup
Vamp Lamia Alpha Setup Guide
Stars: ✭ 33 (-67%)
Mutual labels:  gateway
apisix-python-plugin-runner
Apache APISIX Python plugin runner
Stars: ✭ 17 (-83%)
Mutual labels:  gateway
mqtt-433mhz-gateway-homie
433Mhz <-> MQTT gateway for smart home 🏡 automation
Stars: ✭ 37 (-63%)
Mutual labels:  gateway
kconfig
Kconfig for ARM based MCUs
Stars: ✭ 15 (-85%)
Mutual labels:  arm
cmake-arm-embedded
CMake development environment for ARM bare metal platforms based on GNU ARM Toolchain.
Stars: ✭ 58 (-42%)
Mutual labels:  arm
data-product-batch
Template to deploy a Data Product for Batch data processing into a Data Landing Zone of the Data Management & Analytics Scenario (former Enterprise-Scale Analytics). The Data Product template can be used by cross-functional teams to ingest, provide and create new data assets within the platform.
Stars: ✭ 27 (-73%)
Mutual labels:  arm
ui
UI for Mainflux IoT platform
Stars: ✭ 73 (-27%)
Mutual labels:  gateway
freeioe
FreeIOE is a framework for building IOE (Internet Of Everything) edge-computing gateway 开源的边缘计算网关框架. 讨论群: 291292378
Stars: ✭ 77 (-23%)
Mutual labels:  gateway
nordvpn
NordVpn Docker Client
Stars: ✭ 475 (+375%)
Mutual labels:  arm
cpuminer-arm
CPU Miner (minerd) for Raspberry Pi and other ARM based boards
Stars: ✭ 17 (-83%)
Mutual labels:  arm
AzUnzipEverything
A simple Azure Function to Unzip files from a blob storage to another one
Stars: ✭ 24 (-76%)
Mutual labels:  arm
docker-nagios
Docker image for Nagios Core in Alpine Linux with basic plugins, available for x86, x64 , ARM v6, ARM v7 and ARM64.
Stars: ✭ 33 (-67%)
Mutual labels:  arm
rnk
rnk is a RTOS targeting ARM architecture.
Stars: ✭ 22 (-78%)
Mutual labels:  arm
mobizon-node
Biblioteca NodeJS para trabalhar com os serviços Mobizon API
Stars: ✭ 17 (-83%)
Mutual labels:  gateway
ws-ldn-12
ARM / STM32F7 DIY synth workshop
Stars: ✭ 62 (-38%)
Mutual labels:  arm
arch-odroid
A simple script automatically installing Arch Linux for the ODROID.
Stars: ✭ 30 (-70%)
Mutual labels:  arm
rosetta-at-home
Fold for Covid - Help fight the COVID-19 pandemic with your old laptop, Raspberry Pi, or other spare computer
Stars: ✭ 78 (-22%)
Mutual labels:  arm
m3forth
m3forth is a forth cross-compiler for cortex-m3 ARM microcontrollers
Stars: ✭ 16 (-84%)
Mutual labels:  arm
IoT-Technical-Guide
🐝 IoT Technical Guide --- 从零搭建高性能物联网平台及物联网解决方案和Thingsboard源码分析 ✨ ✨ ✨ (IoT Platform, SaaS, MQTT, CoAP, HTTP, Modbus, OPC, WebSocket, 物模型,Protobuf, PostgreSQL, MongoDB, Spring Security, OAuth2, RuleEngine, Kafka, Docker)
Stars: ✭ 2,565 (+2465%)
Mutual labels:  gateway
skywalking-kong
Kong agent for Apache SkyWalking
Stars: ✭ 17 (-83%)
Mutual labels:  gateway

Iot-GATEWAY

简单介绍一下

  • 目标是将各种仪表,传感器,工业控制端,通过该网关转换成应用服务最容易接受的协议,并且以最简单最容易开发的形式提供给前端.
  • 基于linux arm环境(当然你可以在x86构架上跑)
  • 可以通过web页面管理网关.所有功能命令都可以在mqtt下完成.支持restful api接口,支持websocket实时通信.
  • 远程串口隧道功能,你可以通过该功能,将远程设备的串口(普通串口,rs485,422等)虚拟到本地.你可以利用该功能远程开发设备驱动.或者远程给plc什么的下载梯形图程序.

Installation

ubuntu and debian:

arm64安装包arm64.deb

armhf安装包armhf.deb

amd64安装包amd64.deb

uname -m 查看你的cpu构架,选择对应的deb包

sudo apt-get update
sudo apt-get --no-install-recommends -y install net-tools postgresql
sudo -u postgres psql -c "ALTER user postgres WITH password 'gateway';"
sudo dpkg -i gateway-xxx-v1.3.deb
sudo setid gatewayid gatewaymodel (设置网关编号和型号)

web登录端口80,默认用户名admin,密码123456
web管理

rest api 调试页面(未开启用户验证,直接可以操作):
rest api

远程串口隧道客户端:
sertunnel

串口隧道客户端serial-tunnel,使用方法详见包内介绍

Usage example

注:该版本屏蔽了用户验证,仅供测试

服务和iot网关的通信报文举例详见wiki For more examples and usage, please refer to the Wiki.

websocket 实时查看页面(未开启用户验证,直接可以操作)
websocket-page

注:上报周期interval不等于0的情况下,网关将每隔interval秒推送一次所有device实时数据

websocket 获取数据举例(python)(未开启用户验证,直接可以操作)

>>> import websocket
>>> import ssl
>>> import json
>>> ws=websocket.WebSocket(sslopt={"cert_reqs":ssl.CERT_NONE})
>>> ws.connect("wss://192.168.1.188/message")
>>> print json.dumps(json.loads(ws.next()),indent=4)
{
    "ctag": "0", 
    "devid": "123", 
    "sender": "FUCK-TEST", 
    "cmd": "push /dev/vars", 
    "tstamp": 1567143623, 
    "api": "v1.3.18", 
    "error": "serial: timeout", 
    "model": "GW-XXXX", 
    "statuscode": 404
}
>>> 

Release History

  • 1.3
    • CHANGE: add rest api

Meta

jiong yao – [email protected]

Distributed under the XYZ license. See LICENSE for more information.

https://github.com/yjiong/iotgateway

Contributing

  1. Fork it (https://github.com/yjiong/iotgateway/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].