WEM3080T – How to detect a full device reboot (loss of all 3 phases) in Home Assistant?
Hello! I bought a wem3080t device, configured it, integrated it with the Home Assistant via modbus tcp, and I like everything in general. But for one of the automations, I need to track any reboots of the device (i.e. when all 3 phases lost voltage and then restored). Can you tell me how this can be done? There is a run time in the http page of the device, as I understand it, it will reset to 0 in case of a complete network outage, but it seems there is no such register in ModBus. This parameter is very important to me and it can be monitored from HA in any way (modbus tcp, http or other network method).
The support team replied to me that there is no register to display the operating time, because the device is forcibly rebooted every 24 hours and suggested checking the time of data receipt in the Home Assistant (for example, if I receive data every 2 seconds, then a timeout of 10 seconds can be considered a loss), but this option does not suit me. because in this case, any network losses or even voltage loss in the phase on which the Wifi router is running will be falsely considered a reboot, and I only need to track the complete shutdown and subsequent power-on of the device (i.e. simultaneous loss of voltage on all 3 phases, because as far as I understand, if there is at least one working phase, the WEM3080T will continue to work).
I would be very grateful for any advice.
Please upgrade the latest firmware version
https://www.iammeter.com/newsshow/firmware-upgrade-202509

OK, thanks for your suggestion.
we will discuss these requirements soon.
maybe we will add such features in our next release version.
1 add run time parameter in API and modbus /tcp register
2 remove the daily reboot
Thanks for the answer! And why do this device need a daily reboot? Was there any instability during long-term operation? Alternatively, you can add run time and, in addition to it, add a switch to the device's web control panel. When turned off, there will be no automatic reboots, and when turned on, there will be a daily reboot.
Hi, the dailiy reboot is just an feature in the first version, and it seems this feature is already not necessary.
Got it, thanks for the reply, I'll be waiting for an update with the ability to track device reboots and/or its uptime! Can you tell me when to expect it approximately? Otherwise, I don't go to the forum every day, I would like not to miss it as soon as possible :)
Yes, we have already added this feature in our latest firmware, which was originally planned for release earlier in September. However, we encountered some other issues that delayed the release. We are working to resolve these issues and will release the firmware soon.
Thanks a lot for your PR!
My colleague will test it shortly, and if everything looks good, we’ll get it merged.
Since submitting PRs helps improve IAMMETER, you can also apply for the reward points for this one (about 3000 points).
https://www.iammeter.com/newsshow/rewards-points-program-iammeter
Really appreciate your work on this!
Your PR has been merged into main, and v1.0.19 has been released.
Note that the kvarh coefficient was 1000, which has been changed.
Does the metering chip continue meter energy while the MCU reboots or do these reboots actually harm accuracy?
Hi,
-
The reboot occurs in the Wi-Fi module, not in the metering module. The metering itself is handled by the metering module, while the Wi-Fi module only communicates with it to obtain the results. You can find an introduction here:
https://www.iammeter.com/newsshow/blog-time-interval-parameter -
The daily reboot of the Wi-Fi module has been removed in the latest version. (this change is unrelated to the discussion about accuracy—it only explains the update in reboot logic.)
Don't forget to upload update to OTA server! 
My colleague will test it shortly, and if everything looks good, we’ll get it merged.
Since submitting PRs helps improve IAMMETER, you can also apply for the reward points for this one (about 3000 points).https://www.iammeter.com/newsshow/rewards-points-program-iammeter
Really appreciate your work on this!