SONOFF TX Ultimate switch

Hello!
I would like to buy more TX Ultimate switches. I have small children and they will be delighted. At the same time, I want to buy some smart G10 bulbs from Shelly with integrated Wifi, RGB and dimmer. I would like to create scenarios with the TX Ultimate switch, for example to be able to dim the brightness of all bulbs or only certain bulbs and to be able to change the colors. Is it possible if I integrate in HA? Will I have to rewrite the firmware with ESP Home? The manufacturer does not specify exactly whether these scenarios can be realized through the Ewelink application. Anyway, probably only with Sonoff bulbs, but they don’t have the G10 bulb type.Thank you!

The way I do this is just to program the lights in HA. Import the switch states from the Sonoff and use those to controll any light you want. I am not a fan of coding everything in an ESPHome device. Just sensors and actuators, and leaving the control to HA

Hello everyone.

Out of curiosity, after flashing esphome, is there any way to reflash the original fw?

Thank you.

Yes, you can flash your backed up firmware over serial. You did back it up before flashing esphome, right?

My knowledge on the subject is very limited, basically following videos, and was not aware of that step of the process, and was hoping that if needed the binaries could be found somewhere in the internet.

I still have 5 wall switches in the box, so i’ll search how to get a backup from one of them.

Thank you for making me aware of this.

My 2 switches arrived today so will also be looking figure out how to back up their stock firmware before I start trying to get ESPHome onto them :slight_smile:

My switches are the “US” version so are a portrait rectangle and not a square.
I flashed it using this link below but all the LEDs don’t correlate to the switch being pressed etc…
Maybe someone has got the “US” version working?

Has anyone got this working nicely on the US rectangle version?

Having had a fairly extensive play with the TX Ultimate combined with your code and some variations by others and my own I have come to the conclusion that the switch is very clunky due to, I assume, sonoff onboard code.

Examples:

  • Swipe Left and Right have to be done at exactly the right speed and pressure level to register.
  • My attempts to implement the recognition of a double click have been too hard to get user friendly - timing and touch pressure sensitivity.
  • There are a range of light effects which seem embedded - eg following a successful swipe left or right, the top lights put on a colourful show that is not under the control of esphome code.
  • A long press duration is not adjustable.

Am I missing something or do others agree ?

I’ve flashed plenty of ESP32 before, especially Sonoff, and never had any single issue. With TX Ultimate I’m having hard time: I do own the US rectangle version and struggling to even connect with USB.
When applying 3.3V nothing happens.
Is it supposed to lit any led? Or it is quiet all the time?
Any help would be appreciated

Yes agreed. Another example: only left/right swiping, no swipe up/down. I only have a 1 gang version but it seems like the only control that applies to each separate gang is the single touch. So you can’t swipe on gang 1 or gang 2 for example. The M5 switch allows tap, double tap or even long press per gang/relay.

I really hope more functionality can be exposed by a firmware update and this is not some hardware limitation. Apart from these issues, a really nice switch.

@Zoldex on the EU/UK version a blue LED on the board lights up. Are you applying ground to the boot solder point on the board also? Recommend you follow this video by @smarthomeyourself.de (you can enable captions for translation if needed) or check the illustrations here.

No, no diode is lit at 3.3V, just start programming, you will see the status in the console.

[SOLVED]
I’ve found the culprit: my TTL converter 3.3V/5V switch was broken and it was supplying 5V all the time.
The amazing thing is that the ESP hasn’t fried in the meantime!
I’ve just replaced the converter and everything went fine.
Also, no led lights up on US version when applying voltage.
Thnks for all the answers.

Sorry for hijacking the topic but it seems to be solved anyway. Need to ask people using this switch with ESPHome. Are you guys able at all to do OTA updates (wireless) at all? For some reason, my switch when flashed with ESPHome does not accept OTA updates at all. FW works fine when flashed over serial, but not OTA. Starting to think it is some sort of limitation of this hardware…

2 Likes

In case you haven’t gotten an answer in the interim, I’ve recent setup a Sonoff TX Ultimate (T5-3C-86) and am having no issues with OTA updates at all.

Have you managed to get a double click even noticed? I tried different multiple ways but with no success. Could you provide me your code?

Greetings

Is it possible to assign different fonctions on a 2 (or 3 or 4 gang) TX?
Specifically a “drive” fonction on a button (for a curtain motor) and a “switch” fonction (for a light) on another button?

Hi, i was just wondering. Do I get the same touch panel with 1 gang version as with 4 gang version? I really don’t need more then one relay for dumb bulbs in each location, but having four buttons is good

With ESPHome flashed, yes.

Yes, the touch panel is identical. It has 12 vertical zones.

Yes, i got it confirmed from seller.