What a shit. I have checked everything. When i set an output to 1, i made a loop to wait until the state of this channel is 1. Then i put a time.sleep(1) and when i read the state again, it comes to 0 !! I think there is a bug somewhere but it is not my job to fix that. I think i will trash this rel...