Power consumption of the smart socket Xiaomi Zigbee
Posted: Monday 06 April 2020 10:51
Good time of day
. Interested in solving the problem of updating the power consumption of the smart socket Xiaomi Zigbee. I have this socket involved in controlling the power consumption of the TV.
The logic is as follows: When the TV is turned on, the power consumption increases and the dzVents script starts a wi-fi relay that supplies power to the LED lights and music amplifier.
Problem: when you turn on the TV, the relay does not start immediately, since the readings are updated every 5 minutes.
Q: is there a way to reduce the time to survey the power consumption of the outlet? Or any other way out of the situation.
I have described the principle of operation on the site

The logic is as follows: When the TV is turned on, the power consumption increases and the dzVents script starts a wi-fi relay that supplies power to the LED lights and music amplifier.
Problem: when you turn on the TV, the relay does not start immediately, since the readings are updated every 5 minutes.
Q: is there a way to reduce the time to survey the power consumption of the outlet? Or any other way out of the situation.
I have described the principle of operation on the site