How to use it open source, how to deliver it — in one line
Factory-built for internal use without redistribution: free under AGPL. External delivery / OEM embedding / closed-source distribution: buy a commercial license, or write your own drivers against the Apache-2.0 SDK.
Can I use it for free as-is?
Usually yes (AGPL self-use)
- In-factory data collection, not distributed to third parties
- Data pushed only to your own internal MES / time-series database
- Using the gateway as a runtime component in an integration project delivered to a customer, without modifying the core and distributing it closed-source
Commercial license required
- Closed-source OEM embedding into your product and sold with hardware
- Modifying the core and delivering it closed-source
- Running a SaaS platform for external customers without providing the complete corresponding source
Either path works: ① comply with AGPL and provide the complete corresponding source to buyers; ② buy a commercial license and remove the AGPL obligation.
Three repositories, three licenses
| Repository | License | Contents |
|---|---|---|
| iot-gateway | AGPL-3.0-only | Gateway core: host, acquisition, pushing, alarms, web console, open API |
| iot-gateway-sdk | Apache-2.0 | Driver SDK: contract, wire protocol, plugin serve loop, examples |
| iot-gateway-drivers | AGPL-3.0-only | Official protocol drivers; commercial / OEM licensing available |
The key point: process boundaries
Drivers written with the SDK are separate executables that talk to the gateway over a documented wire protocol; they do not link or import the AGPL core. Therefore:
A proprietary driver written against the Apache-2.0 SDK is an independent program, not a derivative work of the AGPL gateway, and does not itself trigger AGPL obligations.
Official drivers are themselves AGPL-3.0-only and part of the commercial / OEM offering; third parties can write drivers under any license using the SDK. This is not legal advice; consult counsel before embedding or commercial release.
FAQ
Do I need a license for internal factory use?
No. In-factory collection that is not redistributed can be used under AGPL as-is.
Can I embed it in an OEM product or ship it closed-source?
That requires a commercial license, or you must comply with AGPL and provide the complete corresponding source to buyers.
Does a driver I write with the SDK trigger AGPL?
No. A driver written with the Apache-2.0 SDK is an independent program that talks to the gateway over a documented wire protocol, so it does not trigger the core AGPL obligation.
Describe your scenario, we will propose a plan
Email us the use case: OEM embedding / SaaS / derivative delivery / number of sites and points. Pricing is tiered by sites and points; details by email.