Comments (11)
@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.
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.
noch mal fürs protokoll:
Die gosund hat die IP 10.42.42.42 ?
from tuya-convert.
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.
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.
raspberry 3b jessy
aber warum wird ein backup erfolgreich gemacht? Ist doch unlogisch
from tuya-convert.
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.
@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.
Last login: Sat Jan 26 17:38:01 2019
root@iobroker:# cd tuya-convert//tuya-convert# ls -l files
root@iobroker:
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.
Läuft jetzt, mehrfach versucht
from tuya-convert.
@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)
- conversion over docker HOT 1
- STAY AWAY from Gosund plugs HOT 10
- https://github.com/ct-Open-Source/tuya-convert/wiki/Collaboration-document-for-PSK-Identity-02
- SP111 with ip 10.42.42.34-38 HOT 1
- Deta Grid Connect Lights dead with vtrust-recovery SSID after flash HOT 2
- TCP Smart plug
- no AP "vtrus-flash" is opend - script is running without error HOT 2
- Is LSC Outdoor Floodlight (3200719) Supported? HOT 1
- Gosund EP2 flashed with Tasmota - but entered wrong Wifi Name or Password and can't reach the device HOT 4
- Should old Blitzwolf BW-SHP4 UK work? HOT 2
- Restore flashed BW SHP2 Plug HOT 1
- Timed out while waiting for the device to (re)connect HOT 3
- AP gone after putting in wrong wifi credentials
- mosquitto conf broken in dev branch HOT 1
- Timed out while waiting for the device to (re)connect
- 'docker build -t tuya:latest .' won't work until: HOT 1
- New Device - get connected, but there is no further step on script.
- AP starts but stops almost immediately HOT 1
- MCU version:1.1.3 Nueva version available:1.1.5
- Is my device affected by the new PSK issue?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tuya-convert.