Sign inSign up

weevenetwork/serial-input

By weevenetwork

Updated over 3 years ago

Image
0

376

weevenetwork/serial-input repository overview

Serial Input

nameSerial Input
versionv1.0.0
docker imageweevenetwork/serial-input
tagsPython, Flask, Docker, Weeve
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 weeve 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 weeve agent.

Set by the weeve 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

Tag summary

Content type

Image

Digest

sha256:e5a2b35aa

Size

48.4 MB

Last updated

over 3 years ago

docker pull weevenetwork/serial-input:v1.0.0