Skip to content

Ping server to verify connection still exists.#11298

Merged
pvizeli merged 1 commit into
devfrom
ping-cloud
Dec 26, 2017
Merged

Ping server to verify connection still exists.#11298
pvizeli merged 1 commit into
devfrom
ping-cloud

Conversation

@balloob
Copy link
Copy Markdown
Member

@balloob balloob commented Dec 24, 2017

Description:

Send a ping to the Cloud server when no messages have been received for 60 seconds.

Example entry for configuration.yaml (if applicable):

cloud:

Checklist:

If the code does not interact with devices:

  • Local tests with tox run successfully. Your PR cannot be merged unless tests pass
  • Tests have been added to verify that the new code works.

@pvizeli
Copy link
Copy Markdown
Member

pvizeli commented Dec 25, 2017

You can simple use the heartbeat option on ws_connect

@balloob
Copy link
Copy Markdown
Member Author

balloob commented Dec 26, 2017

@pvizeli lol that's so much easier. I'll do that.

@pvizeli pvizeli merged commit 7a600ea into dev Dec 26, 2017
@pvizeli pvizeli deleted the ping-cloud branch December 26, 2017 09:59
@balloob balloob mentioned this pull request Jan 11, 2018
@home-assistant home-assistant locked and limited conversation to collaborators Mar 30, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants