Closed brefra closed 3 years ago
Thank you! I will try to take a look this weekend and get it in.
Hey @brefra
Thanks for doing this! I was wondering if you have looked at using the existing async_scan method. This has no timeout associated and will get you module as they are discovered. I've adapted the scan.py script in examples dir to demonstrate use.
I've seen the async_scan method. As the async_scan method only request to load the module once it will try to retrieve the module names only once too. Unfortunately the log shows the discovery fails because the 3rd part of a channel name is not getting in. So the module won't finish the loading. The workaround in this PR is to submit new name request at the first timeout to the module to try retrieve the channel names again.
Based on log supplied at #76
PR still draft, as I'm currently still testing the code changes