Android Open Beta. Version 2.27.2

Good day Alex

I have had no luck with the notification widget with regard to sound. My notification appears on the screen but no sound is heard. I have set the sound to beep-beep as indicated in the picture i uploaded above. i have sent through log files. Please help.

Regards
Alli

I’ve uploaded a new build with more log for your issue, I could not reproduce it( So please reproduce with the new update and send me the log again.

@Gunner I’ve changed pause/resume logic for video - please check new beta update.

I have reproduced it and sent log files with the latest update available on the play store. Did you receive my email?

I had just uploaded a new build with more logs for notification to debug your issue, as the current log is not helping. Yep, I’ve received it, but I need logs from the build that will be available in several hours.

Okay thank you. I will look for the update and try it out. Thanks.

1 Like

Hello Alex

I have tested my project out with the new update and still do not have sound when the notification occurs. Also, i noticed that the notification to indicate that the project went offline is not occurring i.e no notification is produced when the project goes offline. I have sent the log files to you. Thanks.

1 Like

I’ve received the logs - looks like app set ups sound correctly, but I have no idea now why it is not playing, does other pushes works correctly (not via BLE)?

@Gunner have you tried new beta build for your video widget’s issue?

I will try using a WIFI comms setup and come back to you. Thanks.

Alex

I have successfully used the notification widget via a WIFI connection to Blynk but not with BLE. I have sent log files using both. I hope you that is helpful to you

Alli

Yes… not sure what I am looking for. Now it (the latest Beta App) doesn’t seem to want to display anything on my primary development emulator (NOX android 5.1.1) , In fact the Video Widget tends to lock up the App itself at times :frowning: The emulator is not setup for emailing logs, sorry.

But the Video Widget seems to function OK on my other phones and tablets… Still takes time to respond upon returning to App, but seems to return more often than not.

1 Like

:thinking:

07-028004

Yep, there are issues with video widget’s ANRs in some cases, according to google play’s log, I hoped to fix them with ExoPlayer RTSP solution, but it is still not released(

Alex

I have just realised that, with the WiFi connection, the notification does not occur when the push button widget is switched ON and also when one of my sensors is connected to my controller. A notification only occurs when the project comes online and goes offline

Using BLE however, the notification bar comes up indicating this that the sensor is connected and when the PB widget is switched on it also indicates this, but there is not sound or phone vibration in each case.

It seems the notification feature not working correctly.
Here my code for the PB widget:

BLYNK_WRITE(V11) //Button Widget is writing to pin V11
{
int pinData = param.asInt();

    if(pinData==HIGH){
    
        digitalWrite(D7, HIGH);
        Blynk.notify("The LED is ON"); 
    
    }
    else
    digitalWrite(D7, LOW);

}

Heres my code snippet for the wind sensor detection notification

if(digitalRead(DetectPin2) == HIGH){ //To detect if the windsensor is connected to the weather station

    if (WindsensorConnected == 0){                          //Setup windsensor only the first time after it is detected
    
        WindsensorSetup();
        WindsensorState="Connected";                                  
        Serial.println("Windsensor is connected and setup is complete");    
        if(WindsensorConnected=1){
        Blynk.notify("The wind sensor is connected"); 
        
        }
   
    }

I have sent the log files as promised. Hope it helps.

Hello Alex

Is there a way to enable the RTC with BLE? Since the RTC will receive the time and date from the Blynk server, and since any device using Blynk has to be connected to Blynk servers regardless of their connection type (WiFi or BLE), would it be possible to enable the RTC for BLE? I have a program that works well with WiFi, i just need Blynk to send me the time on its server and ill be to use it on my hardware using this sketch example i adapted from github:

int Day, Month, Year, Hours, Minutes, Seconds, Weekday;

BlynkTimer timer;

void requestTime() {
Blynk.sendInternal(“rtc”, “sync”);
}

BLYNK_WRITE(InternalPinRTC) {
long t = param.asLong();
Serial.print("Unix time: ");
Serial.print(t);
Serial.println();

Seconds=Time.second(t);
Minutes=Time.minute(t);
Hours=Time.hour(t);
Day=Time.day(t);
Weekday=Time.weekday(t);
Month=Time.month(t);
Year=Time.year(t);
Serial.printlnf(“Date: %i-%i-%i \nTime: %i:%i:%i \nWeekday: %i”, Day, Month, Year, Hours, Minutes, Seconds, Weekday);

}

void setup()
{
// Debug console
Serial.begin(9600);
Serial1.begin(9600);
Blynk.begin(Serial1, auth);
Serial.println(“Testing time and date capability via BLE”);
timer.setInterval(1000L, requestTime);
}

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

}

I merely want to take the time and date information and send it to my hardware. Is there an alternative method to do this that does exist if the RTC is not applicable for a BLE connection?

New 2.27.2 build soon be available on Google Play in release and beta. Changes from the latest build:

  • support in Menu widget for one item via set property command
  • better text size for Tabs widget and action bar’s title - they should look better on tablets now or any other huge screen devices
1 Like

In new beta build, that will be available in several hours, there is support for Blynk.sendInternal(“rtc”, “sync”) for BLE/BT connection, but it hasn’t been tested well.

2 Likes

I just installed the beta for the first time… to try out the singular menu item fix

My tabs are now all blank (as if they have black text labels)
in design mode I see color selections for the tabs and text has a green dot but I cant select any colors in that area (color/text/active text/underscore)

Android 8.1

when menu is set to zero (showing hint) and there is one item in the menu list, we need to be able to activate the picker to pick the single item.

Demonstration code:

  BlynkParamAllocated items(10);
  Blynk.virtualWrite(V0,0); // force hint text to show
  items.add("A"); // only one item
  Blynk.setProperty(V0,"labels",items);  // picker cant be activated to select "A"

Yup! Mine are blank too! And I can’t change colours- colour picker not responding.

1 Like