{"id":37993533,"url":"https://github.com/yjiong/iotgateway","last_synced_at":"2026-01-16T18:45:29.623Z","repository":{"id":43141162,"uuid":"99555629","full_name":"yjiong/iotgateway","owner":"yjiong","description":"iot gateway (modbusTCP,RTU,DLT645...to MQTT)","archived":false,"fork":false,"pushed_at":"2022-08-13T10:45:32.000Z","size":6255,"stargazers_count":168,"open_issues_count":1,"forks_count":108,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-06-18T21:31:52.955Z","etag":null,"topics":["arm","gateway","iot"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yjiong.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-07T08:34:48.000Z","updated_at":"2024-06-04T02:47:30.000Z","dependencies_parsed_at":"2022-08-28T19:41:02.955Z","dependency_job_id":null,"html_url":"https://github.com/yjiong/iotgateway","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/yjiong/iotgateway","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjiong%2Fiotgateway","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjiong%2Fiotgateway/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjiong%2Fiotgateway/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjiong%2Fiotgateway/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yjiong","download_url":"https://codeload.github.com/yjiong/iotgateway/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjiong%2Fiotgateway/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28481180,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arm","gateway","iot"],"created_at":"2026-01-16T18:45:29.500Z","updated_at":"2026-01-16T18:45:29.617Z","avatar_url":"https://github.com/yjiong.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Iot-GATEWAY\n\n### 简单介绍一下 \n* 目标是将各种仪表,传感器,工业控制端,通过该网关转换成应用服务最容易接受的协议,并且以最简单最容易开发的形式提供给前端.\n* 基于linux arm环境(当然你可以在x86构架上跑)\n* 可以通过web页面管理网关.所有功能命令都可以在mqtt下完成.支持restful api接口,支持websocket实时通信.\n* 远程串口隧道功能,你可以通过该功能,将远程设备的串口(普通串口,rs485,422等)虚拟到本地.你可以利用该功能远程开发设备驱动.或者远程给plc什么的下载梯形图程序.\n\n\n## Installation\n\n### ubuntu and debian:\n\narm64安装包[arm64.deb]\n\narmhf安装包[armhf.deb]\n\namd64安装包[amd64.deb]\n\nuname -m 查看你的cpu构架,选择对应的deb包\n\n```sh\nsudo apt-get update\nsudo apt-get --no-install-recommends -y install net-tools postgresql\nsudo -u postgres psql -c \"ALTER user postgres WITH password 'gateway';\"\nsudo dpkg -i gateway-xxx-v1.3.deb\nsudo setid gatewayid gatewaymodel (设置网关编号和型号)\n```\nweb登录端口80,默认用户名admin,密码123456  \n![web管理](./logo/managerweb.png)\n\nrest api 调试页面(未开启用户验证,直接可以操作):  \n![rest api](./logo/restapi.png)\n\n远程串口隧道客户端:  \n![sertunnel](./logo/sertunnel.png)  \n  \n串口隧道客户端[serial-tunnel],使用方法详见包内介绍\n\n\n## Usage example  \n\n_注:该版本屏蔽了用户验证,仅供测试_\n\n_服务和iot网关的通信报文举例详见wiki_\n_For more examples and usage, please refer to the [Wiki][wiki]._\n\nwebsocket 实时查看页面(未开启用户验证,直接可以操作)    \n![websocket-page](./logo/websocket-page.png)  \n\n_注:上报周期interval不等于0的情况下,网关将每隔interval秒推送一次所有device实时数据_\n\nwebsocket 获取数据举例(python)(未开启用户验证,直接可以操作)    \n\n```sh\n\u003e\u003e\u003e import websocket\n\u003e\u003e\u003e import ssl\n\u003e\u003e\u003e import json\n\u003e\u003e\u003e ws=websocket.WebSocket(sslopt={\"cert_reqs\":ssl.CERT_NONE})\n\u003e\u003e\u003e ws.connect(\"wss://192.168.1.188/message\")\n\u003e\u003e\u003e print json.dumps(json.loads(ws.next()),indent=4)\n{\n    \"ctag\": \"0\", \n    \"devid\": \"123\", \n    \"sender\": \"FUCK-TEST\", \n    \"cmd\": \"push /dev/vars\", \n    \"tstamp\": 1567143623, \n    \"api\": \"v1.3.18\", \n    \"error\": \"serial: timeout\", \n    \"model\": \"GW-XXXX\", \n    \"statuscode\": 404\n}\n\u003e\u003e\u003e \n```\n\n\n## Release History\n\n* 1.3\n    * CHANGE: add rest api\n\n\n## Meta\njiong yao – yjiong@msn.com\n\nDistributed under the XYZ license. See ``LICENSE`` for more information.\n\n[https://github.com/yjiong/iotgateway](https://github.com/yjiong/)\n\n## Contributing\n\n1. Fork it (\u003chttps://github.com/yjiong/iotgateway/fork\u003e)\n2. Create your feature branch (`git checkout -b feature/fooBar`)\n3. Commit your changes (`git commit -am 'Add some fooBar'`)\n4. Push to the branch (`git push origin feature/fooBar`)\n5. Create a new Pull Request\n\n\u003c!-- Markdown link \u0026 img dfn's --\u003e\n[wiki]: https://github.com/yjiong/iotgateway/wiki\n[armhf.deb]:https://github.com/yjiong/iotgateway/releases/download/v1.3/gateway-armhf-v1.3.deb\n[arm64.deb]:https://github.com/yjiong/iotgateway/releases/download/v1.3/gateway-arm64-v1.3.deb\n[amd64.deb]:https://github.com/yjiong/iotgateway/releases/download/v1.3/gateway-amd64-v1.3.deb\n[serial-tunnel]:https://github.com/yjiong/iotgateway/releases/download/v1.3/serial-tunnel-win.zip","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjiong%2Fiotgateway","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyjiong%2Fiotgateway","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjiong%2Fiotgateway/lists"}