Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.10.0] Update Device fails #131

Closed
HFeenstra opened this issue Jun 10, 2018 · 6 comments
Closed

[5.10.0] Update Device fails #131

HFeenstra opened this issue Jun 10, 2018 · 6 comments

Comments

@HFeenstra
Copy link

Tried to update the sonoff by using the Docker TasmoAdmin. I do get a successfull downloaded version of 6.0.0 and when updating device it comes with following: (in Dutch)

[10-51-2018 13:53:27][GLOBAAL] Start update proces
[10-51-2018 13:53:27][ID-1][STAP-1][GLOBAAL] Start Stap 1
[10-51-2018 13:53:27][ID-1][STAP-1][CONTROLEER] Controleer verbinding | PROBEER => 1
[10-51-2018 13:53:27][ID-1][STAP-1][CONTROLEER] FOUT: Apparaat heeft niet gereageerd! | MSG => JSON FOUT => 4: Syntax error
Kopieer de hele foutmelding en plak deze in een nieuwe bevinding op GitHUB. Op de een of andere manier gereageerde de Tasmota Firmware met een onjuiste JSON string, welke verwerkt dient te worden in TasmoAdmin.
JSON Antwoord => Status, Data Size 1, Data 212:53:27 RSL: Group 0, Index 1, Command STATUS, Data 2{"StatusFWR":{"Version":"5.10.0","BuildDateTime":"2017-12-29T11:40:24","Boot":4,"Core":"2_3_0","SDK":"1.5.3(aec24ac9)"}}
[10-51-2018 13:53:27][ID-1][STAP-1][CONTROLEER] Controleer verbinding | PROBEER => 2
[10-51-2018 13:53:27][ID-1][STAP-1][CONTROLEER] FOUT: Apparaat heeft niet gereageerd! | MSG => JSON FOUT => 4: Syntax error
Kopieer de hele foutmelding en plak deze in een nieuwe bevinding op GitHUB. Op de een of andere manier gereageerde de Tasmota Firmware met een onjuiste JSON string, welke verwerkt dient te worden in TasmoAdmin.
JSON Antwoord => Status, Data Size 1, Data 212:53:27 RSL: Group 0, Index 1, Command STATUS, Data 2{"StatusFWR":{"Version":"5.10.0","BuildDateTime":"2017-12-29T11:40:24","Boot":4,"Core":"2_3_0","SDK":"1.5.3(aec24ac9)"}}
[10-51-2018 13:53:27][ID-1][STAP-1][CONTROLEER] Controleer verbinding | PROBEER => 3
[10-51-2018 13:53:27][ID-1][STAP-1][CONTROLEER] FOUT: Apparaat heeft niet gereageerd! | MSG => JSON FOUT => 4: Syntax error
Kopieer de hele foutmelding en plak deze in een nieuwe bevinding op GitHUB. Op de een of andere manier gereageerde de Tasmota Firmware met een onjuiste JSON string, welke verwerkt dient te worden in TasmoAdmin.
JSON Antwoord => Status, Data Size 1, Data 212:53:27 RSL: Group 0, Index 1, Command STATUS, Data 2{"StatusFWR":{"Version":"5.10.0","BuildDateTime":"2017-12-29T11:40:24","Boot":4,"Core":"2_3_0","SDK":"1.5.3(aec24ac9)"}}

@RaymondMouthaan
Copy link
Contributor

This issue might be related to #69 and #122.

Currently, I have no time to investigate, since I am in the middle of house movement.

@reloxx13
Copy link
Collaborator

reloxx13 commented Jun 20, 2018

this has sth to do with wrong json format in tasmota 5.10.0 and prior

can you please post a status 0 and status 2 json response by calling it in your browser?

http://yoursonoffip/cm?cmnd=status%202
and
http://yoursonoffip/cm?cmnd=status%200

alternative just update once by hand to a newer version and it will work in tasmoadmin in the future.

reloxx13 added a commit that referenced this issue Jun 20, 2018
@HFeenstra
Copy link
Author

HFeenstra commented Jun 21, 2018

