Blynk Micropython not working with XIAO ESP32C3

1.0.0 is the newest version.

It does seem to contain the log event code…

MSG_EVENT_LOG = const(64)

in BlynkLib.py, so I assume that it’s capable of logging an event, which is how Notificatiins and emails are sent in Blynk IoT.

Pete.

do you recommend any resources of how to notify in the app, i am very new to all of this!

I’m a C++ user I’m afraid.

Pete.

would there be a way to get the older version working?

No, not with Blynk IoT.

Pete.

so if i understand this right, the new one doesn’t support notificaitons?

As I said, it appears that the code to allow events to be logged (which is how notifications and emails are now triggered) appears to have been added to BlynkLib.py but I don’t know enough about uPython to know how to use this in a sketch.

Blynk IoT doesn’t support the legacy method of triggering notifications and emails, which is which is one of the reasons why you need to use version 1.0.0 of the library.

Maybe if you read this, you’ll understand more about how notifications work in Blynk IoT…

Pete.

so i have to use the subscription to notify?

I don’t understand the question.

Pete.

to use notifications and emails from the code, i have to have to Blynk subscription?

It works with the free account.

Pete.

so i might be able to trigger notifications from the app, right?

If you mean notifications in the app then yes, i’m assuming so.

Pete.

so I have been working on it, and was able to make it send a notification in C++! I think for this project I will use C++, and anyway I have wanted to get better at it. thank you for all your help!

I had one last question, is there any way to delete the notifications in the Blynk app? do they just disappear after a certain amount of time?

by the way, your a great photographer!

1 Like

I’m not sure I understand the question.
I’m an iOS user, and when you receive a notification and tap on it you get two options - “OK”, and “Show Device”. Either option will clear the notification.

Are you talking about clearing the event data from the timeline?

Pete.

Yes that is what it is! is it possible to clear it? I had know idea the event data was shown on the console!

In the web console you can go to device > three dots next to the device name and online status > Erase Data

However, this will erase all of the device data history, not just event data.

Pete.

It works! thank you so much!