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

All devices soft bricked after power outage #8929

Closed
9 of 15 tasks
thucar opened this issue Jul 18, 2020 · 11 comments
Closed
9 of 15 tasks

All devices soft bricked after power outage #8929

thucar opened this issue Jul 18, 2020 · 11 comments
Labels
awaiting feedback Action - Waiting for response or more information duplicated Result - Duplicated Issue troubleshooting Type - Troubleshooting

Comments

@thucar
Copy link

thucar commented Jul 18, 2020

PROBLEM DESCRIPTION

After a power outage where the powerline experienced low and fluctuating voltage for a prolonged period of time, all Tasmota devices connected to that line were reset to a state where I am unable to get them operational again. They all have set up their AP's but the Web WiFi configuration page is messed up. Also, after entering my WiFi credentials, the devices do not even try to connect to my router. Only solution seems to be to flash all devices again over serial.

REQUESTED INFORMATION

Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!

  • Read the Contributing Guide and Policy and the Code of Conduct
  • Searched the problem in issues
  • Searched the problem in the docs
  • Searched the problem in the forum
  • Searched the problem in the chat
  • Device used (e.g., Sonoff Basic): Sonoff Basic, Sonoff Dual, Sonoff S26, Avatto smart plug, HOCH Circuit breaker, ESP8266-12e
  • Tasmota binary firmware version number used: 8.1.0
    • Pre-compiled
    • Self-compiled
      • IDE / Compiler used: _____
  • Flashing tools used: Tasmotizer
  • Provide the output of command: Backlog Template; Module; GPIO 255:
  Configuration output here: Not possible


  • If using rules, provide the output of this command: Backlog Rule1; Rule2; Rule3:
  Rules output here: Not possible


  • Provide the output of this command: Status 0:
  STATUS 0 output here: Not possible


  • Provide the output of the Console log output when you experience your issue; if applicable:
    (Please use weblog 4 for more debug information)
  Console output here: Not possible


TO REPRODUCE

Steps to reproduce the behavior:

EXPECTED BEHAVIOUR

After any sort of power failure or fluctuation, the device retains its configuration and resumes work once stable power has been restored

SCREENSHOTS

Screenshot_20200718-035937

@digiblur
Copy link
Contributor

Have you tried a different browser/device?

@ascillato2 ascillato2 added awaiting feedback Action - Waiting for response or more information troubleshooting Type - Troubleshooting duplicated Result - Duplicated Issue labels Jul 18, 2020
@thucar
Copy link
Author

thucar commented Jul 19, 2020

@digiblur Yes, I have tried from three different devices - android phone, iPad and PC. There is no difference that I can see.

@ascillato2 Please link the original issue too. I can not find one that this is duplicate of. Maybe there is more information for me on the original issue discussion.

@taste66
Copy link

taste66 commented Jul 19, 2020

CAn you acces the 'Reset configuration' menu? Alternatively you could try to reset via teh console using the menu 'reset 2' This will erase all configuration and you start with the firmware defaults again. Lastly you could try press the button for 40s to get the same results.

@thucar
Copy link
Author

thucar commented Jul 20, 2020

I can not access the "Reset configuration" menu. The only part of the UI I can access is the WiFi setup you usually see when you've first flashed Tasmota on a device. And that part of the UI has messed up CSS as you can see from the screenshot above.

I have tried resetting the devices by keeping their button depressed for 40 seconds but that does not make any difference as well. The devices remain in the same state - their AP is up and running but once I connect, I am unable to configure their WiFi.

@stefanbode
Copy link
Contributor

I have seen a similar very rare event where the CFG got messed up due to whatever event. In this case you're a bit in trouble. Anyhow the reset 1 or reset 2 is also available as a REST message you can send to your device.

for example: http://192.168.178.127/rt?non=

just replace the IP-Address

@yoav1000
Copy link

I have seen a similar very rare event where the CFG got messed up due to whatever event. In this case you're a bit in trouble. Anyhow the reset 1 or reset 2 is also available as a REST message you can send to your device.

for example: http://192.168.178.127/rt?non=

just replace the IP-Address

Can we use the flash area reserved for update to backup configuration and create some sort of sanity check/ journaling?

@thucar
Copy link
Author

thucar commented Aug 1, 2020

I have seen a similar very rare event where the CFG got messed up due to whatever event. In this case you're a bit in trouble. Anyhow the reset 1 or reset 2 is also available as a REST message you can send to your device.

for example: http://192.168.178.127/rt?non=

just replace the IP-Address

Unfortunately this does not seem to work. I tried connecting to the devices AP's and sending http://192.168.4.1/rt?non=
No response and no change in the device behavior.

@ascillato2
Copy link
Collaborator

Unfortunately this does not seem to work.

Sorry, seems that your device has a problem in its memory. A full erase may solve your problem but if the root of the issue was a hardware memory failure, it can happen again. It would be good to use that device in something not critical.

Only solution seems to be to flash all devices again over serial.

Agree. You should erase all flash and flash by serial in order to try recovering your device.

@thucar
Copy link
Author

thucar commented Aug 2, 2020

@ascillato2 I do not believe it very likely that all 6 of those devices experienced a hardware memory failure. I'm not so much worried about a solution on how to fix the devices at this time, but more about if it could happen again.

If all devices in my house can get reset like that, even if it is once in a blue moon kind of thing, then that means Tasmota is not a firmware that is safe to be used in anything that is remotely critical.

@thucar
Copy link
Author

thucar commented Aug 22, 2020

Just for the sake of completion, I'm in the process of re flashing the faulty devices and it occurred to me that I can grab the web UI source. Maybe it reveals something to those who know what to look for.

https://pastebin.com/qhdphdrK

@arendst
Copy link
Owner

arendst commented Aug 22, 2020

It confirmes corrupt settings as it was about to display it's module name but found all positions set to 0xFF meaning erased data.

Once up and running again pls report your FlashChipId. Ids of 0x146085 (Puya) and 0x164020 (XMC) are known to be problematic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting feedback Action - Waiting for response or more information duplicated Result - Duplicated Issue troubleshooting Type - Troubleshooting
Projects
None yet
Development

No branches or pull requests

7 participants