TypedChrono

TypedChrono

Next-Generation TypeScript SDK for Time Series

Type-safe queries for AWS Timestream, TimescaleDB & InfluxDB. Catch sensor errors at compile-time. Built for industrial IoT.

View Live Demo →

Open source • MIT License •

Strongest Type-Safety Guarantees

TypeScript compile-time checking plus Zod runtime validation. Catch invalid sensor data at compile-time, not in production.

Multi-Backend Support

Unified API for AWS Timestream, TimescaleDB, and InfluxDB. Write once, deploy anywhere. No vendor lock-in.

Industrial IoT Ready

Native protocol adapters for OPC UA, Modbus, DNP3, and MQTT. Built for manufacturing, robotics, and critical infrastructure.

Prisma-like Developer Experience

Intuitive SDK with full IDE autocomplete and type inference. Queries feel natural, refactoring is safe.

Time Series Operations

Built-in windowing, aggregations, interpolation, and downsampling. Purpose-built for IoT, metrics, and analytics.

Real-Time Subscriptions

Query historical and streaming data seamlessly. Live query subscriptions for real-time dashboards.

Why TypedChrono?

Time series databases lack type safety, leading to runtime errors in production. Sensor data can be invalid, protocol parsing can fail, and network issues corrupt data—all silently slipping into your database.

TypedChrono brings the strongest type-safety guarantees to time series data. Full TypeScript integration with compile-time checking plus Zod-powered runtime validation. Catch sensor errors before they break your IoT system.

Inspired by Prisma's developer experience, TypedChrono provides type-safe queries, real-time subscriptions, and an intuitive SDK—but purpose-built for time series databases. Multi-backend support means write once, deploy on AWS Timestream, TimescaleDB, or InfluxDB. No vendor lock-in.

Industrial Controller Integration

TypedChrono provides type-safe connectors for industrial automation systems. Write once, catch errors at compile time.

PLC Integration (Allen-Bradley)

import { Chronotype } from 'typedchrono'
import { PLCAdapter } from 'typedchrono/adapters'

const db = new Chronotype({
  endpoint: 'localhost:8086'
})

const plc = new PLCAdapter({
  host: '192.168.1.100',
  tags: {
    temperature: 'Real',
    pressure: 'Real',
    flowRate: 'Real',
    status: 'Boolean'
  }
})

// Type-safe data ingestion
plc.onData(async (data) => {
  await db.write({
    measurement: 'production_line_1',
    tags: {
      location: 'zone_a',
      equipment: 'reactor_1'
    },
    fields: {
      temperature: data.temperature,
      pressure: data.pressure,
      flowRate: data.flowRate,
      status: data.status
    },
    timestamp: new Date()
  })
})

See It In Action

Check out our interactive robot dashboard demo that simulates real-time telemetry data, similar to what you'd see in an Ignition SCADA system.

Launch Live Dashboard Demo

SCADA/HMI Integration Benefits

TypedChrono provides native integration with popular SCADA/HMI platforms through real-time subscriptions and REST APIs:

Ignition by Inductive Automation

  • • Native Python/Jython client library
  • • WebSocket subscriptions for real-time data
  • • Tag provider integration
  • • Perspective & Vision dashboard support
  • • Historical trend chart queries

Other Platforms

  • • Wonderware System Platform
  • • Rockwell FactoryTalk View
  • • Siemens WinCC
  • • GE iFIX / CIMPLICITY
  • • Grafana (web-based)

Dashboard Components

  • • Real-time gauges and meters
  • • Trend charts with historical data
  • • 3D coordinate displays
  • • Alarm/event tables
  • • KPI cards and aggregations

Performance

  • • Sub-100ms latency for subscriptions
  • • Configurable throttling (10Hz-100Hz)
  • • Change-detection to reduce bandwidth
  • • Efficient aggregation for trends
  • • Multi-client subscriptions

Robot Telemetry Use Cases

Storing robot telemetry in a time series database enables advanced analytics and predictive maintenance:

Performance Analysis

  • • Track cycle times and throughput
  • • Optimize motion paths for efficiency
  • • Monitor energy consumption patterns
  • • Analyze tool velocity profiles

Predictive Maintenance

  • • Detect joint torque degradation
  • • Predict bearing failures from vibration
  • • Monitor power consumption trends
  • • Identify abnormal motion patterns

Quality Control

  • • Verify path accuracy for each operation
  • • Correlate position data with defects
  • • Track weld quality by velocity/position
  • • Monitor repeatability metrics

Safety & Compliance

  • • Log all robot movements for audits
  • • Detect overload conditions
  • • Track collision events
  • • Monitor safety zone violations

Why Runtime Validation Matters

TypeScript provides compile-time safety, but industrial sensors can fail, networks can corrupt data, and protocols can misbehave. Chronotype uses Zod-powered validation to ensure data quality at runtime:

Detect sensor malfunctions before writing to database
Enforce valid ranges for physical measurements
Validate enum values from controller status codes
Catch protocol parsing errors early

Industrial-Grade Features

High-frequency data ingestion

Handle millions of data points per second from industrial equipment

Protocol adapters included

OPC UA, Modbus, MQTT, DNP3, and more out of the box

Edge deployment ready

Run on edge gateways with local buffering and sync

Real-time alerting

Type-safe threshold monitoring and anomaly detection

Enterprise Security & Compliance

TypedChrono provides application-level security that complements your existing network infrastructure and security practices.

Important: Defense in Depth

TypedChrono provides application-level security but does NOT replace proper network architecture:

Chronotype Provides:

  • • Authentication & authorization
  • • TLS encryption in transit
  • • Data encryption at rest
  • • Audit logging
  • • Role-based access control
  • • Query-level permissions

You Must Still Implement:

  • • Network segmentation (VLANs)
  • • Firewalls and IDS/IPS
  • • Zero-trust network architecture
  • • VPN/secure tunnels for remote access
  • • Physical security controls
  • • Regular security audits & pen testing

Best Practice: Deploy Chronotype behind your corporate firewall, use network segmentation to isolate OT (Operational Technology) from IT networks, implement jump hosts for administrative access, and follow IEC 62443 or NIST guidelines for industrial control system security. Chronotype complements these practices by securing access at the application layer.

Compliance & Standards Support

Regulatory Compliance

  • • SOC 2 Type II ready
  • • ISO 27001 compliant
  • • GDPR data privacy
  • • HIPAA audit logging
  • • FDA 21 CFR Part 11

Industrial Standards

  • • IEC 62443 (ICS security)
  • • NERC CIP (power grid)
  • • ISA/IEC 62443 zones
  • • NIST Cybersecurity Framework
  • • ISO 27019 (energy sector)

Enterprise Integration

  • • SAML 2.0 / OAuth 2.0 / OIDC
  • • LDAP / Active Directory
  • • Syslog / SIEM integration
  • • HashiCorp Vault support
  • • AWS KMS / Azure Key Vault

The Complete Industrial Data Platform

TypedChrono is part of a complete industrial data platform that takes you from raw sensor data to actionable business insights with full type safety at every layer.

TypedChrono

Layer 1: Time Series Data

Collect and store raw sensor data from PLCs, OPC UA servers, Modbus devices, MQTT sensors, and industrial robots with compile-time and runtime type safety.

  • High-frequency data ingestion (100Hz+ sampling)
  • Native protocol adapters (OPC UA, Modbus, MQTT)
  • Multi-backend support (Timestream, TimescaleDB, InfluxDB)
You are here →

TypedContext

Layer 2: ISA-95 Contextualization

Transform raw sensor data into structured manufacturing context using ISA-95 hierarchy (Enterprise → Site → Area → Line → Equipment → Sensor).

  • ISA-95 equipment hierarchy modeling
  • Asset relationships and contextualization
  • Production context (batches, runs, campaigns)
Learn more →

TypedCore

Layer 3: Business State

Aggregate contextualized data into business metrics, KPIs, and operational intelligence for decision-making and continuous improvement.

  • OEE calculation (Availability, Performance, Quality)
  • Production KPIs and business analytics
  • Cost allocation and resource optimization
Learn more →

End-to-End Data Flow

Raw Sensor Data

Temperature: 72.5°F
Pressure: 14.7 PSI
Timestamp: 2025-01-14T10:30:45Z

Contextualized Data

Enterprise: Acme Corp
Site: Plant #3 → Line A → Reactor 2
Batch ID: BATCH-2025-001

Business Metrics

OEE: 87.3%
Throughput: 450 units/hr
Cost per Unit: $12.45

Why This Architecture Matters

Type Safety at Every Layer

Compile-time validation prevents errors from propagating through your industrial data pipeline.

ISA-95 Standard Compliance

Industry-standard hierarchy ensures your data model aligns with manufacturing best practices.

Business Insight Generation

Transform raw sensor readings into actionable KPIs and OEE metrics that drive decisions.

Real-Time to Historical

