here my configuration telex.json
It is fpr testing
for standard you just need to use the parts archive and i-telex from original
and no babelfish of course.
But the # SEU-M - TW39-teletype should work.
after altering your telex.json open the byobu-screen and stop telex with ctrl+c
this stops telex.service and restarts it with new settings automaticly
Code: Alles auswählen
# Configuration examples for piTelex
# 2023-03-15
# requirements: commentjson, argparse (additional requirements per section are listed there)
#
# This file can be used as a starting point for piTelex installations using the default hardware configuration.
# Screen and log module should be enabled always for testing and debugging purposes.
# Archive module, if enabled, saves a prettyprint transcript of each connection.
#
# enable the TTY module(s) that correspond to your TTY type.
# Disable ("enable": false,) or optionally delete unused modules or entries.
#
#########################################################
# For detailed configuration infos see the wiki pages !!!
#########################################################
#
# Additional modules are described in the telex_Example_XXX.json files
#
{
"devices": {
# SEU-M - TW39-teletype with FSG using an Austrian AGT (OeAGT) with SEU-M-card as controller
# Note: SEU-M-card (with aRPi) is a replacement of a SEU-B ord SES-B-card
"RPiTTY_SEU-M_Oe_AGT-TW39": {
"type": "RPiTTY",
"enable": true,
"mode": "AGT-TW39",
"pin_txd": 17,
"pin_rxd": 27,
"pin_relay": 22,
"inv_relay": true,
"pin_power": 9,
"inv_power": false,
"pin_number_switch": 10,
"inv_number_switch": true,
"WB_pulse_length": 60,
"baudrate": 50,
"coding": 0, # 0=ITA2
"loopback": false
},
# Module type "i-Telex"
"i-Telex": {
"type": "i-Telex",
"block_ascii": true,
"enable": true,
# "port": 64321,
"centralex": true,
"centralex_srv": "tlnserv2.teleprinter.net",
"centralex_port": 49491,
"tns_dynip_number": 123456, # Subscriber number registerd at TNS
"tns_pin": 123456
},
###########################################################################
"log": {
"type": "log",
"enable": true,
"filename": "./piTelex.log"
},
###########################################################################
"archive": {
"type": "archive",
"enable": true,
"path": "archive/",
"send_email": false,
"email_sender": "54353_hoeck_d@wolfhenk.de",
"smtp_server": "mail.wolfhenk.de",
"smtp_port": 587,
"smtp_user": "username",
"smtp_password": "password",
"recipient": "spam@wolfhenk.de"
},
##########################################################################
"babelfish": {
"type": "babelfish",
"enable": false,
"openai_api_key": "sk-proj-get_your_own_api_key",
"Zielsprache": "swahili"
}
#########################################################################
},
###########################################################################
"wru_id": "54353 hoeck d",
"wru_replace_always": false,
"dial_timeout": 0,
"continue_with_no_printer": false,
"errorlog_path": "./",
"welcome_msg": false #Prints out a ed1000 style timestamp on connection
}