Issue with Terminal

Haha,
I didn’t understand the issues was the history :joy:

Same issue I am having, will wait for the fix
Android Phone

Any news when this may be fixed?

Probably best to track it’s progress here:

Pete.

2 Likes

I see this issue was closed, however the problem still remains as originally reported. There is a comment “No work …” Does this mean it will only be solved much later?

I think it’s interesting that the plans for the web console include “Console to send/capture prints from the device (similar to Blynk 1.0) Terminal Widget”

I wonder if that implies that a different approach is being considered for a console, and if that includes either a mobile widget, or changes to the mobile app to add a console view?

The Terminal Widget seems to be firmly placed in the Blynk Legacy category though.

Pete.

Please blynk team activate the feature to save events on the terminal it is very important I use it in all my projects

@ebda3 I’ve moved your post into this topic, as I assume that this is what you were referring to, and we don’t need multiple topics on the same subject.

Pete.

Thank you Pete, I searched before making a new post but couldn’t find this

Hi Pete, your comment

Just a thought, why then is the Terminal Widget offered in Blynk 2.0? My feeling is either fix the problem or remove it from Blynk 2.0 At the moment it can’t be used reliably.

I assume that it was migrated to give some ‘starting point’ widgets in Blynk IoT.

I’m not aware of any reliability issues.
The terminal widget doesn’t retain its history when you navigate away from the app, but as far as I’m aware it does reliably display any data sent to it when it has the focus.
I guess it depends on what your use-case is for the widget
For me, I’ve only ever used it as a way of displaying serial output when remotely debugging devices, and for that situation it works fine.

I think the bigger gap in functionality comes from having no Table widget, and a limit of 100 events (which could be uses as an alternative) per day.

Pete.

OK maybe a bad choice of word… it does not retain it’s history. You may use it as a debugging device, however my user case is somewhat different. I use it to track power usage day by day and on a month to month basis and display the info on a Billing TAB.

I was using the terminal widget to show/log daily total watering info. Now, I am (have to) using notifications page for that. Not the best solution but it is worked for me.

You can use value displays and virtual pins for every line. You need like 18 virtual pins, value displays and some text widgets.

1 Like

Thanks. As you say not the best solution…
The best solution is that Blynk just fix the widget retain problem.

Came up with a solution! I added a TERMINAL REFRESH button :grin:
I see there is a PAGES Widget, not sure how it works at this stage. Maybe something to consider.

2 Likes

So, just to clarify for the benefit of others, are you saying that you’ve added a button which triggers code which will clear the existing contents of the terminal widget, and re-send the data so that it can be re-displayed?

Pete.

Quite correct Pete.

(what is the symbol called to quote a snippet of code?) I will then clarify

If you mean triple backticks, they look like this…
```

Pete.

Setup Terminal Widget

//...........................................................................................................................
//Widget Definitions
//...........................................................................................................................
WidgetTerminal terminal(V43);

Code to refresh the Terminal.

//...........................................................................................................................
// TERMINAL_REFRESH_BUTTON 
//...........................................................................................................................
BLYNK_WRITE(V42){ 

  if (param.asInt() == 1) Terminal_Refresh ();
 
}

Code for the Terminal

//...........................................................................................................................
//Blynk Terminal
//...........................................................................................................................
void Terminal_Refresh () {
  
  terminal.clear();
 
  //your Terminal code here

  terminal.flush();
}
1 Like

But this is not a solution to the problem.
The terminal does not save information.
Store it in Arduino and send it every time?
Personally, I kept logs there.
I did not find a replacement for the terminal.
And without this feature, it makes no sense to upgrade to the new version of Blynk.
Maybe someone solved this problem?