-
Notifications
You must be signed in to change notification settings - Fork 4.9k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Support for Wi-Fi Dimmer? #5737
Comments
No. Please read and this CONTRIBUTING |
Closing this issue as it has been answered. Support Information (Guide)See Wiki for more information. |
Hello i have have the same device, i flash tasmota 6.5, but what is the pin occupancy for the serial connection and switch ? Have any a idea ? |
I also recently bought this device and I'm very intersted in Tasmota support. It's the cheapest wifi AC dimmer out there (~15$ price point), very interesting! |
@dr-apple I have tried all the possible options with no success. I guess there is also anything related to serial communication and/or chip identification. @keesschollaart81 I am with you. It works ok. Robust and cheap. Any help is welcome! |
@jsponz thank you for the info, i have testet all options for the button but zero :-( I've been looking for hours in the network for schematics, pin assignments, but I can not find anything about the thing or the structure .... https://docs.tuya.com/en/hardware/WiFi-module/wifi-e1s-module.html |
You guys may be stuck between a rock and a hard place. First let me ask if you have tried different Tuya Dimmer IDs ( It is likely that the dimming function is not handled by the ESP chip itself. The dimming function is probably handled by a separate MCU. The dimming actions to perform are usually communicated via codes sent from the ESP chip to the MCU via the serial communications interface. The dimming codes vary from device to device, even revision to revision. In order for Tasmota to work if installed on the dimmer, Tasmota needs to send the right codes when an action request is made to it and also receive codes to confirm the action completed or to know what the device is up to when a change is made physically at the device (i.e., a human made the change). If you know the codes, then these can be programmed into Tasmota rules or customized into the code itself and compiled into the firmware. But first you have to know the codes. And for that you would have had to reverse engineer the original firmware. Of course, if you provision the device on the Smart Life app in order to see it operate, Smart Life may update the firmware and thus blocking the ability to use Tuya-Convert. And thus the rock and a hard place 😬 If you backed up the original firmware, you may be able to flash it back onto your device to attempt the reverse engineering process. @digiblur went through that is some of his videos. Regards. Mike |
Impressive work from @digiblur 💯, super cool to see these videos. Some pictures from inside of the device: After flashing Tasmota is was able to configure it via the web interface and I tried some different combinations but without success. Module set to 'Tuya Dimmer (54)'. After trying some different RX/TX configuration and some random guesses for the SetOption34 I was not able to see any RX messages in the console (with web log level 4). Also no incoming data when manually switching the device. What would be a next thing to try/work out? I don't think I'm able to solder/connect to the serial port myself (too small & no experience). |
@keesschollaart81 Thanks for your analysis. I spent some time as well. One of my devices is broken: it does not boot. The other one is flashed with Tasmota, but nothing happens. Same result as you have. |
if I could find out the pin assignment, then I would try to read the protocol and recreate .... I have to lie on the couch for 2 weeks, have time ;-) |
Maybe @jsponz can disassemble his broken device and expose the chip so that we can see which Tuya device it compares with / which pins we have? |
Which pins did you try for TX/RX? |
@keesschollaart81 Of course! It is already disassembled :-) Tomorrow I will send you pictures. |
@digiblur same as described here I also tried to point the Tuya Tx107 and Rx108 to the GPIO1 and 3. Also swapped 107 and 108 in both configs. Every test I tried to toggle the input switch but the logging is always the same By the way, the bulb seems to be on the lowest brightness after power on. The input switch does not turn on/off the light. |
@keesschollaart81 the same happens here with the original firmware. I have reported it and they have told me that it is a production issue. A new device is on the way with this fix. I will confirm as soon as I have it... However, after flashing one unit with Tasmota (as it is right now without support for this device), I see that the light is always off, so I guess it is firmware related. |
After I set TuyaRx18 to GPIO16 it does not boot any more... :-/ |
You must reset the esp with 3 x ac power on / off with 2 sec sleep, after that, the esp has delete the config make a hotspot.... |
@dr-apple, @keesschollaart81 the same happened here and esp did not boot up anymore. I will try later, when taking pictures. |
Not all GPIOs can be used for all. See https://github.com/arendst/Sonoff-Tasmota/wiki/Expanding-Sonoffs#restrictions |
@jsponz any update? |
@keesschollaart81 Sorry, I have a personal issue. Tomorrow I will take the pictures. |
It seems there is a sort of ESP module hooked on a PCB with a MCU. |
@Jason2866 sorry for my english :-( |
The Model is : QS-WIFI-D01-TRAIC |
You mean TRIAC? Not available in Europe :-( Do you have a dealer for me? |
? show the first post here, it from ali and came frome china ? |
??? I dont understand !?! The part from the first post was actual not supported - or did I read complete wrong? |
Flashed with tasmota standard, one channel is working like a charm. DimmerRange is 0 - 1003. |
@blackscreener nice, i also managed to flash the device. Can you share your configuration? What template did you use? |
Template: TuyaMCU (54) 21:32:36 RSL: stat/tasmota_57CA8B/RESULT = {"TuyaMCU":[{"fnId":11,"dpId":1},{"fnId":21,"dpId":2},{"fnId":12,"dpId":7}]} dpID 1 - on, off 1 ch We need to add 2nd dimmer option to Tasmota. |
@blackscreener Thanks for sharing. Besides channel 2 being uncontrollable in Tasmota. I also notice that the dimming state is not being stored. When switching on and off the dimming level is at a very low value. Do you also have this issue? |
@LukevdPalen |
@dbrb2 |
Hi, I have the same 2 gangs (TYWE2S one) but I'm still stuck at the flashing part.
How did you manage to flash it ? |
Programming it is not the issue. The issue is to know how to configure it with the two dimming channels. The GPIO_0 is accessible after you remove the metal shield. @blackscreener, what are the complete comand list to configure the two dimming channels? I tried to restore the configuration file you shared and I lost the comunication with the module, I needed to erase and program again the flash. Thanks |
@diasarmando I gave up with tasmota. With esphome 2 channels works fine. |
@blackscreener can you please share the link or configuration? |
@diasarmando
|
Hello!!!! I did everything according instruction.I have entered the script, the template and activated "Setoption68 1". In web interface I see all correct. Toggle 1 and 2 are working but my lamps not light(((((( What is the problem??? |
@LukevdPalen how did you remove the shield? |
I used a hot air iron. I also tried to drill a hole carefully at the right place. Both worked. |
Thank you @Clement87 I got a hot air iron and it worked well. Did you manage to flash it? I can't get it into flash mode, I connected GPIO0 with a needle to ground but I couldn't flash it. same method worked with my Sonoff devices with ESP8266. Did someone have the same problem? |
@jayjohns0n I flashed four of them without issue. Check your wires and set GPIO0 to the ground only a few seconds while you flash it. |
Hi I have the same problem, i dont get if flashed, did all as per above
Issue i don't know if it's in flashing mode ...? Neither with Tasmota or ESPeasy the flashing starts Any suggestions ... |
Hi,
I was using esphome python module. |
Thanks for the reply, did all at least I think i did, with RX / TX you mean RX goes on TX and TX on RX ? I also tried via Tuyaconvert and a pi but did not succeed there neither although i could get it into the flashing mode like that some times. Thanks |
Hi @TheeBeginner, I found myself in your situation where I could not flash the chip despite putting the GPIO0 to ground.
These are the references to the cited page (link): I hope to be of help even if with a delay. |
Hey guys How you managed to remove the shield from the MS-105B dimmer? Or is there another possibility meanwhile to reach the GPO0 I do have a hot air iron Thank you |
Hi,
I just used a heat gun to desolder the TYWE2S from the main PCB. Very easy.
…Sent from my iPhone
On 29 Jan 2021, at 11:58, 4zoom ***@***.***> wrote:
Hey guys
How you managed to remove the shield from the MS-105B dimmer? Or is there another possibility meanwhile to reach the GPO0
Thank you
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hey guys I managed to open the shield with a hot air and also flash it with the newest Tasmota 9,.2 I compiled the version with the script option and add the script And did the Template: Console: Result on UI is great but no voltage on the outputs I also measured it but nothing. Also not wenn I use the hardware input for switching. I have the MS-105B like displayed right above Any idea what can be the problem ? GPIO's wrong configured in the template? Thank you |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Is this Wi-Fi Dimmer supported?
https://www.aliexpress.com/item/Wifi-Smart-Dimmer-220V-240V-150W-Controller-Timer-Switch-light-Voice-Control-Works-With-Amazon-Alexa/32962631174.html?spm=a2g0s.9042311.0.0.27424c4dZ69TdG
I have used tuya-convert to flash Tasmota, and it works. I have it with Tasmota.
I can't find any Info about this device. I have tried Tuya Dimmer but no success (no switching, no dimming control from the Tasmota interface).
Thanks!
The text was updated successfully, but these errors were encountered: