ot-gateway 0.0.0-stage → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +16 -2
  3. package/VERSION +1 -0
  4. package/apps/gateway/src/main.mjs +76617 -0
  5. package/apps/web/out/404.html +1 -0
  6. package/apps/web/out/__next.__PAGE__.txt +27 -0
  7. package/apps/web/out/__next._full.txt +22 -0
  8. package/apps/web/out/__next._tree.txt +3 -0
  9. package/apps/web/out/_next/static/chunks/0csls39kpdzgy.js +22 -0
  10. package/apps/web/out/_next/static/chunks/0cz1d0mv5g_q7.js +1 -0
  11. package/apps/web/out/_next/static/chunks/146bs6dt3wr47.js +1 -0
  12. package/apps/web/out/_next/static/chunks/162tvyao0-i49.js +12 -0
  13. package/apps/web/out/_next/static/chunks/29-6f2cs5ih9t.css +1 -0
  14. package/apps/web/out/_next/static/chunks/2u6f8n1jmolvz.js +1 -0
  15. package/apps/web/out/_next/static/chunks/3oyy-mvhhfmq3.js +31 -0
  16. package/apps/web/out/_next/static/chunks/turbopack-2u1d16houkiyo.js +1 -0
  17. package/apps/web/out/_next/static/wuxwvogcngcwjNNYpjAzM/_buildManifest.js +11 -0
  18. package/apps/web/out/_next/static/wuxwvogcngcwjNNYpjAzM/_clientMiddlewareManifest.js +1 -0
  19. package/apps/web/out/_next/static/wuxwvogcngcwjNNYpjAzM/_ssgManifest.js +1 -0
  20. package/apps/web/out/_not-found/__next._full.txt +20 -0
  21. package/apps/web/out/_not-found/__next._not-found.__PAGE__.txt +26 -0
  22. package/apps/web/out/_not-found/__next._tree.txt +4 -0
  23. package/apps/web/out/_not-found.html +1 -0
  24. package/apps/web/out/_not-found.txt +20 -0
  25. package/apps/web/out/index.html +1 -0
  26. package/apps/web/out/index.txt +22 -0
  27. package/examples/gateway.json +139 -0
  28. package/package.json +32 -3
  29. package/packaging/compose.yaml +52 -0
  30. package/profiles/eastron-sdm630.json +146 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 phocal-ai and OT Gateway contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,17 @@
1
- # Temporary Holding Version
1
+ # ot-gateway
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ An open-source edge gateway for buildings: Modbus TCP and BACnet/IP in, MQTT 5 out, safe commands back. This package is its command line, with the whole gateway inside.
4
+
5
+ ```bash
6
+ npx ot-gateway demo # a simulated building, a test broker and the status page on http://127.0.0.1:8080
7
+ npx ot-gateway init my-building # a few questions → my-building/ with ot-gateway.json, compose.yaml, ot-gateway.env
8
+ npx ot-gateway import points.csv # add the devices of a points list
9
+ npx ot-gateway discover ot-gateway.json # find BACnet devices on the network
10
+ npx ot-gateway check ot-gateway.json # validate a config without connecting
11
+ npx ot-gateway watch ot-gateway.json # print what arrives at the broker
12
+ npx ot-gateway status # the running gateway's devices, one line each
13
+ ```
14
+
15
+ Needs Node.js 22.18 or newer. To run a gateway unattended, use the container image with Docker Compose: see [Running a gateway](https://github.com/phocal-ai/ot-gateway/blob/main/docs/operations.md).
16
+
17
+ Documentation, source and issues: https://github.com/phocal-ai/ot-gateway (MIT).
package/VERSION ADDED
@@ -0,0 +1 @@
1
+ v0.8.1