Skip to content

A standalone, single-file web application that acts as a virtual remote for Logitech Z407 Bluetooth computer speakers. It uses the **Web Bluetooth API** to reverse-engineer the protocol used by the physical dial.

Notifications You must be signed in to change notification settings

dansleboby/z407

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Logitech Z407 Web Controller

A standalone, single-file web application that acts as a virtual remote for Logitech Z407 Bluetooth computer speakers. It uses the Web Bluetooth API to replicate the protocol used by the physical dial, allowing you to control your speakers directly from your browser.

πŸ”— Live Web App: https://dansleboby.github.io/z407/

Features

  • πŸŽ› Virtual Dial: Full control over Volume and Play/Pause functions.
  • πŸ”Š Bass Mode: Click the center of the dial to toggle between Volume (Blue) and Bass (Purple) control modes.
  • πŸ”Œ Input Switching: One-click switching between Bluetooth, AUX, and USB inputs.
  • βš™οΈ System Controls: Trigger Bluetooth Pairing mode or Factory Reset.
  • πŸ› Debug Console: View raw TX/RX hex values for debugging BLE traffic.

Requirements

  • Hardware: Logitech Z407 Speakers.
  • Browser: Chrome, Edge, or Opera (Desktop or Android).
    • Note: Firefox and Safari (iOS) are not supported as they do not implement the Web Bluetooth API.
  • Connection: The page must be served over HTTPS or run from localhost.
    • You can use the Live Web App or save the html file locally.

How to Use

  1. Disconnect the original dial: Remove the batteries from the physical Logitech dial.
    • Why? The speaker only accepts one BLE connection at a time and will reject the web app if the physical dial is active.
  2. Open the application in a supported browser (use the link above or your local file).
  3. Click Find & Connect Speaker.
  4. Select your speaker from the browser's pairing menu.

Special Thanks

This project was made possible by the reverse engineering work done by freundTech.

About

A standalone, single-file web application that acts as a virtual remote for Logitech Z407 Bluetooth computer speakers. It uses the **Web Bluetooth API** to reverse-engineer the protocol used by the physical dial.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages