Updating timer values on Virtual Pin with Blynk REST Api


I’m trying to do an aquatic cooler with a function that could turn on/off with a settable parameter (It’s a Numeric Input) in a web page using the Blynk Rest API, but I don’t know how I have to send de request to set the Start and the Stop.

I was going through Blynk REST Api documentation and found this API endpoint: http://blynk-cloud.com/auth_token/update/pin?property=value

I tried updating timer property http://blynk-cloud.com/TOKEN/update/V5?startTime=66600 but it gives error - Wrong request format.

• NodeMCU with WiFi
• Android version 10
• Blynk server
• Blynk Library v0.6.1

#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>

char auth[] = "YourAuthToken";
char ssid[] = "YourNetworkName";
char pass[] = "YourPassword";

  Serial.print("Got a value: ");

void setup()

  Blynk.begin(auth, ssid, pass);

void loop()



What type of widget is attached to V5 ?


It’s a Timer widget

I don’t think set property works with the Timer Widget, at least it is not in the documented list

@Dmitriy do you have any recommendation about this topic?

I think you don’t need timer here. You can use regular pin API for values update

Yes, but in this case I need to set an hour to start and an hour to stop my cooler, I can do it with de Blynk app via Timer widget and I need to do the same via my web page using the Blynk Rest API