From 0eda6c8250bf58b94b48af0ae7bc26862bd96cf8 Mon Sep 17 00:00:00 2001 From: k4kfh Date: Thu, 13 Jul 2017 20:51:01 -0500 Subject: [PATCH] Reverting config file to defaults and adding more logging --- cfg/decoders.js | 1 + cfg/settings.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cfg/decoders.js b/cfg/decoders.js index c8cb2f3..c3a4a18 100644 --- a/cfg/decoders.js +++ b/cfg/decoders.js @@ -175,6 +175,7 @@ var decoders = { "generic": { "generic": function(address, trainPosition) { 'use strict'; + console.debug("DECODER: Using 'generic' for " + trainPosition) //GENERIC FALLBACK train.all[trainPosition].throttle = new jmri.throttle(address, jmri.throttleName.generate()); diff --git a/cfg/settings.json b/cfg/settings.json index cc0f883..ac5a3df 100644 --- a/cfg/settings.json +++ b/cfg/settings.json @@ -13,7 +13,7 @@ By default, these settings assume that ZephyrCab is running on a local JMRI ins If you'd prefer to use an external web server, set cfg.webServer to "external" and cfg.ip/cfg.port to your JMRI PC's IP and port. This is not recommended except for experienced users/developers. */ -cfg.webServer="external"; +cfg.webServer="jmri"; cfg.ip = "jmri"; //ignored when cfg.webServer is set to "jmri" cfg.port = 12080; //ignored when cfg.webServer is set to "jmri"