change ping schedule from 30s to 300s

decrease calls to robot, see if this is contributing to battery use
This commit is contained in:
bittles
2023-01-02 22:56:34 -05:00
parent cf817145a0
commit 724e167114
+1 -1
View File
@@ -474,7 +474,7 @@ class VacBot():
if not self.vacuum['iotmq']:
# _LOGGER.info("connecting to NOT bumper, xmpp server ******************")
self.xmpp.connect_and_wait_until_ready()
self.xmpp.schedule('Ping', 30, lambda: self.send_ping(), repeat=True)
self.xmpp.schedule('Ping', 300, lambda: self.send_ping(), repeat=True)
else:
# _LOGGER.info("connecting to NOT bumper, mqtt server ******************")
self.iotmq.connect_and_wait_until_ready()