Skip to content

Commit

Permalink
fix: Incomplete seq num for V5 HEARTBEAT response
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrapan committed Dec 20, 2024
1 parent 2bff0b8 commit 067fcba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/solarman/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ async def _heartbeat_response(self, request_frame):
self.v5_start
+ struct.pack("<H", 10)
+ CONTROL_CODE.HEARTBEAT_RESPONSE
+ request_frame[5:6]
+ request_frame[5:7]
+ self.v5_loggerserial
+ struct.pack("<H", 0x0100)
+ struct.pack("<I", int(time.time()))
Expand Down

0 comments on commit 067fcba

Please sign in to comment.