https://github.com/bgeneto/websocketsserialconsole
Python (tornado) serial console communication via websockets
https://github.com/bgeneto/websocketsserialconsole
Last synced: about 1 month ago
JSON representation
Python (tornado) serial console communication via websockets
- Host: GitHub
- URL: https://github.com/bgeneto/websocketsserialconsole
- Owner: bgeneto
- License: gpl-3.0
- Created: 2022-03-28T21:39:30.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-29T02:06:19.000Z (over 4 years ago)
- Last Synced: 2025-11-17T06:06:42.300Z (8 months ago)
- Language: Python
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Websockets Serial Console
Web interface for serial console writen in Python (using tornado and websockets).
User can receive and send data to a serial device.
## Install
```bash
git clone https://github.com/bgeneto/WebsocketsSerialConsole.git
cd WebsocketsSerialConsole
python3 -m pip install -r requirements.txt
```
## Usage
```bash
python3 server.py
```
Please configure your serial device and web server settings (serial port, baud rate, ip...) in `config.ini` file.
This file is created automaticaly (with default values) in the first run.
WARNING: it may be required to run this (`server.py`) script as `sudo` if using lower ports (eg. 80, 443) for the tornado web server. So install packages also with `sudo` if this is the case.