The Wayback Machine - https://web.archive.org/web/20231116110712/https://github.com/BIPES/SerialWebSocketServer
Skip to content

BIPES/SerialWebSocketServer

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

SerialWebSocketServer

A WebSocket server to bridge WebSocket TCP/IP stream to serial port / USB-serial port. Part of BIPES Project - http://www.bipes.net.br, to allow a remote Serial-USB device, such as Arduino, PyBoard, Raspberry Pi Pico, mBed or ESP8266 to be controlled, programmed and monitored remotely from BIPES web application. Needs a PC or Raspberry Pi with Linux to run this SerialWebSocketServer.

Usage:

  1. Connect the device on the bridge device USB Port and check the device port (using dmesg, for example)
  2. Select the USB Port (USB_PORT in Python source code)
  3. Select the TCP/IP Socket Port (TCP_PORT in Python source code)
  4. Run this program (python serialServer.py)
  5. Access http://bipes.net.br/beta2/ui/, select the network option and connect to the bridge device

This code is based on PyWSocket, a "Simple WebSocket server in python. With <80 lines of code", available at https://github.com/sanketplus/PyWSocket

About

WebSocket server to bridge websocket TCP/IP stream to serial port / USB-serial port

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages