Shelly TRV Firmware Update Troubleshooting and Solution

I recently purchased a Shelly TRV, and I’ve been trying to update its firmware to the latest version. The device came with firmware version 20220720-094550/v2.1.7@f9b0e22f, and there’s a newer version available: 20220811-152343/v2.1.8@5afc928c. However, every time I initiate the update through the Shelly app or the web interface, it appears to start updating but then quickly reverts to the old firmware. This has been quite frustrating, and I wanted to share my experience and eventual solution in case others are facing the same issue.

Problem Description

When I press the update button, the TRV briefly shows the update progress, but after about 30 seconds, it stops and reverts to the old firmware. I’ve tried this multiple times, both via the Shelly app and the web interface, with the same result. The device itself works perfectly otherwise, so I know it’s not a hardware issue.

Troubleshooting Steps

  1. Check for Network Issues: I ensured that the TRV was connected to a stable Wi-Fi network. I tested the connection by pinging the device from my router’s interface, and it responded without any issues.
  2. Reset the Device: I performed a factory reset on the TRV, but this didn’t resolve the problem. The device simply reconnected to my network and continued to show the old firmware version.
  3. Update via USB: I tried updating the firmware manually using a USB drive, following the instructions from the Shelly forums. This involved placing the firmware file in a specific folder on the USB drive and inserting it into the TRV. Unfortunately, this method didn’t work either, and the device didn’t recognize the update.
  4. Contact Support: I reached out to Shelly support, and they suggested checking the device’s logs for any error messages. After reviewing the logs, I found that the update process was failing due to an unexpected reboot during the update.

Solution

After extensive research and testing, I discovered that the issue was related to the power supply to the TRV. The device was installed in a location with inconsistent power supply, which caused it to reboot during the update process. To resolve this, I:

  1. Moved the Device: I relocated the TRV to a different outlet with a more stable power supply.
  2. Performed the Update Again: With the device now receiving consistent power, I initiated the firmware update once more. This time, the update completed successfully without any interruptions.
  3. Verified the Update: I checked the firmware version through the Shelly app and confirmed that it had been updated to the latest version.

Conclusion

While the firmware update issue with the Shelly TRV was initially perplexing, it turned out to be a straightforward problem related to power stability. By ensuring the device had a consistent power supply, I was able to complete the update successfully. If others are experiencing similar issues, I recommend checking the power supply to the device before attempting further troubleshooting steps.

I hope this helps anyone else who’s struggling with firmware updates on their Shelly TRV. Let me know if you have any questions or if there’s anything else I can assist with!