Skip to content

Python utility to listen, timestamp and log data received from a serial port.

License

Notifications You must be signed in to change notification settings

DancingQuanta/serial_listener_logger

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serial Listener and Logger (SeLL)

Simple Python script to listen for messages on a serial port, timestamp every line and save it to a file named by the date.

The settings.txt file gives the required information to the script using the following format:

<SERIAL PORT ADDRESS>,<BAUDRATE>,<PARITY>,<BYTESIZE>,<EOL char>
<DATA SAVE PATH>
<short(YYYYMMDD.tsv)/long(YYY-MM-DD.tsv) data filename>,<UTC or local for the timestamp>
<compress data? 1 == YES>

The naming of the stored files follows the settings flag short/long.

Modules required

  • pyserial
  • time
  • subprocess
  • logging

License: MIT

See license file

About

Python utility to listen, timestamp and log data received from a serial port.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 71.2%
  • Makefile 28.8%