LEDs appear OFF even if turned ON

I’m upgraded now to the latest android app version. 1.11.3 and now the visualization on the LED widgets in ON status is the same on OFF status…
The LEDs remain ever in “OFF”, no one LEDs are ON even I turn it on.

@naamah75 guess you must be on Android as the Apple lovers will have to wait for the upgrade.

1.11.3 is working fine for my LED’s on Android. I do use 0 and 255 though not the high, low stuff.

Ah ok… now I’m sending 1024 for the HIGH… I must correct the code!
Thanks!

Just modified the code, now I’m sending 255 instead of 1024… but the LED remain OFF! :expressionless:

Other issue I found with the 1.11.3… cannot send string to the Terminal Widget, even I am able yet to receive from the input of Terminal.

P.S. I’ve downloaded the lastest library release 0.3.5-beta but the LED and Terminal widgets problem still remain!

Are you using Cloud or local server?

I’m using a local server, my current version is the 0.15.4

I have made some tests, and seems that the code on my Arduino cannot write values on the LED widgets, neither when I command ON or OFF, writing 1024 (or 255 or 1) and 0.
Same thing to the Terminal Widget… seems that I cannot write value on the widget.
I can make some test for you? Some ideas?

Please post your code.

Just for annotation… my code was good until the 1.11.3

void deviceON(int device, int vPin){
  String tmpStr = "[" + String(device) + ":" + String(vPin) + "]"; 
  debugMillis(F("deviceON()"),tmpStr,false,false);
  digitalWrite(device, 1);
  Blynk.virtualWrite(vPin, 1024);
}

I’ve just tryed with
Blynk.virtualWrite(vPin, 255);
or
Blynk.virtualWrite(vPin, 1);
or
Blynk.virtualWrite(vPin, HIGH);
But the LED widget still not toggle.

Also the function

void deviceOFF(int device, int vPin) {
  String tmpStr = "[" + String(device) + ":" + String(vPin) + "]"; 
  debugMillis(F("deviceOFF()"),tmpStr,false,false);
  digitalWrite(device, 0);
  Blynk.virtualWrite(vPin, 0);
}

seems to not work.

Even the Terminal widget routine not work after 1.11.3 … the BLYNK:WRITE are called, but the blynkTERM.print will not work.

BLYNK_WRITE(V31){
  String value = param.asStr();  
  debugMillis(F("BLYNK_WRITE(V31)"),value,false,false);      
  String tStr = value.substring(0,value.indexOf(' '));
  tStr.toUpperCase();
  tStr.trim();
  if (tStr.indexOf("SETDIO") >= 0) {
    modifyMode = true;
    tPin = value.substring(value.indexOf(' ')+1,value.indexOf(' ')+3).toInt();
    int tDevice = search4Device(tPin);
    if (tDevice >= 0) {
      blynkTERM.print(F("SET DIO mode PIN "));
      blynkTERM.print(tPin);
      blynkTERM.println(".");
      blynkTERM.println(F("Type HELP for info or \"DONE\" for exit config mode."));
      blynkTERM.println();
      blynkTERM.flush();  
    } else {
      blynkTERM.print(F("No device found with pin "));
      blynkTERM.print(tPin);      
      blynkTERM.print(F("!"));
      blynkTERM.println();
      blynkTERM.flush();
    }
  }
}

before I declared WidgetTerminal blynkTERM(V31);

I’ve investigated further on this case enabled the BLYNK_DEBUG… so… with the debug enabled all should work! :flushed:

this is the terminal output…

[16113] Cmd skipped:20
[16154] deviceOFF()[23:0]
[16154] Cmd skipped:20
[16173] Cmd skipped:20
[16234] deviceOFF()[25:1]
[16235] Cmd skipped:20
[16250] Cmd skipped:20
[16312] deviceON()[27:2]
[16312] Cmd skipped:20
[16327] Cmd skipped:20
[16388] deviceON()[29:3]
[16389] Cmd skipped:20
[16404] Cmd skipped:20
[16465] deviceOFF()[31:4]
[16466] Cmd skipped:20
[16482] Cmd skipped:20
[16543] deviceON()[33:5]
[16544] Cmd skipped:20
[16560] Cmd skipped:20
[16619] deviceON()[35:6]
[16620] Cmd skipped:20
[16636] Cmd skipped:20
[16696] deviceON()[37:7]
[16697] Cmd skipped:20
[16713] Cmd skipped:20