Coder Social home page Coder Social logo

Comments (13)

Jason2866 avatar Jason2866 commented on July 29, 2024

See #5 (comment)

from tuya-convert.

drushbrook avatar drushbrook commented on July 29, 2024

See #5 (comment)

I flashed the included sonoff-classic as per commit b2760dd .
I thought you could flash DOUT over the top of a QIO flash.

I can't understand how the device is still sending tuya commands to the web.

from tuya-convert.

Jason2866 avatar Jason2866 commented on July 29, 2024

Strange. You have to flash Tasmota with option DOUT.
All ESP devices do support DOUT. DOUT needs the fewest hardware (wiring of flash) connections.
https://github.com/espressif/esptool/wiki/SPI-Flash-Modes

from tuya-convert.

drushbrook avatar drushbrook commented on July 29, 2024

I wonder what firmware file they flashed for this article. As this had a QIO mode flash and then they go onto mention "Alternatively, you can install the included Sonoff Tasmota v6.4.1 minimal image. It uses the DOUT flash mode and will work on most devices:"

from tuya-convert.

ctandi avatar ctandi commented on July 29, 2024

I have to apologize. This might be due to changes in the sonoff-minimal. When we built these scripts, I had in mind that the minimal-image was used with SonOTA to overwrite the Sonoff-firmware and update to a full tasmota from there. This is still stated in the documentation, but has obviously changed and now the minimal image needs previous data of Tasmota present and might not work without it. We will work on resolving this today. @drushbrook I think you might need to open up the bulb and solder a serial connection to it :( Sorry.

from tuya-convert.

drushbrook avatar drushbrook commented on July 29, 2024

I have two bulbs. One of them in the sonoff-minimal situation (which I believe I will need to use serial to recover) and the other is using sonoff-classic. The logs above are from the sonoff-classic firmware. Which appears to be in a state where it is still running tuya commands because it is still connecting to the AP, still communicating with MQTT and still hitting the fake website with POST /gw.json?a=s.gw.dev.timer.count&gwId=14682127807d3a3ac5d9&t=1496&sign=a8a30b0b117b79db84431592801688d3.

Unfortunately I can find a way to reset it.

from tuya-convert.

ctandi avatar ctandi commented on July 29, 2024

This seems rather strange. I suppose then flashing didn't work. We will get too this in a few hours.

from tuya-convert.

drushbrook avatar drushbrook commented on July 29, 2024

Here are the three times I did firmware backups using tuya-convert for the same device. i.e. firmware-backup1.bin is the first backup, firmware-backup2.bin is the backup after doing an undo, firmware-backup3.bin is the third backup after doing an undo the second time after I did a git pull to get the sonoff-classic change.

firmware-backups.zip

from tuya-convert.

ctandi avatar ctandi commented on July 29, 2024

We decided to replace the current image with one that automatically connects to the VTRUST-Access-Point when installed. I will test the new image now and then update the guide.

from tuya-convert.

datayeah avatar datayeah commented on July 29, 2024

I tried the procedure with a Jinvoo Lightbulb ( https://www.amazon.de/Jinvoo-Multicolor-erforderlich-steuerbar-Kompatibel/dp/B07H3PW9F1/ref=sr_1_10?ie=UTF8&qid=1548365033&sr=8-10&keywords=smart+jinvoo ). They seem to be the regular tuya RGBW bulbs as all the others.

I managed to install the temporary firmware to the userspace. The device connected to the vtrust AP, and seemed to have rebooted after every execution of the "flash3" command. But it seemed the firmware was not installed. It seemed like i am stuck an endless loop, so i tried the "undo" after a few tries. (bad idea, i guess ;)

Now the bulb ist just turning bright white and thats it. It neither connects to the vtrust AP, nor does it fire up it's own AP. Even resetting (turn 3 times off and on) didnt bring it back. I just ordered a 3.3v USB-Serial Cable to reflash it by soldering the cable to the bulb. Or does anyone know how i can fix my bulb without soldering? I don't think it's totally bricked, just in a kind of "broken firmware"-state. I also don't really get which firmware to install (other than writing my own in arduino IDE), since most information i can find about flashing custom firmware to tuya devices is about switching switches, not about coloring bulbs.

from tuya-convert.

drushbrook avatar drushbrook commented on July 29, 2024

Have you tried pushing the WPS button on your router which apparently is one of the ways Tasmota Classic can receive your AP information? I tried with my router not realising that WPS is disabled.completely on Tomato firmware. I'm going to setup another router with WPS support tonight with mine.

from tuya-convert.

datayeah avatar datayeah commented on July 29, 2024

let me check that out. meanwhile, i managed to brick a second bulb. i managed to install the temporary firmware again, then tried to flash sonoff classic, afterwards: bright white light -> bulb doesn't connect to anything. i think it has to do with an unstable wifi AP. my raspberry seems to constantly drop all AP clients and so bricks the device while it tries to load the firmware from the temporary raspberry webserver. fun fact: when i reset the second bulb (turn off and on 3 times), it flashes constantly in bright white and warm white. never seen this before. i'll try the WPS thing now...

from tuya-convert.

drushbrook avatar drushbrook commented on July 29, 2024

My bulb was very similar in flashing action but instead of bring white and warm white. It would go on and off. Using WPS made the device connect to my network and I upgraded it straight away to sonoff-basic.bin using the web interface. I then configured it to use Arilux LC11 (38) as a module as per https://github.com/arendst/Sonoff-Tasmota/wiki/Mirabella-Genio-Bulb

from tuya-convert.

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.