Hi piajola,
You are absolutely right with the “int Wert1=0”. That was a volatile mistake from me.
I am still working on the problem to upload two variables to ThingSpeak. The code example you give me (analogValue = "field1=" + str(Wert1) + "field2=" + str(Wert2) )looks good but how is the right implementation for that. I try a lot variation of that but still no idea. What did you mean with str?
Thank you very much for your help.