nesnes / teleplot

Ridiculously-simple telemetry viewer. Plots charts in browser from any apps (bash, C++, and more!)
MIT License
112 stars 16 forks source link

Not working on Mac? #17

Open michaelberge8 opened 1 year ago

michaelberge8 commented 1 year ago

Hello,

Thank you for creating this. This is probably the only serial plotter I can find on the marketplace. So I enabled the extension from VS Code marketplace, pasted your example Arduino code, and set the baud rate and port in Teleplot, but can't get anything to show up? I click open and nothing happens.

Thanks, MB

nesnes commented 1 year ago

The issue might be in how the serial connection works in VSCode. Could you try opening https://teleplot.fr (with chrome preferably) and check if the serial port works?

michaelberge8 commented 1 year ago

I opened in Chrome and connected the correct port and selected the baud rate and still nothing..

mhaberler commented 1 year ago

see https://dev.to/unjavascripter/the-amazing-powers-of-the-web-web-serial-api-3ilc maybe enabling "Experimental Web Platform Features" is worth a try

michaelberge8 commented 11 months ago

@mhaberler That worked. Another issue is if you look at the left side of the image below the telemetry search bar, you can see that a bunch of random telemetry points are added:

Screenshot 2023-12-08 at 12 21 44 PM

Here is the code:

Serial.print(">keypad:");
Serial.println(analogRead(A2));

Only 'keypad' should show up in telemetry and not all the others. It's not a big issue but it is annoying.

tommyco10 commented 2 months ago

I can only get the VScode extension on Mac to work occasionally, generally by manipulating baud rate in the main.cpp and then attempting to get teleplot to respond to pressing the 'open' button. 1 time in 20 works...

The device is always present in the teleplot drop down menu and I can read the device in the vscode serial monitor and the Arduino IDE serial plotter. It's a shame because when I can get the extension to work, it's great.