Blynk 2.0 there is no notification widget

Dear Blynk Team
In Blynk 2.0 there is no no notification widget so how the notification will work? Previous Blynk legency is good there is widget for notification so we can easily saw on the screen notification Blynk 2.0 where can I add notification Widget

I hope you hear me soon
Best Regards
Maaz

Hey there, check this out
https://docs.blynk.io/en/getting-started/events-tutorial

to send notification you can use blynk.logevent or automation.

Dear John
Thanks for Replying

So cannot see the notification in the mobile
Because I am working with on alarm project once alarm triger have to receive notification on the phone

I hope you hear me soon
Best Regards
Maaz

You can use the automation which is the easiest way

Last time I use automation for timer only
How to use automation for the notification the. Where i can see my all notification in my mobile ?
Notification data keep right? Or cannot same as previous just show 1time only

Best Regards
Maaz

Best Regards
Maaz

You can find notification in the automation actions. If you would like to see a notification history, then you should use the logevent instead.

Thanks for Reply sir
So when the alarm will triggered I will notification on my mobile phone how can do that use which Widget? Use notification or use logevent
I attached here screen shot this attached picture notification what I can see here ?


Best Regards
Maaz

You have to enable the automation first, when you create a datastream go to advanced settings and enable " expose to automation " and check " available in conditions and available in actions "

Ok thanks for replying
Ok after I did this
So all the notifications I can see in the Blynk iot notification bar right

Best Regards
Maaz

Yes, If you’re using the logevent.

Ok thanks for replying
Ok I will try it tomorrow so the log event how many records we can see in the notification bar

Best Regards
Maaz

Sorry I have no idea :sweat_smile:

Ok thanks
I try it tomorrow

Best Regards
Maaz

1 Like

You can also do it without using automations.

If you set up an event and enable push notifications then you’ll get a notification that’s very similar to the Blynk Legacy norifications.

The device name will appear in the notification, as well as the event name, plus whatever text you add.

This means that if you have a device called “BBQ Monitor” and an event called “Over Temperature Warning” then you’ll see a notification like this:

When you tap the notification it opens the Blynk app, and it gives you the option to show the device…

Pete.

Dear sir thanks for replying
That’s what I want sir
Tomorrow I will try
Sir can you please help me to send any examples of event code how to write event code please ?
Best Regards
Maaz

It’s all in the documentation, just have a read through.

Pete.

Dear sir thanks for replying
Ok sir I will try it tomorrow

Best Regards
Maaz

@PeteKnight
Dear sir
i read the documentation and i write the i attached here the pictures of the code can you please check and let me know the code is correct.

Best Regards
Maaz

Do you have an event called " sensor1 trigger " in your console.

Dear sir
thanks for reply
i attached her the screenshot is it correct?

Best Regards
Maaz