Giter Site home page Giter Site logo

Sonoff Touch about sonota HOT 13 CLOSED

mirko avatar mirko commented on July 20, 2024
Sonoff Touch

from sonota.

Comments (13)

krokce avatar krokce commented on July 20, 2024 3

@andyfitter Very much the same way it works for other Sonoffs. The only "not so ordinary" moment was the way Sonnof Touch behaved when putting it into pairing mode (when the switch starts to broadcast the ITEAD-### SSID). Namely after the first button press of 7 seconds the LED blink pattern was blink-blink-blink-pause-blink-blink-blink-pause, then you just press the touch button another 7 seconds when the LED blinking pattern changes to blink-blink-blink-blink-blink-blink... and here is when you should be able to see the ITEAD-### WiFi. Hope it helps...
Don't know if its worth mentioning - my (both) Sonoff Touch devices came with firmware 1.6.2 which I believe it's still the last one, and as mentioned - no issue flashing both of them with the current SonOTA build.

from sonota.

StSimmons avatar StSimmons commented on July 20, 2024

So, I worked out that I could do this using --legacy and doing the old DNS redirects.

I successfully got the Espressif2Arduino flash working.

I then tried to use the Sonoff-Tasinoda (built locally using PlatformIO and the sonoff-touch-4ch config). I hosted it at http://192.168.1.1/sonoff.bin, I saw the sonoff try to download it (by watching the HTTP server logs). Sadly, it no longer boots.

Any ideas what might have gone wrong?

from sonota.

khcnz avatar khcnz commented on July 20, 2024

Any chance you also had a serial console hooked up at time of flash? or can hook up a serial console now?

from sonota.

khcnz avatar khcnz commented on July 20, 2024

I think i know what may be wrong - i was testing a slightly different configuration and noticed that sometimes the buffer downloading the new images doesn't fill up - and when it doesn't fill up in multiples of 4 bytes bad things happen (the flash doesn't write correctly). I have a fix in the works but for now you will have to flash it with serial cable sorry.

from sonota.

StSimmons avatar StSimmons commented on July 20, 2024

Is this a bug in the Espressif2Arduino firmware? Or something else?

from sonota.

khcnz avatar khcnz commented on July 20, 2024

from sonota.

jleroux61 avatar jleroux61 commented on July 20, 2024

I just received my sonoff 4ch. It has firmware v2.01. @StSimmons how did you connect to the device if the ssid is not broadcasting? For which command are you using the --legacy parameter?
I see videos on youtube where people see the ssid on their smart phone so I guess they stopped broadcasting in later releases.

from sonota.

mirko avatar mirko commented on July 20, 2024

You could skip the provisioning via SonOTA with --skip-prov - e.g. if it doesn't create an AP named ITEAD-XXX - and do the initial provisioning via the ewlink app.
--legacy is for older firmwares and not thoroughly tested.

from sonota.

ageorgios avatar ageorgios commented on July 20, 2024

What are the steps required if the device (the case is a Sonoff B1 Bulb) does not broadcast and ITEAD-* wifi? I provisioned it through ewlink app to my local wifi network. What next?

will a dnsspoof make it?

from sonota.

krokce avatar krokce commented on July 20, 2024

On topic - just to confirm that I successfully flashed the "Sonoff Touch" (firmware version 1.6.2.) - smooth and easy. Thanks for the great job you guys!

from sonota.

andyfitter avatar andyfitter commented on July 20, 2024

Any chance of a walkthrough of how you got the ‘touch’ working?

from sonota.

krokce avatar krokce commented on July 20, 2024

@sillyfrog just want to confirm that this same method above worked for my Sonoff 4CH pro whcih started to advertise the ITEAD-### WiFi only after the second 7 second button press (same LED blinking pattern occurs). So you can put 4CH pro (original firmware version 2.0.1) on the list as confirmed to work with SonOTA - much more elegant way than soldering and grounding pin legs directly on the micro-controller...

from sonota.

sillyfrog avatar sillyfrog commented on July 20, 2024

Thanks all. It looks like we have a working combo, so I'll close this for now. Please open again if needed. Cheers.

from sonota.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.