Sonoff TX Ultimate

Exploring the Sonoff TX Ultimate: A Smart Light Switch with built-in RGB Lights.

UPDATE – June 2023: Tasmota is now also working with this switch. The Tasmota configuration is now available on the Blakadder website!

https://templates.blakadder.com/sonoff_T5-3C-86.html

https://templates.blakadder.com/sonoff_T5-1C-86

Introduction: Today we’re going to dive into the latest offering from Sonoff: the Sonoff TX Ultimate smart light switch which uses WIFI for communication. We’ll explore its features and capabilities, and also discuss how to enhance it with ESPHome for complete local control. So, let’s get started!

Unboxing and Initial Impressions: As we unbox the Sonoff TX Ultimate, the first thing we notice is its sturdy build quality. The switch comes in three variations, offering one, two, or three switches, with a small Sonoff brand logo on the side. As you would expect it has neutral, live in and live out connections for each relay. However, it’s worth noting that this switch requires a neutral wire, which may pose a challenge for some homes. We recommend checking your wiring setup to ensure compatibility. Also worth noting is that this version is designed for the EU / UK.

Flashing ESPHome for Local Control: To enable local control, we need to flash ESPHome onto the Sonoff TX Ultimate. While we won’t go into detailed instructions in this article, there are numerous resources available online that provide step-by-step guides for flashing Sonoff devices. Once you’ve opened the switch, you’ll need to connect your FTDI adapter to the appropriate pins, including the 3.3V, ground, receive (tx other end), transmit (rx other end), and boot pins. You may either temporarily solder between the boot pins and a ground connection or just hold it during the flashing process. ESP Flasher is a reliable firmware flashing tool that can simplify the process.

WARNING: DO NOT connect to AC mains power whilst flashing.

ESP Flasher: https://github.com/esphome/esphome-flasher

Exploring Home Assistant Integration: After flashing ESPHome, we can integrate the Sonoff TX Ultimate with Home Assistant. By referring to the corresponding GitHub repository, you can make adjustments to simplify the device’s entities and enhance its functionality. The current configuration includes various entities related to the 28 individually addressable LEDs, as well as sensors for button presses. Notably, the touch panel power feature allows for disabling the touch panel, making it useful for something like “child-safe mode”. The LED behavior can be customized, enabling different colors and lighting effects. It’s worth mentioning that the touch panel swipe actions may not be entirely reliable at present, but this could potentially be improved with some code tweaks.

ESPHome GitHub code: https://gist.github.com/wolph/42024a983e4dfb0bc1dcbe6882979d21

Custom Component GitHub: https://github.com/SmartHome-yourself/sonoff-tx-ultimate-for-esphome

Understanding the ESPHome Code: Examining the ESPHome code for the Sonoff TX Ultimate, we find that it is relatively straightforward to comprehend. The initial settings include references to the necessary libraries, followed by the serial bus connections for the buttons. The code then outlines the button configurations, binary sensors, and the light entity. While most aspects of the device can be controlled, further exploration is required to tackle the speaker functionality and gestures. I’m sure some of these GitHub repositories will get updated as people learn more about how the device works.

Customization and Flexibility: The WS2812B RGB lights around the edge of the switch can be utilized as a night light or as indicators of the switch’s status. By modifying the code and adjusting the themes, users can configure different colors and lighting effects, making it particularly appealing for children’s bedrooms. Additionally, the switch allows for removable faceplates; currently 2 are available for purchase separately.

Separate Control of Buttons and Relays: One notable feature of the Sonoff TX Ultimate is the ability to decouple the buttons from the relays. This means that the buttons can be programmed to control other devices or functions while the relays handle the lighting. This flexibility makes the switch a valuable asset, especially for those who want to control multiple smart devices simultaneously. Opting for a three-button switch, even if only one or two buttons are needed, enables users to expand their automation capabilities.

Conclusion: In conclusion, the Sonoff TX Ultimate smart light switch offers a robust and feature-rich solution for smart home enthusiasts. With the addition of ESPHome firmware, it becomes possible to achieve comprehensive local control, ensuring privacy and reliability, although Sonoff (iTead) is making a lot of effort itself to allow local control through their latest hub. While the device may require some technical expertise for initial setup and customization, the end results are worth the effort. Whether it’s turning lights on and off, configuring vibrant lighting effects, or empowering buttons to control other devices, the Sonoff TX Ultimate opens up a world of possibilities.

So why not give it a try and elevate your smart home experience?

If you enjoyed this article, please consider subscribing to our channel and giving this post a thumbs up. Your support will greatly contribute to the growth of our community. Thank you, and until next time!

Scroll to Top