|
@@ -154,8 +154,8 @@ class VRFController1(VRFController):
|
|
|
else:
|
|
|
utc = arrow.utcnow()
|
|
|
now = utc.to("Asia/Shanghai")
|
|
|
- ago = now.shift(seconds=-290).format("HHmmSS")
|
|
|
- later = now.shift(seconds=290).format("HHmmSS")
|
|
|
+ ago = now.shift(seconds=-150).format("HHmmSS")
|
|
|
+ later = now.shift(seconds=150).format("HHmmSS")
|
|
|
|
|
|
if ago <= self.on_time <= later:
|
|
|
if not self.device.running_status:
|