开云体育

Date

Re: Balancing/Prioritizing Multiple Destination/Trains for same Car #operationspro

 

On Tue, Jan 28, 2025 at 06:09 PM, Bryan Wichmann wrote:
Not to diminish any of the suggested means to balance which train(s) get the gon, but never forget the most basic principle that any problem that can be solved by just acquiring more rolling stock demands doing just that! LOL.?
Also, the length of the train could be artificially lowered at the origin to limit the number of cars it takes initially.
?
Phil


Re: Schedule + Switcher (Train) + Route + Train: Departure Time #operationspro

 

On Tue, Jan 28, 2025 at 12:19 PM, Dan Boudreau wrote:
The "day" can be anything.? You can create "Day Shift", "Night Shift" and "Graveyard Shift" when creating train schedules.
?
?
?
Dan,?
?
Once again the depths of your fore-thought in to what this programs can do continues to amaze me! TY!...TY!...TY!
?
Pete J


Re: Speed profiling #speedprofiling

 

Neil
In 128 mode Start 21 increment 21 speed steps should be good for most things
Steve G.
?


Re: Speed profiling #speedprofiling

 

Hi guys. Thanks for all you info. I have profiled about a dozen locos to date but used, let me check .... about 240 mm. I had a feeling a longer run would be better, just asked to confirm really. I have problems with the slower speeds completing even after cleaning track and wheels. Is it crucial to go through the complete 128 steps or can JMRI interpolate with say 5 step increments?

Neil W?

