Pump not switch On Blynk+NodeRed – Need Help With My Project

Hi! everyone. Thanks for accepting me into the community…

I have two applications with Blynk for home heating control.
Exchange is done with Node Red.
All values read and write correctly between the two devices, but I have a problem turning on the pump.
Node Red correctly switches the switch on status of the pump from the thermostat to the boiler, on the blynk dasbooard I see the switch commute from 0 to 1 but the pump does not switch on. And how the VirtualWrite event didn’t fire inside the code.

BLYNK_WRITE(V20)  // Manual/Auto selection
{
  if (param.asInt()==1) {
    manual=1;  
    Blynk.setProperty (V13,"color",BLYNK_YELLOW) ;  
    Blynk.virtualWrite(V13, "MANUALE");   
  } else {
    manual=0;

    Blynk.setProperty (V13,"color",BLYNK_GREEN) ;
    Blynk.virtualWrite(V13, "AUTOMATICO");
  }
}

Suggestions?!

2023-02-12 16_10_57-Node-RED _ 192.168.0.100|679×500

Read more here: Source link