Giter Site home page Giter Site logo

Gosund sp111 about tuya-convert HOT 11 CLOSED

ct-open-source avatar ct-open-source commented on May 14, 2024
Gosund sp111

from tuya-convert.

Comments (11)

kurim avatar kurim commented on May 14, 2024 1

@cljk, ich hab nun 6 SP111 geflashed ging bei allen problemfrei, einzig bei einem hatte ich mich selber ausgesperrt weil hinter dem AP Namen ein "Leerzeichen" war das mochte es gar nicht, den musste ich manuell via pin flashen.

from tuya-convert.

kurim avatar kurim commented on May 14, 2024

Ggf. mehrfach flash3 machen, ich brauchte auch grad 3 versuche bis das Device sich hat flashen lassen
Wichtig, wann hast du den git clone gemacht, denn gestern abend fehlte die sonoff-basic.bin im paket

from tuya-convert.

moneybag avatar moneybag commented on May 14, 2024

noch mal fürs protokoll:
Die gosund hat die IP 10.42.42.42 ?

from tuya-convert.

moneybag avatar moneybag commented on May 14, 2024

alles neu aufgesetzt heute morgen

100x mal probiert

curl http://10.42.42.42/flashURL?url=http://10.42.42.1/files/thirdparty.bin
Device should flash http://10.42.42.1/files/thirdparty.bin and restart

da passiert nix, kein fortschrittsbalken, keine meldung

WPS klappt auch nicht, AP wird auch nicht aufgemacht

from tuya-convert.

kurim avatar kurim commented on May 14, 2024

Welche Plattform nutzt du?
Raspberry 3b+? mit Kali?
Wenn ja das hat bei mir auch nicht geklappt, nimm das image 2018-11-13-raspbian-stretch-lite.img
Damit hat es letztlich geklappt

from tuya-convert.

moneybag avatar moneybag commented on May 14, 2024

raspberry 3b jessy
aber warum wird ein backup erfolgreich gemacht? Ist doch unlogisch

from tuya-convert.

kurim avatar kurim commented on May 14, 2024

Ich mach es auch grad noch mal mit einem SP111 der noch nicht geflashed war (stehen noch 3 aus)

/home/pi/tuya-convert
======================================================
Getting Info from IoT-device
VTRUST-FLASH 1.0
(c) VTRUST GMBH https://www.vtrust.de/35c3/
READ FLASH: http://10.42.42.42/get?read=HEX-ADDRESS
ChipID: 26e5e7
MAC: CC:50:E3:26:E5:E7
SdkVersion: 1.5.3(aec24ac9)
BootVersion: 4
BootMode: 1
FlashMode: 1M DOUT @ 40MHz
FlashChipId: 144068
FlashChipRealSize: 1048576
FlashChipSize: 1048576
FlashChipMode: 3
system_upgrade_userbin_check: user2 0x81000
======================================================

danach:

root@raspberrypi:/home/pi/tuya-convert# curl http://10.42.42.42/flash3
Device should flash http://10.42.42.1/files/thirdparty.bin and restart
root@raspberrypi:/home/pi/tuya-convert#

Und mehr kommt auch nicht, dann wieder versucht mit dem Gerät das mit dem PI die Wifi verbindung macht auf den SP111 zu kommen (klappt nicht weil der schon nicht mehr drin ist).
Danach startet er neu und man findet ihn als sonoff-xxxx

Wenn der GIT von dir frisch ist solltest du unter files auch "sonoff-basic.bin" finden, bei mir ging es nicht weil man diese vergessen hatte

from tuya-convert.

nanobyte84 avatar nanobyte84 commented on May 14, 2024

@moneybag schau nach ob sonoff-basic.bin da ist mit

ls -l files

Außerdem kannst du in einem zweiten Terminal sehen ob die firmware geladen wird mit

screen -x smarthack-web

falsch: [W 190124 00:04:26 web:2162] 404 GET /files/thirdparty.bin (10.42.42.42) 0.78ms
richtig: [I 190124 00:08:03 web:2162] 200 GET /files/thirdparty.bin (10.42.42.42) 7249.08ms

from tuya-convert.

moneybag avatar moneybag commented on May 14, 2024

Last login: Sat Jan 26 17:38:01 2019
root@iobroker:# cd tuya-convert/
root@iobroker:
/tuya-convert# ls -l files
insgesamt 1824
lrwxrwxrwx 1 root root 33 Jan 26 09:59 1.bin -> esp8266-ota-flash-convert_upg.bin
-rw-r--r-- 1 root root 254212 Jan 26 09:59 esp8266-ota-flash-convert.ino-0x81000.bin
-rw-r--r-- 1 root root 508475 Jan 26 09:59 esp8266-ota-flash-convert_upg.bin
-rw-r--r-- 1 root root 546032 Jan 26 10:14 sonoff-basic.bin
-rw-r--r-- 1 root root 546032 Jan 26 10:14 tasmotapriv.bin
lrwxrwxrwx 1 root root 16 Jan 26 09:59 thirdparty.bin -> sonoff-basic.bin
lrwxrwxrwx 1 root root 41 Jan 26 09:59 user2.bin -> esp8266-ota-flash-convert.ino-0x81000.bin
root@iobroker:~/tuya-convert# mc

root@iobroker:~/tuya-convert/scripts# cat smarthack-web.log
Listening on port 80
[I 190127 09:35:32 web:2162] 200 GET /files/thirdparty.bin (10.42.42.42) 220.88ms
[I 190127 09:35:32 web:2162] 200 GET /files/thirdparty.bin (10.42.42.42) 63.69ms
[I 190127 09:35:39 web:2162] 200 GET /files/thirdparty.bin (10.42.42.42) 7079.96ms

passiert nix 10min gewartet, das müsste doch die verbindung abbrechen und das esp web hoochkommen oder wps

from tuya-convert.

moneybag avatar moneybag commented on May 14, 2024

Läuft jetzt, mehrfach versucht

from tuya-convert.

cljk avatar cljk commented on May 14, 2024

@moneybag Hattest Du noch irgendwas geändert?

Wollte am WE meine restlichen 3 SP111 Steckdosen flashen ... und wenn Du noch sachdienliche Hinweise hast, nur raus.

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.