Bridge IoT to Industrial Systems

Connect ChirpStack LoRaWAN devices to OPC UA SCADA systems with production-ready reliability

✨ v2.0.0 - Production Ready 🦀 Written in Rust 📡 OPC UA 1.04
2.0
Version
5
Completed Stories
100%
Test Coverage
MIT/Apache
Open License

Why opcgw?

Real-Time Data Bridge

Continuously polls ChirpStack via gRPC and exposes metrics as OPC UA variables for your SCADA systems

Production Ready

Built in Rust with comprehensive error handling, configuration validation, and graceful shutdown

Easy Configuration

Simple TOML configuration with environment variable overrides and startup validation

Container Native

Official Docker image, Docker Compose setup, and Kubernetes-ready with health checks

Scalable Architecture

Support for hundreds of devices with configurable polling intervals and automatic retry logic

Observable

Structured logging with per-module log files for deep visibility into gateway operation

Quick Start

git clone https://github.com/guycorbaz/opcgw.git
cd opcgw
cp config/config.example.toml config/config.toml
# Edit config/config.toml with your ChirpStack details
cargo run --release -- -c config/config.toml

Or use Docker:

docker-compose up

Use Cases

🌱 Smart Agriculture

Monitor soil conditions, optimize irrigation, prevent crop loss

Learn more →

🏭 Industrial IoT

Real-time equipment monitoring, predictive maintenance

Learn more →

🌍 Environmental Monitoring

Air quality networks, public health alerts, compliance

Learn more →

🏢 Building Automation

HVAC optimization, energy savings, occupancy-based control

Learn more →

Ready to bridge your systems?

Start with our comprehensive documentation and community support