fdebrus / Nikobus-HA

4 stars 1 forks source link

Commands Sent in Quick Succession Not Processed Correctly #2

Closed fdebrus closed 6 months ago

fdebrus commented 6 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 6 months ago

Added a queue management system for commands