Hey there
It looks very interesting, thank you for this work !
I will test it on my Antminer R4, he's supposed to come here in the next days.
For the S9k restarting problem, I can give an eye on it. I have a S9K running, I will do the test asap.
Have a nice day !