This project provides a way to control your Logitech Z906 speaker system via WiFi using an ESP32 microcontroller. It includes MQTT integration for seamless control and automatic integration with Home Assistant.
I am aware that there are already multiple projects for this Sound System, but none of them integrated the original Z906 Console. With this Project you can still use your Console for the System.
This project is perfect for everybody who's IR Receiver stopped working (like mine).
Clone this repository:
git clone https://github.com/Jupsi/logi_z906_wifi.git
cd logi_z906_wifi/sketch_jun7a
Install the necessary libraries in the Arduino IDE:
Open the project in Arduino IDE:
sketch_jun7a.ino
in Arduino IDE.Update WiFi and MQTT settings:
WifiSetup.cpp
, update your WiFi credentials.sketch_jun7a.ino
, update your MQTT broker credentials in the setup method.Flash the ESP32:
Configure Home Assistant:
Below is a table showing all cable connections between the Console, Amplifier, and ESP32:
Amplifier | Console | ESP32 |
---|---|---|
1 | 1 | X |
2 | 2 | X |
3 | 3 | X |
4 | 4 | X |
5 | 5 | X |
6 + GND | 6 | GND |
7 | 7 | X |
8 | 8 | 32 |
9 | 9 | 34 |
10 | 10 | X |
11 | 11 | X |
X | 12 | 17 |
X | 13 | 16 |
12 | X | 22 |
13 | X | 23 |
14 | 14 | X |
15 | 15 | 35 |
GND | GND | GND |
You can adjust all ESP32 Headers in the z906.h file.
//esp GPIO Header
const int ADC_PIN_LOW = 35;
const int ADC_PIN_CON_BOOT = 32;
const int ADC_PIN_CABLE_CONNECTED = 34;
const int8_t RX_CONSOLE_GPIO = 16;
const int8_t TX_CONSOLE_GPIO = 17;
const int8_t RX_AMP_GPIO = 22;
const int8_t TX_AMP_GPIO = 23;
Console is switching Inputs and/or Effect on its own
Console won't start
Console auto shuts off
None of the above problems appear when auto shutdown is turned off and the console is powered off while connecting everything together.
All of the problems are due to the Fact I could not figure out how to correctly use Pin 8 and Pin 15 since there is no real documentation about them. Maybe someone will figure it out.
This project is licensed under the GNU General Public License v3.0 (GPL-3.0). You are free to use, modify, and distribute the code, provided it is not for commercial purposes.
Contributions are welcome! Please open an issue or submit a pull request if you have any improvements or bug fixes.
For any questions or support, please open an issue in this repository.