I see… so Requests are akin to Blynks HTTP RESTfull API??
I have never used it… but here is the “instructions” for such…
You might be able to extrapolate from that.
I had thought you meant via a script…
As for python examples, such as it is… This shows Uptime; Turns on and off a physical and virtual LED with a virtual button; Flashes another virtual LED every two seconds; And updates a Value display with a number every five seconds.
# Initialize Blynk
blynk = BlynkLib.Blynk(BLYNK_AUTH)
# Register Virtual Pins
if int(value) == 1:
# this widget will show some time in seconds..
blynk.virtual_write(2, time.ticks_ms() // 1000)
while cntr > 0:
cntr += 1
# Start Blynk (this call should never return)