On Tue, 28 Jan 2025, 12:49 Ken Heywood via , <kheywood=[email protected]> wrote:
Some have used as little as 24".
I use 1000mm (approx. 39").
You need track beyond each end since the profiling routine overshoots.
That gives some room to come up to accurate speed for the higher end of the range.
?
A sage user recommended to me the following protocol.
This process helps with accuracy and limits the amount of time it takes to get full range,
?
Number of throttle steps is 128.
Run the engine in both directions for 5 or 10 minutes to warm up.
Then run the profile in segments:
?
Segment 1 Steps
Start = 21
End = blank
Steps = 21
After the run, save new.
?
Segment 2 Steps
Start = 7
End = 21
Steps = 7
After the run, merge profile.
?
Segment 3 Steps
Start = 1
End = 1
Steps = 1
After the run, merge profile.
?
If there are red warnings in the profile table afterwards, you can go back and re-run a segment then merge.
?
You'll find that running at step 1 takes a long time, that's why you do segments.
Don't worry, dispatcher interpolates between the defined steps as does the "soft consist" script.
?
--
Ken
NYNH&H, Old Colony Division, Cape Cod Branch (1949-1959)
Loconet * JMRI 5.11.1 * OSX,Win10,Ubuntu
Blog: ?
Youtube:


Re: Automatic clearing of the LocoNet slot monitor #scripting #digikeijs #loconet

 

On Jan 28, 2025, at 5:50?PM, matis_kr via groups.io <matis_kr@...> wrote:

I managed to write a script that reads information from the LocoNet monitor and analyzes it in the program console, and I managed to write a script that automatically refreshes the slot monitor after a specified time. I am unable to write code that automatically triggers socket clearing.
Here are some code snippets that might help you put together what you’re trying to do.

First, get some system objects you’ll need (assuming you have only one LocoNet connection):

connection = jmri.InstanceManager.getList(jmri.jmrix.loconet.LocoNetSystemConnectionMemo).get(0);
slotManager = connection.getSlotManager()
trafficController = connection.getLnTrafficController()

Here’s how to get a reference to a specific Slot object:

slot = slotManager.getSlot(12)

where 12 is the index of the slot. You can use that to loop over the slots.

For the things you can do with that slot, see.

E.g. to get the speed from that slot

speed = slot.speed()

Some of the calls return a LocoNetMessage. For example, writeSpeed(speed) does that. You just send that message

message = slot.releaseSlot()
trafficController.sendLocoNetMessage(message)

What else would be useful?

Bob


Bob Jacobsen
rgj1927@...


Re: Automatic clearing of the LocoNet slot monitor #scripting #digikeijs #loconet

 

On 1/28/2025 5:50 PM, matis_kr via groups.io wrote:
Good morning,
I am a modeler from Poland. I wanted to write code for JMRI that would automatically clear the LocoNet slot list as implemented by the Digitrax control panel. I have already used artificial intelligence for this, because I can't cope anymore and I lack knowledge.
In my opinion, do not do this! Clearing the LocoNet "slot table" is very rarely a "good idea"! It often confuses throttles more than they were before.

In my opinion, any JMRI "solution" for this "problem" _should never_ be committed as a JMRI "feature! If a user wants to do this, they can do it for themself only. But PLEASE, do NOT make this a JMRI "feature"!

In my opinion, this needs to be re-directed to the Digitrax-Users list, where users can give you a better understanding of how to use your Digitrax throttles so that this "problem" does not exist!


Re: Balancing/Prioritizing Multiple Destination/Trains for same Car #operationspro

 

Not to diminish any of the suggested means to balance which train(s) get the gon, but never forget the most basic principle that any problem that can be solved by just acquiring more rolling stock demands doing just that! LOL.?


Automatic clearing of the LocoNet slot monitor #scripting #digikeijs #loconet

 

Good morning,
I am a modeler from Poland. I wanted to write code for JMRI that would automatically clear the LocoNet slot list as implemented by the Digitrax control panel. I have already used artificial intelligence for this, because I can't cope anymore and I lack knowledge.

The concept is that I want the script to detect which throttles are being used. When the speed of such a manipulator is equal to "0", the time (e.g. 10 minutes) is automatically counted down, after which the slot is to be automatically cleared. Moreover, I want the slot monitor to be refreshed from time to time, because there are keypads that use 2 slots after entering the "high address", e.g. Piko Smart Control Light makes this possible.

The command station I have and use at events is the Yamorc YD7001 (Converted from digikeijs DR5000). Everything is fine, the USB connection with JMRI and the communication between the command center and JMRI are flawless.?

The plan of action is that I have a dedicated Yamorc slot monitor running with the sole purpose of sending information about the number of slots for JMRI, as this control panel detects situations where one manipulator may occupy 2 slots. Unfortunately, the Yamorc slot monitor itself does not have automatic cleaning capabilities. I would like everything to be done through the slot monitor in JMRI.?

I tried writing code to "connect" to the "Release" button on the slot monitor, but I don't know the code generated by that button so that the script automatically uses it.

I managed to write a script that reads information from the LocoNet monitor and analyzes it in the program console, and I managed to write a script that automatically refreshes the slot monitor after a specified time. I am unable to write code that automatically triggers socket clearing.

With important information
Computer: Windows 10
Java: 19.0.1
JMRI: 5.6
I write programs in notebook and save them in UTF-8 without BOM.

Regards
Mateusz Krzempek


Re: WiThrottle server doesn't work with T-mobile 5G gateway #withrottleserver

 

On Tue, Jan 28, 2025 at 01:35 PM, tdc wrote:
get the exact text
Yes, please. Details matter a LOT when trying to diagnose network issues remotely. I'd also like to see a screenshot of the About screen while connected. That will show the SSID and type.
Or, just save and post the whole EngineDriver log, which includes all of that.
--SteveT


Re: WiThrottle server doesn't work with T-mobile 5G gateway #withrottleserver

 

On 1/28/25 4:36 PM, Robert Heller via groups.io wrote:
Random thing to check; Are the phones actually connecting to the router? They
*might* just be using Cellar Data.

I did test this, I put a phone in airplane mode, then turned on wifi, and I could surf the internet.


Also: Does the T-Mobile router have two SSIDs? -- eg a local home LAN and a
"Guest" network. Normally a "home" install would not ("Guest" networks are a
common feature for *businesses* that have an internal network and also offer
"free WiFi"), but who knows what sort of "security" features T-mobile might
have setup. (A Guest network would not normally be noticed, unless you
checked the device's network connection settings.)

Just has one. T-mobile support had me create a second one (2.4gHz only) as a test, no joy there either. I deleted it.

Thanks for the ideas.

--
Tim D. Childs
tim.d.childs@...
Lansing Model Railroad Club - lmrc.org


Re: WiThrottle server doesn't work with T-mobile 5G gateway #withrottleserver

 

Random thing to check; Are the phones actually connecting to the router? They
*might* just be using Cellar Data.

Also: Does the T-Mobile router have two SSIDs? -- eg a local home LAN and a
"Guest" network. Normally a "home" install would not ("Guest" networks are a
common feature for *businesses* that have an internal network and also offer
"free WiFi"), but who knows what sort of "security" features T-mobile might
have setup. (A Guest network would not normally be noticed, unless you
checked the device's network connection settings.)

At Tue, 28 Jan 2025 13:23:48 -0800 "Steve Todd via groups.io" <mstevetodd@...> wrote:


Tim,
First debug step for EngineDriver is to enter the IP and port manually, then find and post the exact (and complete) error message here. You can find it in the EngineDriver log.
Note: I don't have T-Mobile, but I have a similar Verizon 5G device and it works fine.
--SteveT






--
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software -- Custom Software Services
-- Linux Administration Services
heller@... -- Webhosting Services


Re: WiThrottle server doesn't work with T-mobile 5G gateway #withrottleserver

 

On 1/28/25 4:23 PM, Steve Todd via groups.io wrote:
Tim,
First debug step for EngineDriver is to enter the IP and port manually, then find and post the exact (and complete) error message here. You can find it in the EngineDriver log.
Note: I don't have T-Mobile, but I have a similar Verizon 5G device and it works fine.
--SteveT
_._,_._,_

Did that, unfortunately I didn't record the exact wording but the log basically said "can't connect from ${ONEIP:PORT} to ${THEOTHERIP:PORT}". It'll be next week Tuesday before I can get back over there and get the exact text if that isn't enough to go on.


--
Tim D. Childs
tim.d.childs@...
Lansing Model Railroad Club - lmrc.org


Re: WiThrottle server doesn't work with T-mobile 5G gateway #withrottleserver

 

Tim,
First debug step for EngineDriver is to enter the IP and port manually, then find and post the exact (and complete) error message here. You can find it in the EngineDriver log.
Note: I don't have T-Mobile, but I have a similar Verizon 5G device and it works fine.?
--SteveT


WiThrottle server doesn't work with T-mobile 5G gateway #withrottleserver

 

Greetings all,

Wondering if anyone has encountered this:

Before: JMRI & WiThrottle running on a desktop PC connected to the home network, everything wireless through the router, internet connection provided by generic DSL like service. Everything works fine and has worked for several years.

Now: Homeowner switched from whatever he had before to T-mobile 5G router. JMRI PC and phones all can talk to the network just fine but now none of the wiThrottle/EngineDriver apps find the server. Even manually typing in the IP address and port gets nothing.

Many of the phones work fine on other layouts.

T-mobile tech support, to no ones surprise, could not offer any help.

I tried hardwired connection between the JMRI PC and the router, both with and without another wireless access point in between. No joy.

I was able to persuade T-mobile to give me "admin" access to the router but that was useless, there is virtually nothing you can do there.

Has anyone encountered this and have a suggestion to offer?

Thanks much.
--
Tim D. Childs
tim.d.childs@...
Lansing Model Railroad Club - lmrc.org


Re: Schedule + Switcher (Train) + Route + Train: Departure Time #operationspro

 

On Tue, Jan 28, 2025 at 12:42 AM, Pete Johnson wrote:
Since I am not too familiar with this particular tool (Dan, feel free to ring in!), I don't think the program would show the "day" anywhere it might matter, so just substitute the "day" for each shift you intend to have the switcher work.?
The "day" can be anything.? You can create "Day Shift", "Night Shift" and "Graveyard Shift" when creating train schedules.
?


Re: Speed profiling #speedprofiling

 

gs
?
Your thinking of speed matching; profiling is where you build a throttle setting/scale_speed table to driver trains at a scale speed, calculate stopping distances, consist with a softthrottle, display on a JMRI throttle and other uses.
?
At the fastest throttle setting it should be in block for 3 seconds at least.
?
In N scale, if profiling a HST125 at a speed of 200kph you need about a metre, profiling a gp7 at 65mph you need about 2 feet.
?
The most import thing is ensuring that the sensor reporting delay is the same for all sensors involved (excluding any JMRI debounce values.
?
Turn off momentum.
?
Steve G.


Re: Schedule + Switcher (Train) + Route + Train: Departure Time #operationspro

 

Dan -
?
Thanks.? That's more or less what I expected after mulling it over for a while.
?
Pete -
?
Thanks also for your thoughts.? Each shift, the Switcher needs to bring down whatever MTs are on the Ore Bins, making room for the next batch of LDs that will go up onto the Ore Bins:
  1. Monday 02:00, Limestone MTs go down to yard.? ?09:00 Ore LDs come into the yard.? 14:00, Ore LDs go up to bins.
  2. Tuesday 02:00,? Ore MTs go down to yard. ??09:00 Coke LDs come into the yard. ?14:00, Coke LDs go up to bins.
  3. Wednesday 02:00, Coke MTs go down to yard.? ?09:00 Limestone LDs come into the yard. 14:00, Limestone LDs go up to bins.
The "Ore Bin" cycle repeats itself on Thursday, Friday, and Saturday.
?
The Slag Crusher, Product Mill, and Product Yard will also be serviced by the Switcher, but each one only once per day.
?
Thanks again!
?
Best,
?
CRZ
?


Re: Speed profiling #speedprofiling

 

I don't know if there is a requirement to use a straight section of track.? I use a closed circle of N scale Unitrack with a Speedometer.? Easy to setup and take down for storage.? I have a 4 foot diameter table that works just fine.
?
Whatever the method, I think the main thing is to test and setup all of your locomotives under the same conditions.?
?
gs


Re: BDL 716 etc #digitrax

 

Plese note, I received three new DS74's and out of the box only the first turnout worked correctly. I had to update the firmware to get them to work correctly. I would suggest if your system is not seeing the devices to take a look at command station and device firmware. No problems with the BDL716 with respect to detection out of the box.
?
James M. Johnson


Re: BDL 716 etc #digitrax

 

As stated previously, the DS74 is operational in JMRI, I am using three at the moment. The BDL716 is functioning in JMRI for me for detection. I have not attempted to to use signal functions. I have all four ports for the test boards populated and they are also working. I am using the BDL716 on a speed profiling circle with 12 blocks and all is working fine out-of-the-box.
?
James M. Johnson