diff --git a/samil/inverter.py b/samil/inverter.py index d5b11a8..5e1813f 100755 --- a/samil/inverter.py +++ b/samil/inverter.py @@ -295,6 +295,8 @@ def find_inverter(self, advertisements=10, interval=5.0) -> Tuple[socket.socket, try: sock, addr = self.listen_sock.accept() logger.info('Connected with inverter on address %s', addr) + # Wait before sending identification request + sleep(1.0) return sock, addr except socket.timeout: pass