Blog

Articles, release notes, and engineering tutorials on open source software, air quality sensing, and DevOps automation.

Explore by Topic

📡 ezsnmp Telemetry & Architecture

Deep dives into high-throughput SNMP polling, SNMPv3 security, network protocols (BGP, OSPF, IS-IS, VRRP, NetFlow, PoE, LLDP), and C++17 internals.

ezsnmp Telemetry & Architecture
🌬️ PurpleAir API & IoT Sensing

Developer tutorials for extracting real-time and historical air quality sensor telemetry, bounding box queries, and sensor group management.

PurpleAir API & IoT Sensing
📊 PurpleAir Data Logger & TimescaleDB

Architecture and deployment guides for logging sensor data to TimescaleDB, PostgreSQL hypertables, and local CSV/SQLite archives.

PurpleAir Data Logger & TimescaleDB
🏠 Matter Smart Home & Matterbridge

Exposing PurpleAir sensors as Matter 1.5.1 Air Quality devices into Apple Home, Home Assistant, and Matterbridge smart home ecosystems.

Matter Smart Home & Matterbridge

All Posts

📖 Monitoring Hardware Transceiver Optical Power (DOM/DDM) with ezsnmp

High-speed datacenter spine uplinks and metro fiber rings depend on pluggable optical transceivers—such as SFP+, SFP28, QSFP28, and QSFP-DD modules. Before…

Monitoring Hardware Transceiver Optical Power (DOM/DDM) with ezsnmp
📖 Real-Time WebSocket Telemetry Streams & Event-Driven Cluster Updates

Traditional smart home bridges rely heavily on fixed-interval HTTP polling. Every 30 or 60 seconds, the bridge requests a full JSON snapshot from an API or…

Real-Time WebSocket Telemetry Streams & Event-Driven Cluster Updates
📖 Containerized Edge Deployments: Multi-Architecture Docker Builds for Raspberry Pi & NAS Systems

Containerize purpleair_data_logger with multi-architecture Docker Buildx images, non-root security, persistent volumes, and healthchecks for Raspberry Pi and NAS systems.

Containerized Edge Deployments: Multi-Architecture Docker Builds for Raspberry Pi & NAS Systems
📖 Asynchronous Batch Polling & High-Concurrency Telemetry Pipelines with purpleair_api

Scale purpleair_api telemetry pipelines from single sensors to hundreds of stations using asyncio, bounded ThreadPoolExecutor concurrency, and rate-limit-safe backoff.

Asynchronous Batch Polling & High-Concurrency Telemetry Pipelines with purpleair_api
📖 Real-Time QoS Telemetry: Auditing Differentiated Services (DiffServ) & Queue Drops with ezsnmp

Poll RFC 3289 DIFFSERV-MIB counters and algorithmic tail-drop or WRED queue discards in real time using ezsnmp and Python.

Real-Time QoS Telemetry: Auditing Differentiated Services (DiffServ) & Queue Drops with ezsnmp
📖 Multi-Fabric Commissioning: Sharing PurpleAir Matterbridge with Apple Home and Google Home Concurrently

Share a single purpleair-matterbridge instance concurrently across Apple Home and Google Home using Matter Multi-Admin and Enhanced Commissioning Windows.

Multi-Fabric Commissioning: Sharing PurpleAir Matterbridge with Apple Home and Google Home Concurrently
📖 Building Automated Grafana Dashboards over TimescaleDB PurpleAir Telemetry

Connect Grafana to TimescaleDB and PostgreSQL telemetry from purpleair_data_logger with read-only roles, time_bucket panels, heatmaps, and spike alerts.

Building Automated Grafana Dashboards over TimescaleDB PurpleAir Telemetry
📖 Working with the Matter Device Converter: Mapping Sensor Data to Matter 1.5.1 Clusters

Convert PurpleAir PM2.5, VOC, temperature, humidity, and pressure readings into CSA Matter 1.5.1 cluster payloads and US EPA AQI ratings in Python.

Working with the Matter Device Converter: Mapping Sensor Data to Matter 1.5.1 Clusters
📖 Auditing BGP EVPN and VXLAN Overlay Fabric Health with ezsnmp

Audit BGP EVPN control-plane sessions, VNI state, and VXLAN tunnel endpoints (VTEPs) across leaf-spine data center fabrics using ezsnmp and Net-SNMP.

Auditing BGP EVPN and VXLAN Overlay Fabric Health with ezsnmp
📖 Matter Device Clustering & Sensor Telemetry Mapping for Smart Homes

Deep dive into how purpleair-matterbridge translates raw particulate laser counters and environmental readings into Matter 1.5.1 compliant clusters.

Matter Device Clustering & Sensor Telemetry Mapping for Smart Homes
📖 Local Sensor Polling & Offline CSV/SQLite Archival with purpleair_data_logger

Configure and run the SQLite and CSV backends in purpleair_data_logger for zero-infrastructure edge logging, automated file rotation, and SQL analytics.

Local Sensor Polling & Offline CSV/SQLite Archival with purpleair_data_logger
📖 Historical Sensor Data Extraction and Bounding Box Geographic Queries with purpleair_api

Extract historical sensor measurements, query spatial bounding boxes across geographic regions, and manage chunked time-series retrievals using the official purpleair_api Python library.

Historical Sensor Data Extraction and Bounding Box Geographic Queries with purpleair_api
📖 MPLS & Segment Routing LSP Telemetry: Label Switched Path Auditing with ezsnmp

Modern enterprise campus backbones, wide-area networks (WAN), and service provider backbones rely on Multiprotocol Label Switching (MPLS) and Segment…

MPLS & Segment Routing LSP Telemetry: Label Switched Path Auditing with ezsnmp
📖 Bridging PurpleAir Air Quality Sensors into Smart Home Matter Ecosystems

Bridge PurpleAir air quality telemetry into Apple Home, Home Assistant, and Matter smart homes using the official purpleair-matterbridge plugin and Docker with host networking.

Bridging PurpleAir Air Quality Sensors into Smart Home Matter Ecosystems
📖 Automated TimescaleDB & PostgreSQL Ingestion for PurpleAir Sensors

Stream real-time and historical PurpleAir air quality telemetry into PostgreSQL with TimescaleDB hypertables, automated compression, continuous aggregates, and time_bucket analytical SQL rollups.

Automated TimescaleDB & PostgreSQL Ingestion for PurpleAir Sensors
📖 Getting Started with the Python PurpleAir API Wrapper: Sensor Discovery, Keys & Rate Limits

Explore the official PurpleAir API Python wrapper (purpleair_api). Learn sensor discovery, read and write credential separation, bounding box queries, and resilient rate-limited polling.

Getting Started with the Python PurpleAir API Wrapper: Sensor Discovery, Keys & Rate Limits
📖 First-Hop Redundancy Monitoring: VRRP & HSRP with ezsnmp

Query VRRP and HSRP operational parameters, cross-reconcile HA gateway pairs, and detect split-brain dual-master anomalies in real time using ezsnmp.

First-Hop Redundancy Monitoring: VRRP & HSRP with ezsnmp
📖 Network Time & Clock Synchronization Telemetry with ezsnmp

Inspect system NTP synchronization states, evaluate stratum levels, and alert on clock skew and dispersion across network fleets using ezsnmp and Net-SNMP C bindings.

Network Time & Clock Synchronization Telemetry with ezsnmp
📖 OSPF & IS-IS Link-State Telemetry: Neighbor Auditing in ezsnmp

Audit OSPF and IS-IS neighbor adjacencies, detect MTU-induced stuck sessions, and monitor LSA retransmission queues in real time using ezsnmp and Net-SNMP C bindings.

OSPF & IS-IS Link-State Telemetry: Neighbor Auditing in ezsnmp
📖 Traffic Flow Auditing: Monitoring NetFlow & IPFIX with ezsnmp

Audit Cisco NetFlow and IPFIX flow exporter health with ezsnmp. Detect exporter-side packet drops, local queue buffer exhaustion, and cache sizing limits across transit routers.

Traffic Flow Auditing: Monitoring NetFlow & IPFIX with ezsnmp
📖 Auditing Enterprise PoE Budgets & Power Delivery with ezsnmp

Power over Ethernet (PoE) has evolved far beyond powering standard desk VoIP phones. In modern enterprise campus networks and smart facilities, edge…

Auditing Enterprise PoE Budgets & Power Delivery with ezsnmp
📖 BGP Routing Telemetry: Peering States & Prefix Counts in ezsnmp

The Border Gateway Protocol (BGP-4) serves as the routing foundation for the global internet, cloud direct connects, and modern data center spine-leaf Clos…

BGP Routing Telemetry: Peering States & Prefix Counts in ezsnmp
📖 Dynamic Inventory Sync: Populating NetBox & Nautobot via ezsnmp

Modern NetDevOps workflows center on a digital Source of Truth (SoT) such as NetBox or Nautobot. These platforms define the intended state of device…

Dynamic Inventory Sync: Populating NetBox & Nautobot via ezsnmp
📖 Testing SNMP Automation Pipelines with pytest and ezsnmp

Developing network automation software—such as custom telemetry daemons, exporters, and configuration crawlers—presents a fundamental testing challenge:

Testing SNMP Automation Pipelines with pytest and ezsnmp
📖 Hardware Health & Optical Power Monitoring (DOM/DDM) in ezsnmp

In modern high-speed data center fabrics and long-haul links (10G, 25G, 100G, and 400G), optical transceivers (SFP+, QSFP28, QSFP-DD) represent one of the…

Hardware Health & Optical Power Monitoring (DOM/DDM) in ezsnmp
📖 Modernizing SNMP Security: SNMPv3 over TLS and DTLS with ezsnmp

For decades, network engineers securing SNMP relied on the User-based Security Model (USM) introduced in SNMPv3. While USM provided cryptographic hashing…

Modernizing SNMP Security: SNMPv3 over TLS and DTLS with ezsnmp
📖 Building Custom SNMP Agent Extensions with Python and ezsnmp

While most network engineers interact with SNMP purely as client consumers (running GET, WALK, or SET queries against network gear), systems…

Building Custom SNMP Agent Extensions with Python and ezsnmp
📖 Automating VLAN Management & Q-in-Q Tagging with ezsnmp

In enterprise campus environments, data center fabrics, and carrier Ethernet networks, Virtual Local Area Networks (VLANs, IEEE 802.1Q) partition physical…

Automating VLAN Management & Q-in-Q Tagging with ezsnmp
📖 Real-Time Network Telemetry with ezsnmp, Polars, and DuckDB

Modern network engineers increasingly require sub-interval telemetry: polling switch fabrics, optical links, and data center core routers at 1- to 5-second…

Real-Time Network Telemetry with ezsnmp, Polars, and DuckDB
📖 SNMP Set Operations & Device Configuration with ezsnmp

While the vast majority of network monitoring relies on read-only operations (GET and WALK), the Simple Network Management Protocol was designed…

SNMP Set Operations & Device Configuration with ezsnmp
📖 Automating Network Topology Discovery: LLDP and CDP with ezsnmp

Maintaining accurate, real-time physical network maps is an essential requirement for data center automation, root-cause failure analysis, and Source of…

Automating Network Topology Discovery: LLDP and CDP with ezsnmp
📖 Building Custom Observability Exporters with ezsnmp

In modern Site Reliability Engineering (SRE) and cloud infrastructure, network metrics belong alongside application telemetry in centralized platforms like…

Building Custom Observability Exporters with ezsnmp
📖 C++17 Under the Hood: Inside ezsnmp’s Native Architecture

Python extensions interfacing with legacy C libraries are notoriously difficult to maintain. The official Net-SNMP library—while mature, highly optimized,…

C++17 Under the Hood: Inside ezsnmp’s Native Architecture
📖 Navigating Complex SNMP Tables with ezsnmp: Advanced Patterns

Unlike modern REST APIs or SQL databases that return structured JSON arrays or tabular rows, Simple Network Management Protocol (SNMP) represents tables as…

Navigating Complex SNMP Tables with ezsnmp: Advanced Patterns
📖 Resilient SNMP Polling with ezsnmp: Timeouts, Retries & Errors

Simple Network Management Protocol (SNMP) runs over User Datagram Protocol (UDP), an inherently connectionless transport. In laboratory setups, polling runs…

Resilient SNMP Polling with ezsnmp: Timeouts, Retries & Errors
📖 Asynchronous Polling with ezsnmp: Integrating into asyncio

Modern network automation tools—from FastAPI telemetry microservices to real-time event streaming engines—rely heavily on Python’s asyncio event loop to…

Asynchronous Polling with ezsnmp: Integrating into asyncio
📖 Working with MIBs in ezsnmp: OID Translation & Enterprise MIBs

Behind every SNMP query lies an Object Identifier (OID)—a dotted-decimal tree sequence like .1.3.6.1.2.1.1.1.0. While network daemons communicate…

Working with MIBs in ezsnmp: OID Translation & Enterprise MIBs
🛠️ Cross-Platform Installation & Troubleshooting ezsnmp Builds

Master ezsnmp installations across Windows, macOS, Linux distributions, and Docker. Learn how pre-built Windows wheels, Homebrew taps, and multi-stage Docker builds resolve C-extension header and linker bottlenecks.

Cross-Platform Installation & Troubleshooting ezsnmp Builds
⚡ High-Throughput Network Monitoring: Scaling ezsnmp Concurrency

Scale network monitoring throughput in Python using ezsnmp. Learn how C-level GIL release, ThreadPoolExecutor worker pools, and GETBULK maximize parallel polling performance.

High-Throughput Network Monitoring: Scaling ezsnmp Concurrency
🔒 Mastering SNMPv3 with ezsnmp: USM, AuthPriv, and EngineID Tips

A deep dive into secure SNMPv3 network monitoring with ezsnmp. Covers USM security levels, SHA/AES authPriv setup, VRF contexts, explicit EngineID caching, and robust exception handling.

Mastering SNMPv3 with ezsnmp: USM, AuthPriv, and EngineID Tips
📡 Modern SNMP in Python with ezsnmp: Practical Guide & Migration

A hands-on introduction to ezsnmp—a high-performance, C++17 Python wrapper for Net-SNMP. Covers v2c queries, GETBULK walks, SNMPv3 authPriv encryption, session reuse, and migrating from Easy SNMP.

Modern SNMP in Python with ezsnmp: Practical Guide & Migration