Skip to content

Commit

Permalink
Remove useless ping on mqtt
Browse files Browse the repository at this point in the history
  • Loading branch information
titilambert committed Aug 27, 2017
1 parent 0a15152 commit 70f123e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tuxeatpi_common/initializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,6 @@ def run(self):
# start mqtt client
self.component._mqtt_client.run()
self.component._mqtt_sender.run()
# Send first alive request
# TODO Add state to alive request
now = time.time()
data = {"arguments": {"component_name": self.component.name, "date": now, "state": "INIT"}}
message = Message("global/alive", data)
self.logger.info("Send alive request")
self.component.publish(message)
# Load dialogs
if not self.skip_dialogs:
self.component.dialogs.load()
Expand Down

0 comments on commit 70f123e

Please sign in to comment.