-
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
Dimmer #469
Comments
I have not been able to find a dimmer that uses esp-8266 yet.
k
|
I'm currently working on a renovation and also required 240Vac dimmers. Im running trials using a push button dimmer "SAL Push Button Dimmer 350W Master Switch SDD350TCM" which has a remote switch option SDD350TCS. The remote/slave push button is just 2off, 10K resistors in series and a tactile switch. This I have replaced with a sonoff and 2 off 10K resistors. I can turn the light on off and dim. I'm currently look at way to set dim level using a sonoff POW to measure power consumption or Current but it's a bit flaky at the moment. Work is still on going. |
I'm also looking for the same thing. The ability to dim 230v GU10 LED bulbs. (They are dimmable type) |
+1 I'm hopeful sonoff releases one soon |
Wishing for something like this: |
Has anyone thought about replacing the regular relay by a solid state relay? I think one of these fostek SSR should be fine with running smaller resistive loads in pwm. Could the esp8266 run pwm on the output steering the relay? |
Only in German, but google can translate |
Is there still no dimmer possible with tasmota and mqtt? |
do you have a module that has dimmer capabilities (instead of the relays that
almost all of them have)?
|
I was hoping that there was a commercial one available :-(
trying to do that sort of very precise timing on a system that is doing a lot of
other things (network I/O, etc) is going to be quite a problem
…On Sun, 14 Jan 2018, Martinvdm wrote:
https://github.com/Theb-1/ESP8266-wifi-light-dimmer
|
I have just ordered this one: It will arrive in 10-15 Days. Perhaps it is possible to modify the tasmota firmware to get it work. This one seem interesting too: But it only comes in black and I need it in white |
Hi @jonas59075 that link does not work (I think its a copy of your order so only works when your logged in). Was it this you were linking to? https://www.aliexpress.com/item/Best-Sales-Wallpad-White-Glass-LED-110-250V-EU-Phone-Wifi-Wireless-Remote-Controlled-Power-Dimmer/32562891943.html Ben |
Oh, sorry for that. Yes ... your Link is the right one ... Have anyone experience with that device? |
Thats pretty expensive, you have to be keen on dimming existing lamps I think rather than buying some dimmable ones like the B1. But it will be interesting to see if its got the same esp8266 chip in. Nice to know what options are out there for when I come to do some more bits on my home. |
This looks promising: http://www.instructables.com/id/ARMTRONIX-WIFI-SINGLE-Dimmer-Board-V02/ |
Hi Guys, I think your barking up the wrong tree. If we are serious about HA we should be moving to LED, as its low power and just makes good sense. If we say YES, LED is the way to go then, everyone knows 240/110 VAC LEDs (driver and LED) are a bitch to work with and have mixed results, usually poor due to flicker etc. If we go back to electronics 101 a LED is a DC device and the best way to dim it is PWM of a suitable DC supply voltage 12/24/36 volts and the current is very low < 1-2 amps. |
A dimmer would still be useful for some applications. I’d like to wire up my salt lamp which has a manual dimmer at the moment, and the bulbs for a salt lamp cannot be LED. |
The same goes for Edison light bulbs.
I happened to order this before stumbling upon this thread. I'll let you know about it once I received it. |
This can be the solution for real dimmer (not led solution), I will give a shot |
Agree let me know how it goes. |
Any updates? I just ordered this one, since the seller told me there's an ESP8266 inside. |
Does it work without changing the firmware? |
Yes it works without changing the firmware - Uses Smart Life app that is compatible with Alexa. The results are a bit mixed - it dims ok but the lights seem to flicker, I purchased dimmable leds (Gu10) to use in my kitchen and this is the result. Going to try it in my living room with B22 bulb to see if its any bettter. |
I bought the same one from Aliexpress, but a US version. |
I have the same one as @reeso3000. Im looking into modifying :D let us know if solve the issue. They are available on Amazon UK for a fair price. |
Mine works fine with the standard app, but I'm trying to flash Tasmota. No success so far: Got this schema of the ESP8266 by Hysiry, which is placed in the dimmer: https://fccid.io/2AKBPESP8266/User-Manual/User-Manual-3192780 But I get the 'standard' error:
I also tried to switch TX and RX, but that didn't work. Anyone who can help? |
On my US version, there is no pin hole for Tx Rx, but anyway the serial port from ESP8266 is connected to the MCU STM8S103F3P6 which I think also drives the bus. You may have to cut the trace (at least the Rx) between ESP8266 and MCU before you can flash the ESP8266. |
The Wiki for PS-16-DZ dimmer is created. Please feel free to modify and correct my bad English! |
Thanks, I've just added the baudrate.
I still believe it should be possible to flash the ESP without desoldering. (which is also supported by the fact that you were able to dump the firmware before). Could you try connecting the ESPs reset to 3.3v and the MCUs reset to GND (as well as the usual GPIO0 to GND) and see if that works? |
@qingz2004, were you able to take a look? |
I didn't try, but I measured the ESP reset is 3.3v when MCU reset is low. Will try to flash the other one tonight. |
@qingz2004 Just now saw your edit. Could you please add the information to the flashing-instructions in the wiki? |
It's not reliable. It didn't work with my third dimmer. Still need to remove the ESP8285 card from the main PCB. |
That's interesting, I wonder, what else could cause it not being flashable. |
And I am pretty sure the esp8285 was in flash mode, or the led would blink. |
I suppose the issue must be with the serial lines then. |
Hi, I found a new nice looking dimmer, which I would like to get supported. I tried the Tuya module, but it is not working. Original firmware was backed up. Issues described here: |
@bigcookie Tried different pair of Rx/Tx as in the wiki. If that doesn't work, you have to capture the UART frames with stock firmware. |
Is there any good software to capture UART packages? I checked the circuitboard and the original RX/TX pins from ESP module are used to connect to MCU... Thus the configuration regarding the serial interface should be the same. Will check again to be sure. |
Hello @qingz2004 , I took a look and found the following:
Grabbing some of the commands, I see the different format - the following is switching on/off and dimming, initiated by the app and captured - if I remember, switching 0ff, then dimming up and down and switching off.:
As it seems there is only one command, which is used to set brightness as well as switching all off... It would be great, if we could add this support to Tasmota. I didnt succeed in capturing the full command/response exchange. thanks... |
@bigcookie Ask @chaosmaster to include your dimmer in his code. |
In case people are interested: Downside: The ESP is handling everything else including the faceplate. I am not sure how this is done with Tuya. I will figure this out more. I will check further on reading and setting the LEDs on the faceplate. For now I know that an HC164 is used to set the LEDs and the serial input I will check. |
A few more findings: brightness value: Enlight the LEDs on the faceplate. There are 8 LEDs, powered by a HC164 shifting register IC. Minimal 1 is on always, all off, when bulb is off: Touch input from faceplate to ESP... I dont know how this works. The IC to drive the capacitive reading as no imprint on it. It seems that two GPIOs are mainly used to get the reading: Main Switch button. Turns on/off the light. When holding it 5s, the device goes into pairing mode in which the app is sending the Wifi credentials via (I guess) some Wifi packages... The ESP module has 2 more pins, marked as AD and RST. @chaosmaster : Can you help with some insights on the Tuya faceplate? Is this powered by the MCU? Based on the information I assume so. |
@chaosmaster or anyone else that might see this. I ran into a new upgraded version of a dimmer I've used in the past. It uses the same modules as this dimmer along with the RX/TX pins this one has: https://github.com/arendst/Sonoff-Tasmota/wiki/Tuya-Dimmer#charging-essentials-from-costco One odd thing was the red LED would pulse on and off every 5-10 seconds. I did a few live streams of tearing it down and sniffing the RX/TX lines to see what the communications were on the stock firmware. Long story short the secondary MCU just needs to know the ESP8266 is alive with the heartbeat packet every so often. The stock firmware sends it every 10 seconds and the secondary MCU will be happy as long as it is sent every 17-18 seconds. I do remember the other dimmers also sending this heartbeat packet with stock firmware. I have this running on 3 different dimmers without any adverse affects on the older dimmers. I was wondering if any of you could try this on different versions of Tuya Dimmers. I do have a precompiled bin with it based on 2.3.0 core and 6.5.0 Tasmota. Changes done: digiblur@3dcea9d |
Which module type do I have to use? |
Shelly Dimmer! Looking forward to seeing a support for this device. |
I got a same device for my fan speed controller, however It says it is not compatible for light. Eagerly waiting if there is any solution. |
Is there a tasmota module / template for Shelly Dimmer? |
Dunno, I would like more experienced guys to help here :) |
I've ordered couple of Shelly Dimmers recently, so looking forward to having Tasmota installed on both of them. I would gladly help with testing. |
please see also #6914 |
Sonoff released a dimmer, finally. Does anyone knows if this is Tasmota compatible? And if so, could you still use the RF remote control? https://www.itead.cc/smart-home/sonoff-d1-smart-dimmer-switch.html |
@chaosmaster The WiFi LED shows wrong state after one or two days. I have to reset the device to get it corrected. Is it ok to set it periodically instead of setting it only before the ack is recevied? Or can I manually set the LED so I can have it set in a rule once a while. |
Hi arendt,
Great Project and many thank for your work! I love it and it's work perfect.
I know that is not project related but maybe you can help me.
I search a W-iFi dimmer for 230V/~400W for pulps. Sonoff is veyr cool but there is no dimmer :-(
Maybe you have a tip for me?
Regards,
Marc
The text was updated successfully, but these errors were encountered: