Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
I have a problem when multiple threads are hitting the USB-UIRT at the same time. The following code (in the class TransmitIR) is a proposal to change the plug-in and to introduce handling of retries.
I have noticed that it seems to work (got already several entries in log due to retries) as I expected
I use my Scheduler and SunTracker and there I have multiple threads running that creates events. Many times they are issuing events that activates the USB-UIRT for transmission. If those are with too little delay, they wont be accepted.
A little "for loop" with retries has showed that it now works on the first or second retry
23:27:01 USB-UIRT: Transmit IR
23:27:02 Device is not ready!
23:27:02 Main.SB_Bathroom_ON
23:27:03 B1_ON USB-UIRT: Transmit IR
23:27:03 USB-UIRT: Transmit IR
23:27:03 Main.Garage ON
23:27:03 B13_ON USB-UIRT: Transmit IR
23:27:03 USB-UIRT: Transmit IR