-
Notifications
You must be signed in to change notification settings - Fork 47
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
Anyone with a US 3 Gang configuration which works ? #29
Comments
Hi @burghs, This is my config. I think its pretty much the normal config by SHYS with some minor changes (lights and exposed audio amplifier, mostly). The touch config is the same as the EU version, might not be ideal but it works. Let us know, if you find something better! |
thank you for this. I will give it a try. |
Thanks for example @WallSecurity |
Hi @TommySharpNZ, My version does support multitouch. Look for "on_full_touch_release" in the code. It's the same as in SHYS implementation. My implementation does indeed not turn the lights on, that is correct. All lights (left, right, bottom, top and top_left_right, middle_left_right, bottom_left_right for the respective touch zones) are exposed to the HA frontend. My leds are controlled via automations. This does have downsides (e.g. won't work when disconnected), but I like the advantages (which might be possible in ESPHome, idk).
Ultimately, I like changing stuff around, especially globally for all my switches, without having to edit every switch config and reflash all devices. Please notice, in my version the touchfield_1 is not actually switching the switch, because it is used as a two-way switch. I forgot to mention that. Change this , if you need it to switch. - platform: template
name: "Touchfield 1"
id: touchfield_1
on_press:
+ - switch.toggle: relay_1
- binary_sensor.template.publish:
id: touchfield_1
state: OFF |
i'm making some trying on your yaml that i find very interesting. Thanks a lot in advance Ciao |
hi @ady1972, I am not sure, if I understand your question correctly. Can you please clarify which part of the yaml causes the question? |
Using your yaml , entities below could be switch direcly on entity page under ESP integratio. This does not happen with original yaml file.
My question is : How did you do to male this light compare with switch? |
Hi @ady1972, Remove the following line from SHYS code: - platform: partition
name: "LEDs Button right"
id: leds_button_right
- internal: true
segments:
- id: leds
from: 7
to: 7 This exposes it to the frontend. |
Many thanks @WallSecurity ... Thanks a lot |
Hello everyone, |
Hi @Zagor4, change your segments ids from - platform: partition
name: "LEDs Nightlight"
id: leds_nightlight
internal: true
segments:
- - id: leds_top
+ - id: leds
from: 2
to: 2
[...] Please do not ask for help in multiple channels. |
@Wallexus thanks a lot for your answer, But this solution doesn't work because i have an unexpected behaviour: when i switch on the nightlight, only leds reserved for buttons (2 leds in superior part and 2 leds under each button accordingly my code for buttons) are switched on in the color and brightness of nightlight... and i have flickering on left and righe side of the device when i push buttons but in idle left and right side are switched off... :( Could be nececcery to change somthing in the scripts that change the LED state ? |
Hi @Zagor4,
|
@Wallexus Thanks a lot for your answer. So if someone needs a code for the 3-gang 120 TX series, I am attaching it! Consider that the nightligt is not only an internal configuration so it is exposed to HA. Have a nice WE. |
Hi there,
Is there perhaps anyone who has a working yaml config for the US 3 gang version of the Sonoff TX Ultimate which they can share ?
The text was updated successfully, but these errors were encountered: