Blog¶
Articles, release notes, and engineering tutorials on open source software, air quality sensing, and DevOps automation.
Topics:
Explore by Topic¶
Deep dives into high-throughput SNMP polling, SNMPv3 security, network protocols (BGP, OSPF, IS-IS, VRRP, NetFlow, PoE, LLDP), and C++17 internals.
Developer tutorials for extracting real-time and historical air quality sensor telemetry, bounding box queries, and sensor group management.
Architecture and deployment guides for logging sensor data to TimescaleDB, PostgreSQL hypertables, and local CSV/SQLite archives.
Exposing PurpleAir sensors as Matter 1.5.1 Air Quality devices into Apple Home, Home Assistant, and Matterbridge smart home ecosystems.
All Posts¶
High-speed datacenter spine uplinks and metro fiber rings depend on pluggable optical transceivers—such as SFP+, SFP28, QSFP28, and QSFP-DD modules. Before…
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…
Containerize purpleair_data_logger with multi-architecture Docker Buildx images, non-root security, persistent volumes, and healthchecks for Raspberry Pi and NAS systems.
Scale purpleair_api telemetry pipelines from single sensors to hundreds of stations using asyncio, bounded ThreadPoolExecutor concurrency, and rate-limit-safe backoff.
Poll RFC 3289 DIFFSERV-MIB counters and algorithmic tail-drop or WRED queue discards in real time using ezsnmp and Python.
Share a single purpleair-matterbridge instance concurrently across Apple Home and Google Home using Matter Multi-Admin and Enhanced Commissioning Windows.
Connect Grafana to TimescaleDB and PostgreSQL telemetry from purpleair_data_logger with read-only roles, time_bucket panels, heatmaps, and spike alerts.
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.
Audit BGP EVPN control-plane sessions, VNI state, and VXLAN tunnel endpoints (VTEPs) across leaf-spine data center fabrics using ezsnmp and Net-SNMP.
Deep dive into how purpleair-matterbridge translates raw particulate laser counters and environmental readings into Matter 1.5.1 compliant clusters.
Configure and run the SQLite and CSV backends in purpleair_data_logger for zero-infrastructure edge logging, automated file rotation, and SQL analytics.
Extract historical sensor measurements, query spatial bounding boxes across geographic regions, and manage chunked time-series retrievals using the official purpleair_api Python library.
Modern enterprise campus backbones, wide-area networks (WAN), and service provider backbones rely on Multiprotocol Label Switching (MPLS) and Segment…
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.
Stream real-time and historical PurpleAir air quality telemetry into PostgreSQL with TimescaleDB hypertables, automated compression, continuous aggregates, and time_bucket analytical SQL rollups.
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.
Query VRRP and HSRP operational parameters, cross-reconcile HA gateway pairs, and detect split-brain dual-master anomalies in real time using 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.
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.
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.
Power over Ethernet (PoE) has evolved far beyond powering standard desk VoIP phones. In modern enterprise campus networks and smart facilities, edge…
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…
Modern NetDevOps workflows center on a digital Source of Truth (SoT) such as NetBox or Nautobot. These platforms define the intended state of device…
Developing network automation software—such as custom telemetry daemons, exporters, and configuration crawlers—presents a fundamental testing challenge:
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…
For decades, network engineers securing SNMP relied on the User-based Security Model (USM) introduced in SNMPv3. While USM provided cryptographic hashing…
While most network engineers interact with SNMP purely as client consumers (running GET, WALK, or SET queries against network gear), systems…
In enterprise campus environments, data center fabrics, and carrier Ethernet networks, Virtual Local Area Networks (VLANs, IEEE 802.1Q) partition physical…
Modern network engineers increasingly require sub-interval telemetry: polling switch fabrics, optical links, and data center core routers at 1- to 5-second…
While the vast majority of network monitoring relies on read-only operations (GET and WALK), the Simple Network Management Protocol was designed…
Maintaining accurate, real-time physical network maps is an essential requirement for data center automation, root-cause failure analysis, and Source of…
In modern Site Reliability Engineering (SRE) and cloud infrastructure, network metrics belong alongside application telemetry in centralized platforms like…
Python extensions interfacing with legacy C libraries are notoriously difficult to maintain. The official Net-SNMP library—while mature, highly optimized,…
Unlike modern REST APIs or SQL databases that return structured JSON arrays or tabular rows, Simple Network Management Protocol (SNMP) represents tables as…
Simple Network Management Protocol (SNMP) runs over User Datagram Protocol (UDP), an inherently connectionless transport. In laboratory setups, polling runs…
Modern network automation tools—from FastAPI telemetry microservices to real-time event streaming engines—rely heavily on Python’s asyncio event loop to…
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…
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.
Scale network monitoring throughput in Python using ezsnmp. Learn how C-level GIL release, ThreadPoolExecutor worker pools, and GETBULK maximize parallel polling performance.
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.
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.