Smart Life hangs/crashes when accessing data, on SOME Android devices

Discussion in 'Tuya App' started by Minimalist, Mar 18, 2024.

  1. Minimalist

    Minimalist New Member

    This is driving me crazy, as I can NOT solve the apparent software bug of SmartLife.
    I am using the same app and revision on several Android devices, even in MEmu (Windows10 emulator for Android). All my WiFi devices are correctly listed and their proprietary visual screens will open up.
    But for ONE specific device (a power socket with energy monitoring) I have run into an unsolvable issue:
    when trying to open its historic (monthly) electricity chart its sliding window gets immediately stuck, the app freezes, for good. This did NOT happen before, started on my Android tablet out of the blue, while the same app works fine on my Android mobile phones, even in MEmu. For the same device, the same function.
    And now this very issue suddenly appeared in MEmu as well! As soon as I acccess the historic data the app dies. See attached screen shot of the display when the app got stuck.
    Cache wiping, deletion of all app data, even a de/reinstallation, rebooting, NOTHING will fix this issue once it appears. I only have TWO devices left where I can access the electricity charts of this WiFi socket without a crash.
    HOW TO DEBUG? HOW TO FIX? How can this error remain and survive a DEINSTALLATION and new installation of the app? Apparently SmartLife leaves residues elsewhere in Android that cannot be accessed nor wiped. Making the app unusable even after a reboot and reinstallation right out of the store.

    What I have NOT tried yet: removing the questionable device entry in SmartLife, linking the device again. This will of course wipe ALL HISTORIC measurement results for this device for any viewer I am using, a huge data loss.

    Who can help me, who understands the mechanism behind the scenes of SmartLife, can explain and fix this massive bug in the software?
    Thanks for any useful insight and suggestion!

    TuyaHangs.jpg
     
  2. Minimalist

    Minimalist New Member

    When testing/debugging old-rev versions of Smart Life the app does not crash as described above; it displays an error message 99999.
    See attached. I reported this in the '99999 error' thread in detail.
    This is the most insane error I ever had to debug (I worked in software development for 18 years..).
    An error that after its first appearance on a specific device will remain there FOREVER, can not be removed by cache or data deletion, by a reboot or a fresh installation of the crashing app.
    The issue MUST BE REMOTE; somewhere in China on a server that tracks our machine IDs and messes with these devices for life, with no way for you to ever see your own historic data on your machine again. All while you still can see the same data on other Android machines, until they exhibit the same issue,.

    This is nasty, very very nasty..

    SmartLifeCrash2.jpg
     
  3. Stefan65

    Stefan65 New Member

    I had the same issue, viewing energy meter history totally freezes the app. This issue started happening around 15th March, it worked okay before.

    I reported it to the app support, and it took some time, but now they have fixed it, and it works again! Much gratitude for Smart Life app support for this!

    You might have to update the device list by pulling it down, but after that it should work okay. If not, please inform Smart Life app support (email address is in the Android Play store).
     
  4. Jackie

    Jackie Member

    If the Smart Life app is hanging or crashing when accessing data on certain Android devices, there are several troubleshooting steps you can take to address this issue. Here are some general steps to help resolve app-related problems:

    1. Check for App Updates
    • Ensure that the Smart Life app is updated to the latest version available on the Google Play Store. Developers often release updates to address performance issues and bugs.
    2. Clear App Cache and Data
    • Go to the device's "Settings."
    • Navigate to "Apps" or "Application Manager."
    • Find and select the Smart Life app.
    • Tap on "Storage" and then select "Clear Cache" and "Clear Data."
    • Restart the app and see if the issue persists.
    3. Reinstall the App
    • Uninstall the Smart Life app from your Android device.
    • Restart your device.
    • Reinstall the Smart Life app from the Google Play Store.
    4. Check Device Compatibility
    • Ensure that the Android devices experiencing issues are compatible with the Smart Life app. Check the app's compatibility requirements on the Google Play Store listing.
    5. Check for Android System Updates
    • Ensure that your Android devices have the latest system updates installed. Go to "Settings" > "System" > "System updates" to check for and install any available updates.
    6. Contact Smart Life Support
    • If the issue persists, consider reaching out to Smart Life's customer support. They may have specific troubleshooting steps or be able to provide assistance based on the specific devices experiencing the issue.
    7. Check for Device-Specific Issues
    • If the issue is limited to certain Android devices, it's worth investigating whether there are any known compatibility issues between the Smart Life app and those specific devices. Check for any device-specific forums or support channels for potential solutions.
    8. Report the Issue
    • If none of the above steps resolve the issue, consider reporting the problem to Smart Life's support team. Providing details about the specific devices experiencing the issue and any error messages can help them diagnose and address the problem more effectively.
    By following these steps, you can troubleshoot the hanging or crashing issue with the Smart Life app on certain Android devices. If the issue persists, contacting Smart Life's support team directly may provide additional assistance tailored to your specific situation.