Skip to content

Commit

Permalink
debugging tcp gateway problems
Browse files Browse the repository at this point in the history
  • Loading branch information
grimmpp committed Oct 17, 2024
1 parent d7cb598 commit 18ac8ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/eltako/gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ async def _read_memory_of_all_bus_members(self):
# iterate through memory lines
for line in range(1, dev_response.memory_size):
try:
LOGGER.error("[Gateway] [Id: %d] Read memory line %d", self.dev_id, line)
mem_response:EltakoMemoryResponse = await self._bus.exchange(EltakoMemoryRequest(dev_response.reported_address, line), EltakoMemoryResponse, retries=3)
self._callback_receive_message_from_serial_bus(mem_response)
except TimeoutError:
Expand Down

0 comments on commit 18ac8ca

Please sign in to comment.