This is my version of connecting your Z906 to the MQTT broker in Home Assistant.
Thank you zarpli
I want to thank zarpli for creating the Logitech-Z906 repo that made this integ
Currently this is a very rough sketch and the only things currently working are the volume control on all speakers (main, rear, subwoofer, center) and powering on and off the system. I will also be improving the code a lot more. (I'm not a C++ developer, I do web stuff haha)
For some reason my speaker set is a newer version or some sort as I could not read the version number or the status of the device trough the repo of zarpli. I did receive data but was unable to uncypher it. I'm not certain if I'm able to uncypher this. If not, all the help would be appreciated
- Show Z906 version
- Show Temperature
- Show if Dolby is active
- Set input
- Set effect
- Volume up/down for main channel
- Volume up/down for rear channel
- Volume up/down for sub channel
- Volume up/down for center channel
- Save current settings
- Turn on/off system
- Automatic shutdown
- Volume slider for main, rear, center and sub channel
- Show power up times
- Muting/Unmuting
- Show project firmware version
- Connect your Console to the ESP32 for hard control
I'm planning to fix lots of issues and make this THE Z906 integration.*
- [Connections]: Connect
TX
toGPIO 17
andRX
toGPIO 16
. I connectedGPIO 32
toPIN 15
on theDE-15
connector. I do recommend doing this instead of connectingPING 15
toGND
(on the amplifier side), else the speaker is turned on 24/7 and could damage it. - [Packages]: Install the following required libraries in ArduinoIDE:
- PubSubClient
- ArduinoJson
- [Success]: Upload your code and it should work!
It could be possible that the whole system is not working, This is a known issue with older/newer version of the Z906. Try changing 0x18
to 0x17
on line 8
in Z906.h
If you have any questions, feel free to add me on Discord BreadJS
or open an issue!