Back to Case Studies
Haytek  ·  IoT / Hardware Manufacturing

Secure Local-First
IoT Platform

How we replaced cloud-dependent IoT infrastructure with a secure local-first system for 200+ customer sites — 10x faster, zero data leaving the facility, deployed by non-technical staff in under 4 minutes.

200+
Sites
Migrated
10x
Faster
Response
99.99%
Local
Uptime
4 min
Avg Install
Time
12 wks
Kickoff
to Release
01
01
The Challenge

The Problem

Haytek, an IoT device manufacturer, had a critical problem: all their devices relied on a centralized global server. This created serious vulnerabilities that threatened both the business and their customers.

"Every device depended on one server. If it went down, every customer went dark."

The risks were severe:

  • Security risk — all customer data routed through external servers
  • Single point of failure — if the global server went down, all devices went offline
  • Privacy concerns — sensitive data leaving customer premises
  • Latency — slow response times from remote server communication
  • Vendor lock-in — customers fully dependent on Haytek's infrastructure
02
02
Our Approach

How We Solved It

We built a lightweight, self-contained server that runs entirely on customer premises — on a standard mini PC:

1

Device Communication Hub

  • WebSocket server for real-time device communication
  • MQTT broker for IoT protocol support
  • Local network discovery for automatic device pairing
  • Offline-first architecture with local data storage (SQLite — no external DB needed)
2

Authentication & Security

  • JWT-based authentication with role-based access control (RBAC)
  • API key management for secure integrations
  • TLS/SSL encryption for all communications
  • Secure private VPN infrastructure for remote management
  • AES-256 encryption at rest, no hardcoded credentials
3

REST API Server (.NET / C#)

  • 50+ endpoints covering all device operations
  • OpenAPI / Swagger documentation
  • Rate limiting, WebSocket upgrade for real-time streams
  • Webhook support for event-driven integrations
4

ClickOnce Installer (Windows)

  • Single-executable installer — all dependencies bundled
  • Guided first-run setup wizard
  • Runs as a background service (auto-starts on boot)
  • One-click updates for patches and new features

The Installer Was Critical

Non-technical site managers needed to deploy this themselves. We invested heavily in the installer UX — setup flows, error handling, and validation — so it would work first time, every time.

98%
First-attempt success rate
4 min
Average setup time
03
03
Deliverables

What We Delivered

Mini PC Server Software (.NET / C#)
Lightweight (<100MB), runs on commodity Windows hardware, auto-starts on boot
ClickOnce Installer (Windows)
Single-click install, guided wizard, auto-updates
REST API Server
50+ endpoints, OpenAPI 3.0 spec, rate limiting, WebSocket support, webhook system
Web-Based Admin Dashboard
Device monitoring, user/permission management, logs, diagnostics
Migration Tools
Cloud-to-local migration utility; 200+ customer sites migrated
Documentation Package
Installation guide, API reference, integration guide, security guide, FAQ
04
04
Results

The Results

Metric
Result
Customer sites migrated
200+
Installation success rate (first attempt)
98%
Average installation time
4 minutes
Response time improvement
10x faster
API uptime (local infrastructure)
99.99%
Support tickets (connectivity issues)
60% reduction
NPS score increase
+35 points

Business Impact

  • Zero external server costs — eliminated global server infrastructure entirely
  • Opened new enterprise markets — security-conscious customers who couldn't use cloud
  • Customers now fully own their data and infrastructure
  • GDPR/HIPAA compliance significantly easier — data never leaves the site

"The transition from cloud to local was seamless. We now have complete control over our IoT infrastructure, our data never leaves our facility, and everything is faster and more reliable. The click-once installer meant our non-technical site managers could deploy it themselves."

Client, Haytek
Quote attribution pending client confirmation
Tech Stack

Technologies Used

.NET / C# SQLite REST API ClickOnce (Windows) MQTT WebSocket JWT TLS 1.3 VPN OpenAPI / Swagger
Let's Work Together

Ready to Build
Something Great?

We're not just looking for projects—we're looking for partnerships. Let's discuss how we can help your business succeed.

25+
Years Experience
100%
Client Success
24/7
Support Available