This tool read the log generated information from TSN nodes. This recorded information is sended to FIVIS.
- To use it you should have
res/api_configuration.json
- Includes the following information:
- api endpoint
- token
- partner
- Includes the following information:
- Download this repository.
- Modify some data from the
res/api_configuration.json
if it is necessary. - Go to src directory
cd src
- Run
python tsn-fivis.py
inside a screen
You can change the working mode of the module using some parameters:
`usage: tsn-fivis.py [-h] [--api_config APICONFIG]
[--time_between_measure TIME_BETWEEN_MEASURE]
[--send_every SEND_EVERY]`
´Record and send monitoring hardware data to FIVIS
optional arguments:
-h, --help show this help message and exit
--log_folder SYSFILE Path of the folder that contains TSN data logs
--api_config APICONFIG Path of the .json file with the Fivis api configuration
--time_between_measure TIME_BETWEEN_MEASURE Interval of measurements in seconds
--send_every SEND_EVERY Number of measures before sending it to FIVIS`