So now i had time to check everything and now it is running. Maybe some tuning in the position but scope now always in center position.
Problem was something in the rasperry, i did a complete reset and then it was working.

@Jarno Pannanen: Thx for your support
@Tomas Kalisch: When i have finished it completely i will post it, but for this i have to do some comments in the code ;-D

Read More...