From 016d40938cf799a34ed390a68990f0d5e15ee541 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Sat, 2 Aug 2025 19:34:02 -0600 Subject: [PATCH] Adjust train speeds --- main.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/main.py b/main.py index 2f833ae..f604fec 100755 --- a/main.py +++ b/main.py @@ -1694,14 +1694,14 @@ I will be terse in my responses. res = '' if button == 'r': - res = mqtt_publish('train/control/speed', 50) - logging.info('Setting train speed to: 50') + res = mqtt_publish('train/control/speed', -300) + logging.info('Setting train speed to: -300') elif button == 't' or c == KEY_SPACE: - res = mqtt_publish('train/control/speed', 90) - logging.info('Setting train speed to: 90') + res = mqtt_publish('train/control/speed', 0) + logging.info('Setting train speed to: 0') elif button == 'f': - res = mqtt_publish('train/control/speed', 140) - logging.info('Setting train speed to: 140') + res = mqtt_publish('train/control/speed', 300) + logging.info('Setting train speed to: 300') elif button == 'b' or c == KEY_ESCAPE: current_screen = 'home'