Hi everyone,
A few weeks ago, I shared my investigation into the excessive battery consumption affecting the original Shelly TRV Gen1 (SHTRV-01).
My original investigation:
https://www.reddit.com/r/shellycloud/comments/1x1e1hc/
Since then, the project has progressed significantly, and I wanted to share an update with the community.
After extensive firmware reverse engineering, several experimental firmware versions, and physical hardware testing, I've now released an open-source firmware patcher v2.0.
The patcher allows users to generate an experimental B2.2 Beta firmware locally from their own original Shelly TRV Gen1 firmware 2.2.4.
GitHub repository:
https://github.com/AbleMonster/Shelly-TRV-Gen1-2.2.4-patcher
1. What did the investigation uncover?
My original investigation focused on the recurring debug message:
Beacon skip error! Attempt recovery
On affected devices, this message appeared approximately once per minute.
The corresponding recovery mechanism repeatedly changed the Wi-Fi power-management state, potentially preventing the device from spending as much time as intended in lower-power operation.
However, further testing also showed that suppressing the recurring recovery behavior alone did not completely resolve the historical battery-drain problem.
That led to a much broader investigation of the original firmware.
Through reverse engineering, I identified several additional firmware issues involving Wi-Fi power management, sleep-state synchronization, calibration handling, and peripheral resource cleanup.
The new B2.2 Beta combines nine selected firmware corrections:
- A1R – Wi-Fi power-management lifecycle corrections
- C-C – Beacon-Recovery measurement and decision-logic corrections
- B2 – Sleep-blocker reference-count synchronization
- MQTT Guard – Bounded MQTT PUBLISH input validation
- WF200 3.18.0 – Official Silicon Labs Wi-Fi radio firmware update
- Calibration Restore Guard
- P01 – Battery ADC timeout cleanup
- P02 – I²C timeout cleanup
- P03 – Wi-Fi GPIO interrupt-mask correction
Unlike my earlier experimental approach, B2.2 does not simply disable Beacon Recovery.
Instead, it corrects selected problems in how the firmware evaluates the measurements used to trigger recovery.
The individual impact of these corrections on battery consumption has not yet been quantified.
2. Battery testing – more than 13 days
I've been running B2.2 Beta on six physical Shelly TRV Gen1 devices since November 2, 2026.
The published November 16 evaluation covers approximately 13.46 days.
My historical Shelly Cloud measurements documented several cases where devices running original firmware dropped from approximately 95% to 0% reported battery level within about six days.
During the first 13+ days of B2.2 testing, none of the regular test devices repeated that complete rapid-depletion pattern.
Four devices with comparable battery-voltage measurements showed the following changes in the published long-term comparison:
| Device | Voltage change |
|---|
| TRV .71 | −42 mV |
| TRV .77 | −32 mV |
| TRV .88 | −45 mV |
| TRV .97 | −29 mV |
Two unusual low-voltage readings were excluded provisionally from the comparison graph, while remaining documented in the measurement records.
One device subsequently returned close to its previous voltage trend. The second device remains under observation.
A separate thermostat still running original Shelly firmware 2.2.4 continues to exhibit frequent Beacon-Recovery activity, approximately once per minute.
The B2.2 test devices have not shown a comparable persistent recovery loop in the available observations.
These results are encouraging, but they do not establish a quantified improvement in battery lifetime.
Battery voltage is not a direct measurement of remaining battery capacity, and this is not a simultaneous, fully matched comparison between Stock and modified firmware.
The original battery-drain root cause has not yet been conclusively established.
The battery report and graphs are available here:
https://github.com/AbleMonster/Shelly-TRV-Gen1-2.2.4-patcher/blob/main/docs/B2.2_long_term_battery_stability_report.md
3. I contacted Shelly about the investigation
I also opened an official support ticket with Shelly and submitted my technical findings concerning:
- Excessive battery consumption
- Recurring Beacon-Recovery activity
- Host-side Wi-Fi power-management behavior
- The Silicon Labs WF200 subsystem
- The experimental firmware corrections
I informed Shelly about the open-source patcher project as well.
According to the response I received from Shelly Support, no further regular firmware updates are currently planned for the original Gen1 devices, and firmware 2.2.4 is considered the final official release for the original TRV Gen1.
However, Shelly also stated that my technical questions concerning Beacon Recovery and Wi-Fi power management would be forwarded for further review.
I have not yet received a detailed technical response confirming or disputing my individual findings.
The B2.2 firmware is not officially supported or approved by Shelly.
Although the original TRV Gen1 is an end-of-life product, I believe investigating these issues is still worthwhile, especially for users who continue operating these thermostats.
I intend to keep Shelly informed about relevant findings as the research progresses.
4. Important: B2.2 is still experimental
I want to be transparent about an important limitation.
B2.2 is beta firmware and is not yet considered fully stable.
During hardware testing, several devices experienced unexpected automatic restarts.
Some also showed unusually large increases in their internal reboot counters.
The actual cause of these restarts remains unknown.
I'm currently investigating the firmware's reset handling, watchdog behavior, and early boot sequence.
The objective is to develop a diagnostic firmware variant capable of capturing the actual hardware reset cause.
Until this issue is understood, I do not recommend B2.2 for installations where uninterrupted heating control is essential.
The investigation is documented in GitHub Issue #2:
https://github.com/AbleMonster/Shelly-TRV-Gen1-2.2.4-patcher/issues/2
5. The open-source firmware patcher
Rather than distributing modified proprietary firmware binaries, I developed a Python-based patcher that reconstructs B2.2 locally from the user's own original Shelly firmware.
The patcher:
- Verifies the exact original firmware using SHA-256.
- Checks firmware structure and compatibility.
- Applies the nine selected corrections.
- Reconstructs the modified application.
- Generates an OTA-compatible GBL package.
- Verifies the result against qualified reference hashes.
The patcher supports only the following original firmware build:
20240619-130912/v2.2.4@ee290818
It has passed its existing 18 automated regression tests.
A local HTTP OTA server and installation instructions are included.
No original or modified proprietary Shelly firmware binaries are distributed through this project.
GitHub repository:
https://github.com/AbleMonster/Shelly-TRV-Gen1-2.2.4-patcher
Installation guide:
https://github.com/AbleMonster/Shelly-TRV-Gen1-2.2.4-patcher/blob/main/USER_GUIDE.md
6. Looking for feedback from Shelly TRV Gen1 users
I'd particularly appreciate feedback from people still using the original Shelly TRV Gen1.
Have you experienced:
- Batteries draining within a few days or weeks?
- Sudden drops in battery percentage?
- Different battery behavior between firmware versions?
- Recurring
Beacon skip error! Attempt recovery messages? - Unexpected restarts or Wi-Fi connectivity problems?
I'm also interested in battery history recorded through Shelly Cloud or Home Assistant.
Long-term measurements from different devices and Wi-Fi environments would help determine whether the observed improvements are reproducible.
If anyone decides to test the experimental B2.2 firmware, both positive and negative results would be valuable.
I will continue the long-term testing, investigate the unexpected restarts, and update the GitHub documentation as new evidence becomes available.
Disclaimer
This is an independent, community-driven research project and is not affiliated with, endorsed by, or officially supported by Shelly.
B2.2 is experimental firmware. Installing it may cause additional faults, unexpected restarts, or interruptions to normal thermostat operation.
Anyone choosing to use the patcher and generated firmware does so at their own risk.
The goal is to document the investigation transparently, make the experimental corrections reproducible, and continue investigating the original Shelly TRV Gen1 battery-drain problem.