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 53389ca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
command: |
python3 -m venv venv
. venv/bin/activate
pip install -r requirements.txt --upgrade
pip install --exists-action s -r requirements.txt --upgrade --force
pip install -r test_requirements.txt --upgrade
pip install codeclimate-test-reporter
- save_cache:
Expand Down
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 53389ca

Please sign in to comment.