Ich wünschte mein Problem (siehe Seite 6) läge auch nur am falschen Subnet Vermutlich ist es aber ähnlich trivial wenn man erstmal weiß wo der Schuh drückt.
Wird die entsprechende Datei einfach nicht auf dem Server gefunden wo er sie abrufen will, oder wo genau liegt das Problem? Oder ist -slow... in der fertig kompilierten .exe z. B. einfach nicht vorgesehen/dabei? (Auch wenn laut der Kompatibilitätsliste -slow/-legay nur bei 2.0.2 und nicht bei 2.0.4 dabei steht)
Beiträge von muhkuhcx
-
-
Wollte gerade meine ersten Schritte wagen und meinen Sonoff POW Firmware version 2.0.4 mit SonOTA.exe flashen aber es hängt leider in dieser Schleife und klackert nur abundzu
Code
Alles anzeigen************************************************* Received a 404 error, try running with '--slowstream' option. ************************************************* Setting slowstream for following call... ...~~ websocket close ..<< HTTP POST /dispatch/device >> /dispatch/device >> { "error": 0, "reason": "ok", "IP": "192.168.178.50", "port": 8443 } 200 POST /dispatch/device (192.168.178.48) 5.00ms .101 GET /api/ws (192.168.178.48) 1.00ms << WEBSOCKET OPEN << WEBSOCKET INPUT << { "userAgent": "device", "apikey": "89be20df-908e-4a91-8b35-321f30229cc8", "deviceid": "10000bb2ce", "action": "register", "version": 2, "romVersion": "2.0.4", "model": "PSC-B01-GL", "ts": 183 } ~~~ device sent action request, acknowledging / answering... We are dealing with a PSC-B01-GL model. ~~~~ register >> { "error": 0, "deviceid": "10000bb2ce", "apikey": "e68c128a-48d7-4210-b880-c3d034bca117", "config": { "hb": 1, "hbInterval": 145 } } .<< WEBSOCKET INPUT << { "userAgent": "device", "apikey": "e68c128a-48d7-4210-b880-c3d034bca117", "deviceid": "10000bb2ce", "action": "date" } ~~~ device sent action request, acknowledging / answering... ~~~~ date >> { "error": 0, "deviceid": "10000bb2ce", "apikey": "e68c128a-48d7-4210-b880-c3d034bca117", "date": "2017-12-23T14:27:07.059Z" } << WEBSOCKET INPUT << { "userAgent": "device", "apikey": "e68c128a-48d7-4210-b880-c3d034bca117", "deviceid": "10000bb2ce", "action": "update", "params": { "switch": "off", "power": "0", "fwVersion": "2.0.4", "rssi": -59, "staMac": "5C:CF:7F:B4:4F:A5", "startup": "off" } } ~~~ device sent action request, acknowledging / answering... ~~~~ update >> { "error": 0, "deviceid": "10000bb2ce", "apikey": "e68c128a-48d7-4210-b880-c3d034bca117" } >> { "action": "update", "deviceid": "10000bb2ce", "apikey": "e68c128a-48d7-4210-b880-c3d034bca117", "userAgent": "app", "sequence": "1514035627556", "ts": 0, "params": { "switch": "off" }, "from": "hackepeter" } >> { "action": "update", "deviceid": "10000bb2ce", "apikey": "e68c128a-48d7-4210-b880-c3d034bca117", "userAgent": "app", "sequence": "1514035627561", "ts": 0, "params": { "switch": "on" }, "from": "hackepeter" } >> { "action": "update", "deviceid": "10000bb2ce", "apikey": "e68c128a-48d7-4210-b880-c3d034bca117", "userAgent": "app", "sequence": "1514035627565", "ts": 0, "params": { "switch": "off" }, "from": "hackepeter" } >> { "action": "update", "deviceid": "10000bb2ce", "apikey": "e68c128a-48d7-4210-b880-c3d034bca117", "userAgent": "app", "sequence": "1514035627571", "ts": 0, "params": { "switch": "on" }, "from": "hackepeter" } >> { "action": "update", "deviceid": "10000bb2ce", "apikey": "e68c128a-48d7-4210-b880-c3d034bca117", "userAgent": "app", "sequence": "1514035627575", "ts": 0, "params": { "switch": "off" }, "from": "hackepeter" } >> { "action": "upgrade", "deviceid": "10000bb2ce", "apikey": "e68c128a-48d7-4210-b880-c3d034bca117", "userAgent": "app", "sequence": "1514035627587", "ts": 0, "params": { "binList": [ { "downloadUrl": "http://192.168.178.50:8080/slowota/image_user1-0x01000.bin", "digest": "1c467a7cb4058df22046ffbc0312272aed324a74e91b9b39e1bf2aef88eeca8a", "name": "user1.bin" }, { "downloadUrl": "http://192.168.178.50:8080/slowota/image_user2-0x81000.bin", "digest": "804e4f4a2316fbcc2c6b46aff53c24b9be252bf3fd8cf3ea2243e4475a052658", "name": "user2.bin" } ], "model": "PSC-B01-GL", "version": "23.42.5" } } << WEBSOCKET INPUT << { "userAgent": "device", "apikey": "e68c128a-48d7-4210-b880-c3d034bca117", "deviceid": "10000bb2ce", "action": "query", "params": [ "timers", "timeZone" ] } ~~~ device sent action request, acknowledging / answering... ~~~~ query >> { "error": 0, "deviceid": "10000bb2ce", "apikey": "e68c128a-48d7-4210-b880-c3d034bca117", "params": 0 } .<< WEBSOCKET INPUT << { "error": 0, "userAgent": "device", "apikey": "e68c128a-48d7-4210-b880-c3d034bca117", "deviceid": "10000bb2ce", "sequence": "1514035627575" } ~~~ device acknowledged our action request (seq 1514035627575) with error code 0 Slow Sending file: /slowota/image_user1-0x01000.bin (This may take several minutes) Uncaught exception GET /slowota/image_user1-0x01000.bin?deviceid=10000bb2ce&ts=1749675386&sign=beab78ae6bb9980fa50e3e45b92ccd99daaffa32267e93092b47b2ccc3997d69 (192.168.178.48) HTTPServerRequest(protocol='http', host='dl.itead.cn', method='GET', uri='/slowota/image_user1-0x01000.bin?deviceid=10000bb2ce&ts=1749675386&sign=beab78ae6bb9980fa50e3e45b92ccd99daaffa32267e93092b47b2ccc3997d69', version='HTTP/1.1', remote_ip='192.168.178.48', headers={'Host': 'dl.itead.cn', 'Range': 'bytes=0-4095', 'User-Agent': 'itead-device'}) Traceback (most recent call last): File "tornado\web.py", line 1511, in _execute File "tornado\gen.py", line 1055, in run File "tornado\concurrent.py", line 238, in result File "<string>", line 4, in raise_exc_info File "tornado\gen.py", line 307, in wrapper File "sonota.py", line 134, in get FileNotFoundError: [Errno 2] No such file or directory: 'static\\image_user1-0x01000.bin' 500 GET /slowota/image_user1-0x01000.bin?deviceid=10000bb2ce&ts=1749675386&sign=beab78ae6bb9980fa50e3e45b92ccd99daaffa32267e93092b47b2ccc3997d69 (192.168.178.48) 6.00ms << WEBSOCKET INPUT << { "error": 404, "userAgent": "device", "apikey": "e68c128a-48d7-4210-b880-c3d034bca117", "deviceid": "10000bb2ce", "sequence": "1514035627587" } ~~~ device acknowledged our action request (seq 1514035627587) with error code 404