Sorry, i'm stupid. Your Code works fine. I get another Code, this was wrong and i renamed the wrong File.
But i have two Problems:
-
I need on my shutter, he is open with 0% and closed with 100%. If i change the values for UP and DOWN to my values, it would'nt work.
-
If the shutter stay on 40% and i restart it, then he run UP and after he stop, he send the V_percentage 40.
Normaly he must send the stored value in EEPROM, i think.
Thanks a lot