Query live sensor data alongside historical trends and business analytics in one platform.

Start with TypedChrono for time series data, then add TypedContext and TypedCore as your needs grow.

TypedChrono Edge Gateway

Proof of concept hardware for rapid prototyping and testing with real sensor data

Raspberry Pi Industrial Gateway

$299 USD

Complete hardware solution for connecting industrial sensors to Chronotype via OPC UA. Perfect for testing, prototyping, and small-scale deployments.

Raspberry Pi 4 with industrial enclosure
4x I2C sensors included (temp, humidity, motion, power)
OPC UA client pre-configured for TypedChrono
Edge buffering & real-time sampling up to 100Hz
2x relay outputs + 4x digital inputs

System Architecture

┌─────────────────────────┐
│  TypedChrono Edge Gateway  │
│   Raspberry Pi 4        │
├─────────────────────────┤
│                         │
│  ┌──────────┐          │
│  │ OPC UA   │◄─────────┼── Chronotype
│  │ Client   │   LAN    │   Server
│  └────┬─────┘          │
│       │                │
│  ┌────▼────────┐       │
│  │  I2C Bus    │       │
│  └─┬──┬──┬──┬──┘       │
│    │  │  │  │          │
│ Temp │  │  ADC         │
│   Accel│  Power        │
│      Humidity          │
│                         │
│  Relay × 2             │
│  Digital I/O × 4       │
│  RTC + Battery         │
└─────────────────────────┘
Ethernet / WiFi Connectivity
TLS Encrypted OPC UA
Edge Data Buffering

Flexible Deployment Options

Deploy TypedChrono in the cloud for rapid scaling or on-premise for complete control

Cloud Deployment

Fully managed, serverless deployment on Vercel with automatic scaling and zero maintenance.

  • Deploy in seconds
  • Auto-scaling based on load
  • Global CDN for low latency
  • Pay-as-you-go pricing
Try Cloud Demo

On-Premise

Self-hosted deployment with complete control over data, security, and infrastructure.

  • Full data sovereignty
  • Air-gapped network support
  • GDPR, HIPAA, IEC 62443 compliant
  • Ultra-low latency for OT
View On-Premise Details

TypedChrono SDK vs Direct InfluxDB

TypedChrono provides a type-safe SDK layer for time series databases like InfluxDB, TimescaleDB, and AWS Timestream, bringing modern TypeScript developer experience to proven time series engines.

FeatureChronotypeInfluxDB
Type SafetyFull TypeScript + Zod runtime validationLimited type safety, runtime validation only
Query LanguageType-safe query builder with autocompleteFlux/InfluxQL (string-based queries)
Industrial ProtocolsOPC UA, Modbus, DNP3, MQTT adapters includedTelegraf plugins available separately
SCADA IntegrationNative Ignition, Grafana support with examplesGood Grafana integration
Edge Gateway HardwareRaspberry Pi gateway with sensors ($299)DIY or third-party solutions
On-Premise DeploymentDocker Compose stack with Keycloak SSOEnterprise self-hosted option
Backend OptionsAWS Timestream, TimescaleDB, InfluxDB supportInfluxDB-specific TSM storage engine
Security & ComplianceIEC 62443, NERC CIP, HIPAA, SOC 2Enterprise security features
LicenseOpen source (MIT)Open source with commercial features
Developer ExperienceTypeScript-first SDK, IDE autocompleteMultiple language clients, string-based
ScalabilityCloud-native, serverless scalingHighly scalable clustering
Learning CurveFamiliar TypeScript patternsCustom query language to learn

When to choose TypedChrono

  • You're building industrial IoT applications with PLCs, SCADA systems, or robotics
  • You need native protocol adapters (OPC UA, Modbus, DNP3, MQTT) with runtime validation
  • You require on-premise deployment for air-gapped networks or data sovereignty
  • You're integrating with SCADA/HMI platforms like Ignition, Wonderware, or FactoryTalk
  • You want end-to-end type safety from sensors to database with compile-time guarantees
  • You need compliance with IEC 62443, NERC CIP, HIPAA, or other industrial standards
  • You want ready-to-use edge gateway hardware for rapid prototyping and testing
  • You value IDE autocomplete and intelligent code suggestions for queries
  • You're already familiar with AWS Timestream and want an open source alternative

Ready to Get Started?

Join the growing community of developers building type-safe time series applications with TypedChrono. Start collecting and analyzing your industrial data today.

Contact Sales

Need help getting started? Check out our or tutorials