well, I'm afraid that perhaps the status LED is controlled by the script and not the template... I've tried all possible configurations of the LEDi variable with no change in behavior
Did you know that you can enjoy many members-only features simply by quickly registering (no CAPTCHA!)?
Registering gives you access to our giveaways, forum features, increased search performance, access to our Download Library, create your own blog & gallery, and more!
Once you have registered, stop by in 'Hello World', and introduce yourself.
Gosund WiFi dimmer replacing firmware
Posted 02 February 2021 - 09:20 AM
I have purchased several of the Gosund SW2 dimmer switches over the past year and have been able to successfully load the Tasmota firmware using the OTA method. Recently I purchase a 4-pack of the switches off of Amazon that seem to be a newer design than the previous ones. The OTA flashing does not work but I was able to load the tasmota firmware using the serial flash method. I have tried several different flavors of firmware but the result is always a very flaky response to commands from the web interface and also the physical switch itself. In the console, I can see all the commands are being received by the switch but they don't always actually change the dimmer setting or even the on/off setting. The datecode on these switches is "Date Code: 12/2020". I have tried two out of the four switches that I have with the same results on both. Has anyone else had luck with recently purchased SW2 switches?
Posted 03 February 2021 - 06:42 AM
Yeah here purchased my Gosund SW2 dimmers back in July, 2020. Reading this on the Tasmota templates page I did not think I would be able to use OTA Tuya convert on them and I did.
Tuya-Convert might not be possible for this device if the manufacturer started using newest Tuya firmware since this template was published (2019-12-10).
In order to be able to flash the device from the pins, make sure to disconnect the front panel from the rest of the device. If not done, the tuya MCU will prevent the ESP chip to be flash.
All dimming and on/off functionality is controlled by an MCU that does not follow the Tuya protocol. Dimming and on/off can be set by Tasmota using simple serial commands. Reading local dimming when set by the capacitive touch panel requires a Script-enabled build and the script below to process serial status codes sent by the dimmer MCU.
Status codes take the form of 24xx012123, with xx ranging from 01 to 64 (hex 1-100).
Minimum dimming level may vary by light fixture - adjust the ‘off’ value to match your setup in the >D section.
I did initially use the posted script then a Cocoontech user @gbg108 posted a custom Tasmota bin that worked with the dimmer switch.
I would suggest getting older manufactured Gosund dimmer switches.
Posted 04 February 2021 - 04:16 PM
I'd love to find the older modules however I'm not sure that's possible for me since I'm purchasing them off of Amazon.
Posted 05 February 2021 - 04:49 AM
Maybe Ebay. You can ask about the date code before purchasing them. I am only using GBG's firmware here. Maybe clear the chips using ESPTool a couple of times. Then write the Tasmota bin.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users