Button works from Iphone 7 but not from my LG G3

hi guys
i’m using WEMOS D1 mini pro board.
i added button switch widget on my blynk app.
i run the app from my iPhone 7 and from my LG G3.
only my iPhone can toggle the state of the pin, when i do it on my LG G3 state will not toggle, or other words the button
isn’t working on my LG G3
i re installed blynk app on my LG G3 but didn’t help
appreciate any help
thanks
eli

Generally things work better with Android than iOS as the latter is missing some functionality.

Can we see your sketch and Serial Monitor?

Hello. We have the issue with PWM pins in the latest Android release. Working on fix.

1 Like

thanks but the issue is with the Android , not iPhone :).


/* Comment this out to disable prints and save space */
#define BLYNK_PRINT Serial


#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
#include <TimeLib.h>
#include <WidgetRTC.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "ggggggggggggg";

// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "rtrtrt";
char pass[] = "xxxx";

WidgetLED led1(V1);

BlynkTimer timer;
WidgetRTC rtc;


// V1 LED Widget is blinking
void blinkLedWidget()
{
  if (led1.getValue()) {
    led1.off();
    Serial.println("LED on V1: off");
  } else {
    led1.on();
    Serial.println("LED on V1: on");
  }
}

void setup()
{
  // Debug console
  Serial.begin(9600);

  Blynk.begin(auth, ssid, pass);
  // You can also specify server:
  //Blynk.begin(auth, ssid, pass, "blynk-cloud.com", 8442);
  //Blynk.begin(auth, ssid, pass, IPAddress(192,168,1,100), 8442);
  rtc.begin();
  timer.setInterval(1000L, blinkLedWidget);
}

void loop()
{
  Blynk.run();
  timer.run();
}

I know that, I was just commenting that’s it’s rare for Android to be worse than iOS.
Looks like Blynk are working on a bug fix for Android.

@elibt do you have the button tied to a real pin as they don’t appear in your sketch?

@Dmitriy should Virtual pins work OK?

yes.

thanks a lot
yes, the virtual pin works on both iPhone and android
i tied the switch to 3 different pins each time (D5,D6,D7) and i measured with DVM the output voltage
when i used my iPhone i saw it goes to 3.3V when pressed on and goes to 0V when pressed off.
when used android the voltage didnt change, stayed at 0V
many thanks
eli

1 Like

We had released a fix for PWM button issue. It should be available to download soon.

1 Like

thx