fdebrus / Nikobus-HA

5 stars 1 forks source link

Commands Sent in Quick Succession Not Processed Correctly #2

Closed fdebrus closed 9 months ago

fdebrus commented 9 months ago

When two commands are sent back-to-back very quickly to the Nikobus home automation system using our asynchronous command handler (send_command_get_answer), the second command is not being processed. This seems to occur due to a race condition or timing issue within our command handling logic, potentially related to the acknowledgment and response handling mechanism.

fdebrus commented 9 months ago

Added a queue management system for commands