Hi guys I’m new here.
Will this work for flashing? https://www.m.nu/gpio-tillbehor/usb-to-ttl-serial-cable-debug-console-cable
Regards Tjulle
Hi guys I’m new here.
Will this work for flashing? https://www.m.nu/gpio-tillbehor/usb-to-ttl-serial-cable-debug-console-cable
Regards Tjulle
@erocm1231 Thanks for the firmware for these devices, tried out flashing all of the units, worked perfect with the NodeMCU Flasher.
I wanted to find out if any progress or if you are planning a release for these
http://sonoff.itead.cc/en/products/residential/sonoff-t1
http://sonoff.itead.cc/en/products/residential/sonoff-t1-eu
I know there isnt a US version yet, but the above are available states side
You’re after the Sonoff Touch release. I’ve got it running on my light switch here.
@erocm1231 I note a couple of other ESP libraries have coded up double-clicks or press-and-hold for these, but I couldn’t see anything in your DTH to suggest if that’s possible here.
Is there a plan for this?
That looks like it’s just a straight pin-out for a USB cable, so no.
You’re after an FTDI board - it’s a teeny little board with a USB port at one end (to connect to your computer) and pins at the other like this
You can then connect the FTDI to the Sonoff with whatever wires you’ve got lying around
@jymbob This is the newer version of the touch with 2 and 3 buttons, I need to have 2 button switches, is it working with both switches with a child handler?
ah, not sure. My 3-button switch hasn’t arrived yet…
Hi,
I have flashed these no problem though I’m sure I had to switch the Tx and the Rx from what was marked on the board, i.e. Rx from the FTDI to Tx on the Sonoff board. These are great for USB powered devices.
I ran into this today with my first Sonoff switches, no wifi after flash. It’s appears to be a known issue with newer models. Write mode must be ‘dout’. I installed Python, then installed the updated ESPTOOL.py.exe following these instructions: https://www.youtube.com/watch?v=p4UGKRKYFCs . I then flashed them using this command line. “esptool.py.exe --port COM4 write_flash -fs 1MB -fm dout 0x0 sonoff.ino.generic.bin”. Worked for my first two, ordering more.
Having trouble getting this to work with Sonoff Pow. Generic firmware seems to upload ok then nothing. I’m thinking that maybe I need firmware for the POW version. Does anybody know if there is specific firware for it? Thanks
thank you for the input you where correct had to switch rx and tx around but got it working
Tony
Hi All,
I a have been trying to flash my S20 without success. I now no longer have lights or access to the device. Have I bricked it? Can anyone give me some ideas on how to bring it back? I have been successful with other projects but am by no means very skilled with hardware reflashing.
Thanks
Hi Adam
I did get it working but never got round to installing them. Just after I got it working I picked up a couple of Sonoff B1 RGB LED bulbs and changed my mind to doing this project using those, with this logic method… but have yet to come across a B1 firmware that does what I want.
It’s on my list to write my own, but its a long old list - so keeping an eye open in case someone comes up with one, otherwise might be one for Q2 2018.
Nick
Have you used the NodeMCU app that is linked from the opening post?
I too recently got some more S20’s and after running the command it flashed successfully but just did nothing.
After using NodeMCU the S20 came back to life.
OKey thanks.
So as long as its called ftdi board it will work?
Should I be getting any activity out of the LED after flashing? I’ve done this with ESPEasy_R120 and ESP8266Flasher. In both cases they seem to flash just fine… but they don’t boot back up. No LED activity, no functionality, the button won’t manually operate. Not sure if I’m doing something wrong or not? I’ve done 5 H801 controllers fine, so this isn’t my first time flashing these type of boards. I’ve got two of them too, and neither work.
Any ideas?
EDIT: I guess the secret is to post the question to this thread and the next time you try it, it’ll work. Not sure what I did to fix it, but after about 6 tries with esptool and about as many with ESP8266Flasher, it ended up working with ESP8266Flasher. It does power up with a green LED, and it takes considerably longer to flash with ESP8266Flasher… but it did flash and I’m now up and running
That is probably because it was using dout method which takes about double the time compared to most other flash methods (but it is the one you need to use for newer boards to work - since lots of them use the 8285 rather than the 8266).
It is also possible that you didnt hold the button when flashing the chip, that puts it into flash mode. Perhaps it was just the flash method, but glad you got it working in the end!
When I try to used the NodeMCU app it auto recognizes the correct com port and connects to it but stalls out. the last log line says Note:Begin find ESP8266. I have one that seems bricked and one brand new one. Both have the same result.
Hi guys, i have been trying to connect momentary wall switches to the sonoff 4ch.
What I have done is soldered a fine wire to GND and 4 wires to the individual on board buttons and then connecting these wires to the momentary switches.(was successful in doing this with the sonoff single CH unit).
However for the 4CH unit, the switches work but it keeps causing the sonoff 4CH to lose its wifi credentials and settings entered into advanced config.
This is the sequence.
Any advise or ideas would be greatly appreciated.
Thanks
EDIT: managed to solve the issue by reducing the Switch Debounce to 0.
So it would appear that NodeMCU cannot find the device.
Are you certain that the comms lines are correct?
RX on S20 should go to TX of your USB to serial device
TX on S20 to RX of USB to serial device.