29 Oct 2026

HSSP Prime: Complete Technical Support Report & Reverse-Engineered System Breakdown

Comprehensive technical support report, system architecture analysis, and reverse-engineered telemetry audit of HSSP Prime (Hardware Software Switch Protocol), PC keyboard LED relay actuation, and cloud automation bridge.

  • Raymond Chauke

    Senior Engineer

HSSP Prime: Complete Technical Support Report & Reverse-Engineered System Breakdown

Lead Engineer & Author: Raymond Chauke (chauke.org / Valitech Automation)
Date: October 29, 2026
Subject Software: HSSP Prime (Keyboard Switch Control) & Valitech 3D Smart Automation
Download Package: Download HSSP Prime PC Software


1. Executive Summary & Core Innovation

HSSP PRIME (Hardware Software Switch Protocol) is an ingeniously pragmatic hardware-automation bridge created by senior engineer Raymond Chauke (chauke.org / Valitech Automation). The system solves a foundational hurdle in industrial and home automation: how to trigger high-voltage physical electrical actuators from any remote location without investing in proprietary PLC controllers, expensive USB DAQ boards, or specialized microcontroller drivers.

By repurposing the host operating system's built-in keyboard indicator state registers—specifically Caps Lock (VK_CAPITAL, 0x14), Num Lock (VK_NUMLOCK, 0x90), and Scroll Lock (VK_SCROLL, 0x91)—HSSP transforms any commodity PC, laptop, or legacy Windows workstation into a multi-channel digital output controller. The 5V/3.3V logic signals that power the physical keyboard LEDs (or their corresponding HID OUT reports across USB/PS2 bus) directly trigger opto-isolated relay boards.


2. Functional Breakdown: What the App Does in Totality

In totality, the HSSP system encompasses an end-to-end, closed-loop telemetry and remote actuation pipeline operating across two primary subsystems: the Remote Web Control Interface (valitech.co.za/automation) and the Local HSSP Prime Host Daemon.

Tri-Channel Relay Allocation Matrix

  • Line 01 (Caps Lock / Text Capitalization): Water Geyser, Main Lighting, High-Draw Heating Loads. Protocol Token: Line1On / Line1Off.
  • Line 02 (Num Lock / Numeric Keypad Lock): Air Conditioning, Cooling Fans, Electric Stove, Refrigerator. Protocol Token: Line2On / Line2Off.
  • Line 03 (Scroll Lock / Legacy Screen Scroll): Perimeter Security Gate, Motorized Doors, Vehicle Ignition. Protocol Token: Line3On / Line3Off.

Note on Scroll Lock Selection: As Raymond Chauke demonstrates, Scroll Lock is specifically designated for high-security applications like motorized gates. Because Scroll Lock is virtually unused by modern business applications, physical typing on the workstation will never inadvertently trip the gate relay.


3. Physical Hardware Interfacing: Keyboard LEDs to Industrial Relays

  1. OS-Level Synthesis: HSSP Prime calls Win32 API functions (keybd_event or SendInput). Windows updates the keyboard status in the input subsystem.
  2. USB HID Dispatch: The operating system sends a USB HID Set_Report request (Output Report, Type 0x02) with a 1-byte LED bitmask.
  3. Keyboard Controller Output: The internal microcontroller inside the keyboard pulls the corresponding LED cathode/anode high/low, delivering approximately 3.3V to 5V DC at 10–20mA.
  4. Optical Isolation (Optocoupler Stage): Wires soldered across the LED terminals feed the input of a PC817 or 4N25 optocoupler IC, providing up to 5,000V RMS galvanic isolation to protect the PC motherboard from voltage spikes or back-EMF.
  5. Relay Driver: The phototransistor output switches an NPN transistor / MOSFET, energizing a 5V/12V relay coil or driving a Solid-State Relay (SSR) rated for 250VAC at 16A–40A.
  6. Appliance Actuation: Mains power is delivered to the geyser element, gate motor terminal, or vehicle ignition wires.

4. Forensic Video Timeline & Protocol Trace Audit

  • 00:00 - 00:44: Raymond Chauke introduces HSSP Prime and outlines how the desktop daemon interacts with both the local Windows OS and remote cloud web endpoints.
  • 00:45 - 01:17: Presenter reveals the companion web application hosted at valitech.co.za/automation/?tp=node/1 with authenticated switch matrix.
  • 01:18 - 02:37: Online trigger file polling is enabled on HSSP Prime (polling every 3 seconds). Line 01 (Caps Lock / Geyser) is clicked ON/OFF remotely; HSSP Prime logs: Beetloe -> CapsLock ON.
  • 02:38 - 02:55: Line 02 (Num Lock / AC) remote actuation test with live status updating.
  • 02:56 - 03:37: Line 03 (Scroll Lock / "The Gate") demonstration, opening and closing the perimeter gate mechanism remotely ("Line 3, Scroll Lock, which is our gate!").
  • 03:38 - 04:39: Real-world appliance interfacing: geysers, air conditioners, stoves, refrigerators, vehicle ignitions, and car horns.
  • 05:26 - 06:18: Software lineage confirmed: ported from legacy Visual Basic 6 (VB6) into Microsoft Visual Studio (.NET / C#), integrated with Python, Django, and React.

5. Security, Reliability & Industrial Hardening Assessment

  • Polling Latency: The 3-second HTTP GET polling cycle (valitech.co.za/automation/21) introduces an intrinsic latency of 0 to 3,000ms. For vehicle cutoff or gate stop limits, upgrading to WebSocket (WSS) or MQTT over TLS provides sub-50ms push actuation.
  • State Desynchronization Hardening: HSSP Prime addresses physical keystroke drift by verifying absolute key state via Win32 GetKeyState() before asserting pulse events.
  • Fail-Safe Defaults: In the event of a PC crash or power loss, keyboard LEDs default to OFF (Normally Open), providing an inherent fail-safe for heating loads.

6. Future Telecommunications Roadmap

  • GSM & SMS Remote Triggering: Cellular SMS command gateways (GATE OPEN, GEYSER OFF) for remote sites without active data coverage.
  • Missed-Call / Callback Gate Triggers: Caller-ID whitelisting where an authorized drop-call triggers the gate at zero airtime cost.
  • WhatsApp Business & Telegram Bots: Conversational interactive triggers with two-factor biometric verification.
  • Analog Sensor Loops: Ambient and geyser temperature regulation with PID thermostat feedback.

7. Official Software Download

The compiled Windows 64-bit client package (HSSPPrime.exe, HSSPPrime.dll, runtime configuration, and driverless USB assets) is now available for public download:

👉 Download HSSP Prime PC Software at chauke.org/download-apps/