Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TX Ultimate 4 Gang US (T5-4-120) #53

Open
mon3y78 opened this issue Aug 14, 2024 · 21 comments
Open

TX Ultimate 4 Gang US (T5-4-120) #53

mon3y78 opened this issue Aug 14, 2024 · 21 comments

Comments

@mon3y78
Copy link

mon3y78 commented Aug 14, 2024

Hi, I'm having some issues with the TX Ultimate 4 Gang US (T5-4-120):

The NeoPixel Light doesn't fully illuminate (photo attached).
When I press the buttons, the corresponding light doesn't turn on.
I've read the posts about other errors but haven't found a correct solution. Considering that the LEDs on the longer sides are 10, could it be correct to illuminate for L1 from 1 to 3, L2 from 3 to 5, L3 from 5 to 8, L4 from 8 to 10?

I've tried to figure out what to change in the code, but I can't get it right! Any help or solution?
IMG_1345

@madmagic007
Copy link

It seems 4 channel isn't supported. I have EU version and it works only half.

@Doc-Jump
Copy link

Doc-Jump commented Sep 5, 2024

Same here. Simple Explanation (I think): Our switch (T5-4C-120), has 32 LEDs, but only 28 are addressed in @danielscheidler's firmware. Therefore no 100% border with light with the Rainbow effect and also not with the night light or NeoPixel light. Perhaps Daniel finds some time and passion for adding a config for this 4 Gang switch. I could lend one model and provide some monetary reimbursement for the effort.

@mon3y78
Copy link
Author

mon3y78 commented Sep 5, 2024

I could also join with a beer or a coffee! 🍻

@Doc-Jump
Copy link

Doc-Jump commented Sep 9, 2024

@mon3y78, that would be so great, thanks a lot. For what I see now (not tested that much due to other projects), the config has to be revised to achieve the following:

  • Activation of the fourth switch
  • Activation of all 32 LEDs instead of 28 by now.
  • Activation of the correct LED in case of action -> matching the light to the corresponding switch when it is activated and is later also active. Example: In my case, the bottom right-hand corner lights up when the top switch is active, which looks strange. Shouldn't the LED on the right or left (or both) at the height of the switch light up?

Can you get this working?

@mon3y78
Copy link
Author

mon3y78 commented Sep 9, 2024

You can try https://github.com/mon3y78/4gangus/blob/main/4gangus.yaml.

The only problem that remains is the one with the side LEDs.
Thank to @Zagor4

@Doc-Jump
Copy link

You can try https://github.com/mon3y78/4gangus/blob/main/4gangus.yaml.

The only problem that remains is the one with the side LEDs. Thank to @Zagor4

Hi @mon3y78,

thanks for the link. I just installed it, works perfectly with restriction of the lighting for the 4th switch. Is this what you meant by "The only problem that remains is the one with the side LEDs"? I see, you identified the correct side-LEDs and within the device settings in HA, I can turn on and off LEDs for switch 4. The only thing I see, is that they don't turn on/off automatically when pushing the button 4. On switch 1-3 that works fine. Is this the only issue you have with the configuration?

@coraado
Copy link

coraado commented Sep 19, 2024

good evening, has anyone managed to make the lights work on relay4, if so what did they do?

@Zagor4
Copy link

Zagor4 commented Sep 19, 2024

good evening, has anyone managed to make the lights work on relay4, if so what did they do?

Try this:
In the script REFRESH_LED_DEFAULT change the first part of the condition ${relay_count}>1 with ${relay_count}==4 for all the "if" and not change the second part of the condition.

Let me know

@mon3y78
Copy link
Author

mon3y78 commented Sep 19, 2024

I am using the code I posted earlier. The buttons themselves work. The only problem is with Neopixel. Have you try?

@coraado
Copy link

coraado commented Sep 19, 2024

the ultimate tx must arrive, I'm reading up on it as soon as it arrives, I'll try and let you know

@coraado
Copy link

coraado commented Sep 23, 2024

hi, I flashed but the lights on relay 4 don't work, I noticed that when relay 4 is activated, button 4 doesn't activate, because if you activate it manually the LEDs light up, so you need to understand why button 4 doesn't activate automatically when you activate the relay 4

@Zagor4
Copy link

Zagor4 commented Sep 23, 2024

@coraado have you tryied this?

Try this:
In the script REFRESH_LED_DEFAULT change the first part of the condition ${relay_count}>1 with ${relay_count}==4 for all the "if" and not change the second part of the conditions.

@coraado
Copy link

coraado commented Sep 23, 2024

done it works
Thank you

@Zagor4
Copy link

Zagor4 commented Sep 23, 2024

@coraado have you got the left side leds problem?

@coraado
Copy link

coraado commented Sep 23, 2024

no

@Zagor4
Copy link

Zagor4 commented Sep 23, 2024

@coraado so if you switch on the nightlight you see all the perimeter of the device with light?

@coraado
Copy link

coraado commented Sep 24, 2024

lights up everything around, everything ok

@Zagor4
Copy link

Zagor4 commented Sep 24, 2024

I am using the code I posted earlier. The buttons themselves work. The only problem is with Neopixel. Have you try?

@mon3y78 please read the last Coraado's comment... Could be possible that you have an hardware problem on your device ?
Are you sure that left side leds of your TX ultimate are ok and not burned ?

@mon3y78
Copy link
Author

mon3y78 commented Sep 25, 2024

@Zagor4 I remember that with the original firmware it worked. Is it possible to perform a factory reset? Do you know how? I couldn’t find any information online.

@Zagor4
Copy link

Zagor4 commented Sep 25, 2024

@mon3y78 is not possible perform a factory reset because when you installed the ESPHome firmware you erased the original firmware overwriting it with the ESPHome one.
I could try to erase the bigger part of the code in order to create a new LED test firmware! (with only one function that switch on and switch off the nightlight. But i need 2 or 3 days... (when i will have freetime)

@mon3y78
Copy link
Author

mon3y78 commented Sep 25, 2024

@Zagor4 Thank you for what you do! I’m waiting for your update to run the test!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants