Ok I make it work !!!
The problem was in the settings tab for COntrolNEt. There is a checkbox:
Allow other script to control this extension
You need to check it and work perfectly. Thank you for your great job !
oh yeah, without that my script can't change the ControlNet image. Glad you got that fixed and if someone else has the issue I know what to suggest
I can't get it work even with this option activate :/ can you make a youtube tutorial please !
For me it worked after shutting A1111 off completely and I also rebooted my machine.