Hi tried both calls for the status: 2 gave back:

status, Data Size 1, Data 2
19:29:43 RSL: Group 0, Index 1, Command STATUS, Data 2
STATUS2 = {"StatusFWR":{"Version":"5.10.0","BuildDateTime":"2017-12-29T11:40:24","Boot":4,"Core":"2_3_0","SDK":"1.5.3(aec24ac9)"}}

status 0 gave back:

status, Data Size 1, Data 0
19:30:39 RSL: Group 0, Index 1, Command STATUS, Data 0
STATUS = {"Status":{"Module":1,"FriendlyName":"Spiegel boven","Topic":"sonoff","ButtonTopic":"0","Power":0,"PowerOnState":3,"LedState":1,"SaveData":1,"SaveState":1,"ButtonRetain":1,"PowerRetain":1}}
STATUS1 = {"StatusPRM":{"Baudrate":115200,"GroupTopic":"sonoffs","OtaUrl":"http://domus1:80/api/arduino/sonoff.ino.bin","Uptime":271,"Sleep":0,"BootCount":268,"SaveCount":953,"SaveAddress":"FB000"}}
STATUS2 = {"StatusFWR":{"Version":"5.10.0","BuildDateTime":"2017-12-29T11:40:24","Boot":4,"Core":"2_3_0","SDK":"1.5.3(aec24ac9)"}}
STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":4,"SysLog":0,"LogHost":"domus1","LogPort":514,"SSId1":"WIFINAME","SSId2":"indebuurt2","TelePeriod":300,"SetOption":"000000E9"}}
STATUS4 = {"StatusMEM":{"ProgramSize":486,"Free":516,"Heap":21,"ProgramFlashSize":1024,"FlashSize":1024,"FlashMode":2}}
STATUS5 = {"StatusNET":{"Hostname":"Spiegelsonoff-2886","IPAddress":"192.168.X.XXX","Gateway":"192.168.X.X","Subnetmask":"255.255.255.0","DNSServer":"192.168.X.XXX","Mac":"5C:CF:7F:A7:0B:46","Webserver":2,"WifiConfig":2}}
STATUS6 = {"StatusMQT":{"MqttHost":"mXX.cloudmqtt.com","MqttPort":PORT_OF_MQTT,"MqttClientMask":"DVES_%06X","MqttClient":"DVES_A70B46","MqttUser":"NAME_MQTTUSER","MAX_PACKET_SIZE":512,"KEEPALIVE":15}}
STATUS7 = {"StatusTIM":{"UTC":"Thu Jun 21 18:30:40 2018","Local":"Thu Jun 21 19:30:40 2018","StartDST":"Sun Mar 25 02:00:00 2018","EndDST":"Sun Oct 28 03:00:00 2018","Timezone":1}}
STATUS10 = {"StatusSNS":{"Time":"2018-06-21T19:30:40"}}
STATUS11 = {"StatusSTS":{"Time":"2018-06-21T19:30:40","Uptime":271,"Vcc":3.143,"POWER":"OFF","Wifi":{"AP":1,"SSId":"WIFINAME","RSSI":74,"APMac":"FC:EC:DA:17:8B:04"}}}

@reloxx13 reloxx13 changed the title When trying to update a sonoff device through TasmoAdmin webpage. [5.10.0] Update Device fails Jun 21, 2018
@reloxx13
Copy link
Collaborator

hopefully will be fixed with upcoming v1.1.1

BUT you need to set your MQTT port, its
"MqttPort": PORT_OF_MQTT,
which is not parseable

@reloxx13
Copy link
Collaborator

or did you just censor it wrong, if it is a number its fine, else it needs to be a string.

you cencorship should be
"MqttPort": 123,

Pls check the uncensored value or post this line here :p

@HFeenstra
Copy link
Author

HFeenstra commented Jun 22, 2018 via email

inverse pushed a commit to inverse/TasmoAdmin that referenced this issue Oct 14, 2020
inverse pushed a commit to inverse/TasmoAdmin that referenced this issue Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants