From: Benjamin Braatz Date: Wed, 14 Jul 2021 12:53:48 +0000 (+0200) Subject: Log output for graph connection establishment. X-Git-Url: http://git.graph-it.com/?a=commitdiff_plain;h=53f591db5d0021ac6913d0737346240d682ab0cd;p=graphit%2Fcontrolpi-graph.git Log output for graph connection establishment. --- diff --git a/controlpi_plugins/graph.py b/controlpi_plugins/graph.py index c4fbb0a..37c10ca 100644 --- a/controlpi_plugins/graph.py +++ b/controlpi_plugins/graph.py @@ -38,6 +38,7 @@ class Graph(BasePlugin): self._states[message['original sender']] = message['state'] async def _open_connection(self): + print f"Establishing Graph connection to {self._host}:{self._port}." (self._reader, self._writer) = await asyncio.open_connection( self._host, self._port, ssl=self._ssl_ctx) self._writer.transport.set_write_buffer_limits(0)