Up to you… but there is very little support for Blynk python. Probably a bit more for Blynk NodeJS, but best support is for C++ with Arduino/ESP & Blynk.
There are a few examples… but I am not going to guess
Works fine for me… although you do have an unnecessary repeat of this command…
Only time I got a similar message was while accidently running two client scripts (my own and yours) with same Auth code (I copy pasted wrong one at first). So you may possibly be running multiple scripts in the background?
actually, i try to activate a Virtual LED when my function ‘octave’ up but I don’t have a second virtual pin, the terminal say "warning: virtual write to unregistered pin 2 "
you have an idea ? I need explication for understanding how we add a virtual pins because the fist virtual pins it’s easier for create but a second I don’t know
You already use two vPins… V1 for a control widget (slider?) & V2 for a display widget (should be set to a reading rate of 1 sec)… just use the similar commands with different pin numbers that match your App widget.
Welcome to Alpha … You have to rely on other Python tutorials via Google and lots of guessing, trial and error… this is how I am slowly learning Blynk Python.