Sign inSign up

beetaone/serial-input

By beetaone

•Updated about 2 years ago

Image
0

162

beetaone/serial-input repository overview

⁠Serial Input

nameSerial Input
versionv1.0.1
docker imagebeetaone/serial-input⁠
tagsPython, Flask, Docker, beetaone
authorsGhassen Barbouchi

⁠Table of Content


⁠Description

This module reads data input from specified serial interface.

⁠Features
  1. Open serial of a host machine
  2. Read received serial data
  3. Forward received serial data

⁠Environment Variables

⁠Module Specific

The following module configurations can be provided in a data service designer section on beetaone platform:

NameEnvironment VariablesTypeDescriptionMandathory/Option
Serial PortPORTstringeg: /dev/ttyUSB0Mandathory
Serial Baud_RateBAUD_RATEintegerThe data baud rateMandathory
Number of data bitsDATA_BITSstringPort number for tbe brokerOption
ParityPARITYstringEnable parity checkingOption
Stop bitsSTOP_BITSstringNumber of stop bitsOption

Other features required for establishing the inter-container communication between modules in a data service are set by beetaone agent.

⁠Set by the beetaone Agent on the edge-node
Environment VariablestypeDescription
EGRESS_URLstringHTTP ReST endpoint for the next module
MODULE_NAMEstringName of the module

⁠Dependencies

requests==2.27.1
pyserial==3.5

RECOMMENDED: Make sure you have virtual environment⁠

Tag summary

Content type

Image

Digest

sha256:e86eaaaa1…

Size

49 MB

Last updated

about 2 years ago

docker pull beetaone/serial-input:v1.0.0