Closed HFeenstra closed 6 years ago
Status 0 output?
local_ip_address/cm?cmnd=status%200
File Not Found
URI: /cm Method: GET Arguments: 1 cmnd: status 0
Use console and execute command status 0
21:19:37 SRC: WebConsole from 192.168.1.240 21:19:37 RSL: Received Topic /status, Data Size 1, Data 0 21:19:37 RSL: Group 0, Index 1, Command STATUS, Data 0 21:19:37 MQT: stat/sonoff/STATUS = {"Status":{"Module":1,"FriendlyName":["NAMEOFDEVICE"],"Topic":"sonoff","ButtonTopic":"0","Power":0,"PowerOnState":3,"LedState":1,"SaveData":1,"SaveState":1,"ButtonRetain":1,"PowerRetain":1}} 21:19:37 MQT: stat/sonoff/STATUS1 = {"StatusPRM":{"Baudrate":115200,"GroupTopic":"sonoffs","OtaUrl":"http://192.168.1.111:9541/data/firmwares/sonoff-minimal.bin","RestartReason":"Software/System restart","Uptime":"0T01:51:21","StartupUTC":"2018-07-06T18:28:16","Sleep":0,"BootCount":299,"SaveCount":1069,"SaveAddress":"FB000"}} 21:19:37 MQT: stat/sonoff/STATUS2 = {"StatusFWR":{"Version":"6.1.0-minimal","BuildDateTime":"2018-07-06T15:28:59","Boot":4,"Core":"2_30","SDK":"1.5.3(aec24ac9)"}} 21:19:37 MQT: stat/sonoff/STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":4,"SysLog":0,"LogHost":"domus1","LogPort":514,"SSId":["WIFINAME","indebuurt2"],"TelePeriod":300,"SetOption":["000000E9","55818000"]}} 21:19:37 MQT: stat/sonoff/STATUS4 = {"StatusMEM":{"ProgramSize":397,"Free":604,"Heap":24,"ProgramFlashSize":1024,"FlashSize":1024,"FlashMode":3,"Features":["00000809","00082580","0C000002","21021702","00000000"]}} 21:19:38 MQT: stat/sonoff/STATUS5 = {"StatusNET":{"Hostname":"Spiegelsonoff-2886","IPAddress":"LOCALIPADDRESSOFDEVICE","Gateway":"192.168.1.1","Subnetmask":"255.255.255.0","DNSServer":"192.168.1.111","Mac":"XXXXXXXXX","Webserver":2,"WifiConfig":2}} 21:19:38 MQT: stat/sonoff/STATUS6 = {"StatusMQT":{"MqttHost":"HOSTMQTT","MqttPort":PORTOFMQTT,"MqttClientMask":"DVES%06X","MqttClient":"DVES_A70B46","MqttUser":"sonoff","MqttType":1,"MAX_PACKET_SIZE":1000,"KEEPALIVE":15}} 21:19:38 MQT: stat/sonoff/STATUS7 = {"StatusTIM":{"UTC":"Fri Jul 06 20:19:38 2018","Local":"Fri Jul 06 21:19:38 2018","StartDST":"Sun Mar 25 02:00:00 2018","EndDST":"Sun Oct 28 03:00:00 2018","Timezone":1}} 21:19:38 MQT: stat/sonoff/STATUS9 = {"StatusPTH":{"PowerDelta":80,"PowerLow":0,"PowerHigh":0,"VoltageLow":0,"VoltageHigh":0,"CurrentLow":0,"CurrentHigh":0}} 21:19:38 MQT: stat/sonoff/STATUS10 = {"StatusSNS":{"Time":"2018-07-06T21:19:38"}} 21:19:38 MQT: stat/sonoff/STATUS11 = {"StatusSTS":{"Time":"2018-07-06T21:19:38","Uptime":"0T01:51:22","Vcc":3.144,"POWER":"OFF","Wifi":{"AP":1,"SSId":"HisEarthMyWorld","RSSI":78,"APMac":"FC:EC:DA:17:8B:04"}}} 21:19:39 WIF: Checking connection...
Only status 0
Sorry Arendst, my NOOB knownledge, but just updated above Removed some personal info
Change in otaurl sonoff-minimal to sonoff usiing command otaurl
then execute command upload 1
Looks like a problem with TasmoAdmin that I reported over here: https://github.com/reloxx13/TasmoAdmin/issues/165
I followed the executes you requested me to do:
otaurl "http://localip:port/data/firmwares/sonoff.bin" upload 1 No success: stat/sonoff/UPGRADE = Failed HTTP error: connection refused
Wait for tomorrow ;)
Thanks @jjlawren
Check your OTA URL. TasmoAdmin seems to use http://<your_ip>:<your_port>/data/firmwares/sonoff-full.bin
Just released the fix as v6.1.0 (again). wait a few minutes for the binaries to pop up.
Wow, that is fast...
So I tried the commands: otaurl "http://localip:port/data/firmwares/sonoff-full.bin" upload 1
And then I see: Failed HTTP error: connection refused
Well I will try to see what I need to learn how to execute it in the right way
Where do you execute these commands? From the device webpage or from TasmoAdmin?
In your case I guess it's otaurl http://192.168.1.111:9541/data/firmwares/sonoff-full.bin
From the device webpage. Ok let me try your command
2018-07-06 23:19 GMT+02:00 Theo Arends notifications@github.com:
In your case I guess it's otaurl http://192.168.1.111:9541/ data/firmwares/sonoff.bin
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arendst/Sonoff-Tasmota/issues/3144#issuecomment-403149604, or mute the thread https://github.com/notifications/unsubscribe-auth/AYyJMPpxgmTmbtiPRdfGTcDs6iWdi10qks5uD9RqgaJpZM4VF7CU .
Failed file not found gives it as a return.
So I tried ota http://..../sonoff-full.bin (in stead of sonoff.bin)
That did the trick! Thank you @Arendst ! It also came up in the TasmoAdmin docker again; as version 6.1.0
Op 6 jul. 2018 om 23:19 heeft Theo Arends notifications@github.com het volgende geschreven:
In your case I guess it's otaurl http://192.168.1.111:9541/data/firmwares/sonoff.bin
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
It works; to close this topic this is what I did to get it upgrading to full:
I executed these commands: otaurl http://localip:port/data/firmwares/sonoff-full.bin upload 1
It rebooted successfully and came back with it's full functionality. Thanks.
Make sure these boxes are checked [x] before submitting your issue - Thank you!
status 0
:STATUS 0 OUTPUT HERE
So also in TasmoAdmin it shows as off line. When going to it's IP address the sonoff can be toggled! But keeps telling the issue shown above.