-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Tuya Dimmer - need help #4543
Comments
Since there is not "the One" Tuya Dimmer nobody cant help without knowing which type you have |
@chaosmaster Can you help? I have no Tuya device (yet).... |
Sorry, that's not possible, the LEDs are controlled by the MCU and can only switch between red and blue.
This dimmer uses GPIO1 as TX and GPIO3 as RX (the default for "Tuya Dimmer").
Everything else should be detected automatically in the current development branch. |
@chaosmaster
Is there a line I can cut to disable this three leds that are not managed by tasmota. EDIT: |
Every led has 4 pins. GND, BLUE, RED and? It does seem like there is one line I could cut to trigger all blue and another to trigger als red lights. How would you to it? Desolder the led's? Cut the lines to the leds? Any ideas are welcome! |
|
@h4nc
Here you can find my custom MCU-firmware: |
I don't think so. I followed the traces and also tried to meassure it. There are no pins connected, which would most possible mean GND. However, I wanted to get rid of the blue lights. Here is a picture for other how want to disable the blue lights. This way you could also just leave one blue light (the middle one). The resistors I removes are R5, R7, R9 |
I still have one open question. I don't want to open a new issue for that. Why do we have to connect NRST to GND for flashing the device? What does NRST stand for? |
@h4nc |
@h4nc I've got a few question about the EU model, i manage to flash it with the last Tasmota firmware. It work when piloting it by button, by mqtt, by tasmota interface but when i use the switch (toggle or up/down button) no informations are sent by mqtt ? Is there a specific configuration in "Module parameters" interface ? Actually i have :
Thank's |
Strange, mine works.
All I did was flashing the esp and setting it to "Tuya Dimmer Module" in the UI.
Mine looks the same. |
@h4nc Yes, VERY strange, when it boot it send MQTT infos (state etc...), That prove that MQTT info sending is working, only when i touch a button nothing is sent ! What's your tasmota version ? |
|
I have Tuya Dimmer with 6.4.1(release-sensors), 2.3.0/1.5.3. In hassio config retain: false |
Maybe adding this code to your automation.yaml could help, this will call the current state of all your sonoff. You could also change the topic to your tuya dimmer to only call its state.
|
I already have this automation:
In the case of Tuya it does not have any influence. And this tuya config:
|
Try:
|
response of Tuya Dimmer for STATE: |
I use state to get an update of the DIMMER value. So this too did not help you with your problem, right? |
Well, after first restart not. After restart it is OK. It seems to help |
Everything is back, Tuya dimmer powers on after every reboot.
On Hassio config:
Really do not know what else I could do. |
Looks like something triggers your dimmer to turn on after the restart. |
I stopped the whole automation with empty payload. It has no influence. Reseting Tuya toggles power to on. |
Ok, I have no more ideas. Maybe a clean flash could help, but I don’t know. |
If you've had retain enabled in your settings, that setting will be cached in hass/mqtt, no matter if you set it to disabled later on. When I had this problem I reinstalled my mqtt-service in home assistant and everything started working as expected. |
*And you did use "SetOption34 2" in the console as mentioned in the first post? After that change, my dimmer buttons started working as expected. I have the same GPIO settings, although i changed the GPI14 to Led3 as Led1 gave me a constant flashing on one of the dimmer buttons |
Mine wont flash :(.
|
@TommyChausson did you ever solve your issue? I'm having the same problem, everything works but the Tasmota UI is not updated when I change something manually using the dimmer buttons... |
@telmomarques , Yes and it was a problem with my domotic system sent too much MQTT messages (i had something like infinite loop). |
hi, |
GPIO0 & 15 need to be grounded. |
Hi all, I have the same device (YDM_WIFI_SV4 I have tried grounding GPIO0 & 15 (also tried only grounding GPIO0) What else can I do? Never mind.. I found out what I was doing wrong The two pins on the top left need to be connected Flash mode = only top green light!
|
Although this topic is closed I am hoping someone will read my post :) How can I troubleshoot this? |
Please, address this to the Tasmota Support Chat. The chat is a better and more dynamic channel for helping you. Github issues are meant for Tasmota Software Bug Reporting. Please check the Contributing Guideline and Policy and the Support Guide. Thanks. Support InformationSee Wiki for more information. |
I think I had the same problem and it really sucked - took me hours to find out whats missing but actually its pretty simple. TuyaMCU 21,2 That should enable the slider etc. Hope that helps. Cheers |
Hi, Struggling a bit with that last part of this :( Issue 1. I have installed Tasmota (9.2.0) & configured it. I can see the slider; If I move it, I see events in the logs; But the lights do not change they just stay on. If I set it to zero, it goes off. any other value is on (at whatever value the switch left it). Toggle button works fine too. The dimmer will go up and down using the hardware buttons on the switch, although it can be via sluggish in showing those events in the console. I've turned weblog 4 on and used the hardware buttons to find the range; Which goes from 11 to 255, so I've done this; No matter what I try, I can seem to get the light to do anything other than on/off via Tasmoto. Issue 2. If I press the ON button on the switch, it fades in up the values to come on slow. Same with OFF, if I press that, it fades down the values until off. This is VERY annoying, especially off. When you press it, it looks like nothing has happened so you press it again. Such a stupid implementation. Is there a config, so you press off and it just goes off? I think I'll remove them if there isn't, or wife will never let me add anything else in house EVER!! :) Any ideas? |
Just as an update for anyone else. GPIO12 was the issue. In another thread on this dimmer it said it needed set, as above. It doesn't, it need to be 'None'!! then it works. I needed GPIO14 set to 3 for me, to turn the green LED off on button 1, otherwise the top one glows Cyan. Only thing I wish though was that the hardware off button turned it off instantly, not fade to off. It's annoying... |
Problem is, the buttons dont talk with your ESP but withe the STM chip on your PCB. That cant be changed, as far as I know. I wonder if there is a dimmer with same optics, touch etc but trailing edge instead of leading edge - anybody? Trailing edge is much better for LEDs lights in general. |
Recently bought a konesky smart dimmer (from amazon). Date on the board 20210930. Still works with tasmota (flashed via serial interface). However it works flawlessly out of the box with older tasmota versions. I'm using tasmota-6.5.0-core-2.4.2. Three years ago I bought a few simillar dimmers (ie physical identical to this one). Have been using these since then, flashed with tasmota 6.5.0, without a single problem so far. |
Hello! I got the same dimmer and I want to flash out the tuya fw. Ok, RX and TX is clear, than GND is GND and VCC is 3v3 Date on board 20220930. TIA |
Hi,
I followed these instructions to set up my new tuya dimmer:
https://github.com/arendst/Sonoff-Tasmota/wiki/Tuya-Dimmer
I have two issues:
The dimmer will be mounted in a bedroom. Is there away to turn off the led's when the dimmer is off?
after setting up gpio13 to Rx and gpio15 to tx the device doesn't swith on off when I press the button on it.
Before it worked, but the dimming buttons did not.
I selectet the device ID SetOption34 2.
Will this always be "2" or is it an ID of the device itself? Where can I find it?
The text was updated successfully, but these errors were encountered: