@artale/pi-serial
v1.0.1
Published
Hardware/IoT interface. List serial ports, identify devices (Arduino, ESP32, 3D printers), send/receive data, monitor sessions.
Maintainers
Readme
@artale/pi-serial
First Hardware/IoT package in the pi ecosystem.
List serial ports, identify connected devices (Arduino, ESP32, Raspberry Pi Pico, 3D printers, GPS modules), send/receive data, monitor sessions.
Install
npm install -g @artale/pi-serialFeatures
- Auto-detect serial ports — Windows (PowerShell CIM), Linux/Mac (/dev/tty*)
- Device identification — matches USB VID/PID against 10 built-in profiles
- Command reference — shows known commands per device (G-code for 3D printers, AT for modems)
- Session logging — all serial activity logged to
~/.pi/serial/ - Custom device profiles — add your own devices to
~/.pi/serial/devices.json
Tools
- serial_ports — List available ports with device identification
- serial_send — Generate send command for a serial port
- serial_monitor — Generate monitor command for continuous reading
Commands
/serial ports— List detected serial ports/serial devices— Show known device profiles/serial monitor <port> [baud]— Monitor instructions/serial send <port> <data>— Send data instructions/serial log— Session activity log
