[SOLVED}Connect lxTerminal(rasbian) to terminal widget?

How can i send response of a command from rasbian LxTerminal to Terminal widget(for show on APP.?

Do you have some hardware?

1 Like
   child = exec('command',
   function (error, stdout, stderr) {
  v60.write(stdout);
   });

it’s work :heart_eyes::sunglasses:

Dear s.d.engineering,
can you give us a complete working code? It is very interested to have this way to write text messages using linux console or terminal, to Blynk terminal…

Thanks and best Regards,
Mike Kranidis

1 Like

Proudly
.

//V29 is Trigger Button AND V30 is Terminal.
v29.on('write', function(param) {
if (param[0] == '1') {
	child = exec('COMMAND that we Want STDOUT',
   	function (error, stdout, stderr) {
  	v30.write(stdout);
 	  });
	}
});

This code Write The Response of any Command on LX to App Terminal. LUCK.

1 Like