¿ªÔÆÌåÓý


Re: jmri & Arduino DCC-EX #dcc-ex

 

¿ªÔÆÌåÓý

Yes got them off amazon together with the motor head 4 years ago , they were about ?12 in 2021

Rob

On 16 May 2025, at 06:26, andrew_pink58 via groups.io <andrew_pink58@...> wrote:

Hi Rob.
like to ask are you using a clone?Arduino.to run the locos with.
Andrew.
?


Re: jmri & Arduino DCC-EX #dcc-ex

 

Hi Rob.
like to ask are you using a clone?Arduino.to run the locos with.
Andrew.
?


Re: Principles for signal decoders (LocoNet/LCC)

 

¿ªÔÆÌåÓý

Hej

Even if a decoder is called "signal decoder" it can be a very different animal compared to other brands.
I usually talk about three categories:

1. "I/O-decoders" - the simplest type is just a I/O-decoders (or just output decoders).
It can control connected LEDs as individual LEDs, each one having it's own address.
Even though it might be called a "signal decoder", it has no concepts of signalling, just switching individual LEDs between on/off .
It needs a central controller (JMRI) to combine the LEDs to meaningful aspects and the controller might even have to keep lights blinking.

2. "Aspect decoders" - here the decoders know codes for various aspects and can be ordered to show a specific aspect with just one message.
This becomes more efficient letting the controller (JMRI) order one aspect, and then the decoder will show that combination of lights, keeping some blinking if necessary.

3. "True signal decoders" - these decoders know the concepts of signalling.
They can change aspects due to inputs from turnouts, other signals, occupancy detectors etc.
These decoders does not need a controller (JMRI) to work, and if preferred they can work more or less automatic, showing GO for approaching trains as long as the tracks behind them is free, etc.
These decoders are perfect for use on independent modules ("modules" as in Free-Mo and Fremo).
If they are controlled by a controller (JMRI) then the controller can see them as simple two aspect signals, controlling them between GO and STOP. Exactly which GO, the decoder will select depending on the situation. The controller must be prepared for the case that it orders GO but the signal refuses e.g. due to an occupied track.

If you look at LocoNet decoders, there are examples of all three categories available, so just picking a random "LocoNet signal decoder" is not enough. You have to know which category you need and check the features of the decoder you look at.

Some answers to your questions suggested that there was no "True Signal Decoders" for LocoNet, but examples of such decoders are and both using LocoNet SE-messages for the signals.

mvh/anders


Den 2025-05-02 kl. 10:45, skrev Anders W via groups.io:

Greetings!
?
I am still in the design stage for my layout, and am looking into the signaling options.
?
As I understand it, the central computer only tells a signal decoder to show an allowing aspect or not, and it its up to the decoder to determine which aspect is applicable, using status messages it has heard over the LocoNet/LCC. A signal decoder also can broadcast its new state whenever it changes aspect.
?
I have three questions:
1. Can the central computer instruct the decoder *which* aspect to display or is it only a binary go/stop order? If yes: how many different aspects can be ordered?
2. When a decoder broadcasts its new state, does it specify *which* allowing aspect it is showing, or is it only a binary go/stop? If yes: how many different aspects can be communicated?
3. In many signaling systems, a signal can give a proceed aspect for a train movement or a shunt movement. How does the central tell the decoder which of these to use? (In the signaling system I am modelling, shunting is governed by separate lights, which may be intergated into the main signal or be part of a separate dwarf/shunt signal.)
?
Thanks in advance


Re: Script does not Print to System Console on Linux laptop #scripting

 

Phil,
?
If it is important that a script force a message be printed on the System Console, the use of the logging library provides a number of useful features.??
?
A simple example in the distributed jython\test folder is named "LoggingTest.py" and several other distributed example scripts make more sophisticated use of the "org.slf4j" library.??
?
The website gives a lot more info.? Maybe more than you wanted to see, since the target audience is the JMRI Java developers.? Most of it is also useful for script developers.??
?
Cliff in Baja SoCal


Re: Script does not Print to System Console on Linux laptop #scripting

 

Phil,

If Script Output is NOT open, print output goes to the system console.?

Dave Sand?



----- Original message -----
From: "Phil in gorgeous Young Harris via groups.io" <philabernathy=[email protected]>
Subject: [jmriusers] Script does not Print to System Console on Linux laptop
Date: Thursday, May 15, 2025 9:07 PM

Howdy all.? I am working on an older HP laptop running Lubuntu Linux with JMRI 5.11.6 and Java 17.0.12.? I am writing scripts for use with my MQTT project, but I realized that I cannot print anything to the System Console in my script.?? I do get about 40 lines of messages when an error occurs, but my print statements do not show any results in most scripts.? Even when I start PanelPro from the Terminal, I do not see any results from print statements.? An exception to that is the Set-Every-Sensor-ToInactive.py script which prints
?
I was sure that I have seen items printed out on my other computers, so I figure I must have a setting or configuration set wrong on this computer.? I often used print statements to see what the script is working with (print out a variable for example).
?
Hopefully there is something I can change to make it print.? Thanks in advance for any thoughts, ideas and help.
?
Phil from gorgeous Young Harris, Georgia, USA
?
Here is the System Console when starting:
22:04:19,662 apps.util.Log4JUtil ? ? ? ? ? ? ? ? ? INFO ?- * JMRI log ** [main]
22:04:19,738 apps.util.Log4JUtil ? ? ? ? ? ? ? ? ? INFO ?- This log is stored in file: /home/phil/.jmri/log/session.log [main]
22:04:19,741 apps.util.Log4JUtil ? ? ? ? ? ? ? ? ? INFO ?- This log is appended to file: /home/phil/.jmri/log/messages.log [main]
22:04:19,799 apps.Apps ? ? ? ? ? ? ? ? ? ? ? ? ? ? INFO ?- PanelPro version 5.11.6+R1b48891fa4 starts under Java 17.0.12 on Linux amd64 v6.8.0-59-generic at Thu May 15 22:04:19 EDT 2025 [main]
22:04:20,044 t.permission.DefaultPermissionManager INFO ?- Permission file: /home/phil/.jmri/.permissions.xml [main]
22:04:20,069 t.permission.DefaultPermissionManager INFO ?- Permission system is enabled: no [main]
22:04:22,850 apps.Apps ? ? ? ? ? ? ? ? ? ? ? ? ? ? INFO ?- Starting with profile MQTT.3e352f94 [main]
22:04:22,938 jmri.util.node.NodeIdentity ? ? ? ? ? INFO ?- Using f7cdb150-c041-4957-b46a-5fd914db4bf8 as the JMRI storage identity for profile id 3e352f94 [AWT-EventQueue-0]
22:04:23,258 jmri.jmrix.mqtt.MqttAdapter ? ? ? ? ? INFO ?- MQTT starting connect with MQTTchannel = "" [main]
22:04:23,270 jmri.jmrix.mqtt.MqttAdapter ? ? ? ? ? INFO ?- Connection M is using a clientID of "MyJMRIRailJMRI2420C21CM" [main]
22:04:23,848 jmri.jmrix.mqtt.MqttPowerManager ? ? ?INFO ?- Subscribed to track/power [main]
22:04:24,525 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path program: is /home/phil/Downloads/JMRI/ [main]
22:04:24,526 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path preference: is /home/phil/Railroad/MQTT/ [main]
22:04:24,526 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path profile: is /home/phil/.jmri/MQTT.jmri/ [main]
22:04:24,527 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path settings: is /home/phil/.jmri/ [main]
22:04:24,528 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path home: is /home/phil/ [main]
22:04:24,528 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path scripts: is /home/phil/Railroad/Jython/ [main]
22:04:25,684 apps.PanelPro.PanelPro ? ? ? ? ? ? ? ?INFO ?- Main initialization done [main]
22:04:55,679 jmri.jmrit.jython.RunJythonScript ? ? INFO ?- No file selected [AWT-EventQueue-0]


Re: jmri & Arduino DCC-EX #dcc-ex

 

¿ªÔÆÌåÓý

Hi Trevor I can acces the pi only if it is connected to my network , I can view and control things via my iPad through the Jmri web server however as soon as I remove the network cable I cannot do any of the above

I put Steve¡¯s image on a larger so card and expanded the partition so I could get any updates on ?but I think the pi has had updates that lock it down further?

I have no problems installing Jmri ?and just have to check Java installs ok so ?my next plan is to use an older pi distribution and see if that functionality returns

I did try even older distributions on my pi but those could not install the various networking tools as those files are no longer available for those distributions

So I am looking for the ¡°sweet spot¡± so to speak that will give me the functionality I want

I know someone suggested attaching the pi to a router but in theory I should not need to or get an old laptop and run Jmri from that but I want to see if I can do what I want with what I have

¡®I have the bit between my teeth and not going to let go yet¡±


Rob

Pro


On 16 May 2025, at 02:03, Trevor Rowland via groups.io <trevor@...> wrote:

?
Hi Rob,
?
If I understand correctly, you are using the Pi with Steve Todd's image, connected via USB to your DCC-EX system.? Is that correct?
?
If so, Steve's image - by default - establishes a WiFi network with the Pi acting as an access point.? I can't remember the WiFi access point name, but I feel it was something along the lines of "rpi-jmri" or similar.? If you are using his image - unmodified - can you see that WiFi network when you are near your Pi?? Can you connect to that WiFi network?
?
Trevor.


Script does not Print to System Console on Linux laptop #scripting

 

Howdy all.? I am working on an older HP laptop running Lubuntu Linux with JMRI 5.11.6 and Java 17.0.12.? I am writing scripts for use with my MQTT project, but I realized that I cannot print anything to the System Console in my script.?? I do get about 40 lines of messages when an error occurs, but my print statements do not show any results in most scripts.? Even when I start PanelPro from the Terminal, I do not see any results from print statements.? An exception to that is the Set-Every-Sensor-ToInactive.py script which prints
?
I was sure that I have seen items printed out on my other computers, so I figure I must have a setting or configuration set wrong on this computer.? I often used print statements to see what the script is working with (print out a variable for example).
?
Hopefully there is something I can change to make it print.? Thanks in advance for any thoughts, ideas and help.
?
Phil from gorgeous Young Harris, Georgia, USA
?
Here is the System Console when starting:
22:04:19,662 apps.util.Log4JUtil ? ? ? ? ? ? ? ? ? INFO ?- * JMRI log ** [main]
22:04:19,738 apps.util.Log4JUtil ? ? ? ? ? ? ? ? ? INFO ?- This log is stored in file: /home/phil/.jmri/log/session.log [main]
22:04:19,741 apps.util.Log4JUtil ? ? ? ? ? ? ? ? ? INFO ?- This log is appended to file: /home/phil/.jmri/log/messages.log [main]
22:04:19,799 apps.Apps ? ? ? ? ? ? ? ? ? ? ? ? ? ? INFO ?- PanelPro version 5.11.6+R1b48891fa4 starts under Java 17.0.12 on Linux amd64 v6.8.0-59-generic at Thu May 15 22:04:19 EDT 2025 [main]
22:04:20,044 t.permission.DefaultPermissionManager INFO ?- Permission file: /home/phil/.jmri/.permissions.xml [main]
22:04:20,069 t.permission.DefaultPermissionManager INFO ?- Permission system is enabled: no [main]
22:04:22,850 apps.Apps ? ? ? ? ? ? ? ? ? ? ? ? ? ? INFO ?- Starting with profile MQTT.3e352f94 [main]
22:04:22,938 jmri.util.node.NodeIdentity ? ? ? ? ? INFO ?- Using f7cdb150-c041-4957-b46a-5fd914db4bf8 as the JMRI storage identity for profile id 3e352f94 [AWT-EventQueue-0]
22:04:23,258 jmri.jmrix.mqtt.MqttAdapter ? ? ? ? ? INFO ?- MQTT starting connect with MQTTchannel = "" [main]
22:04:23,270 jmri.jmrix.mqtt.MqttAdapter ? ? ? ? ? INFO ?- Connection M is using a clientID of "MyJMRIRailJMRI2420C21CM" [main]
22:04:23,848 jmri.jmrix.mqtt.MqttPowerManager ? ? ?INFO ?- Subscribed to track/power [main]
22:04:24,525 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path program: is /home/phil/Downloads/JMRI/ [main]
22:04:24,526 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path preference: is /home/phil/Railroad/MQTT/ [main]
22:04:24,526 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path profile: is /home/phil/.jmri/MQTT.jmri/ [main]
22:04:24,527 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path settings: is /home/phil/.jmri/ [main]
22:04:24,528 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path home: is /home/phil/ [main]
22:04:24,528 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path scripts: is /home/phil/Railroad/Jython/ [main]
22:04:25,684 apps.PanelPro.PanelPro ? ? ? ? ? ? ? ?INFO ?- Main initialization done [main]
22:04:55,679 jmri.jmrit.jython.RunJythonScript ? ? INFO ?- No file selected [AWT-EventQueue-0]


Re: jmri & Arduino DCC-EX #dcc-ex

 

Hi Rob,
?
If I understand correctly, you are using the Pi with Steve Todd's image, connected via USB to your DCC-EX system.? Is that correct?
?
If so, Steve's image - by default - establishes a WiFi network with the Pi acting as an access point.? I can't remember the WiFi access point name, but I feel it was something along the lines of "rpi-jmri" or similar.? If you are using his image - unmodified - can you see that WiFi network when you are near your Pi?? Can you connect to that WiFi network?
?
Trevor.


Re: What's the optimum blocks in a fiddle/storage yard

 

¿ªÔÆÌåÓý

What I¡¯ve found to work is a short block at the end. This is used to stop the loco. But is the staging ONLY used in one direction? If it is usable going either way, you have to mirror the pattern of blocks. But the logic would be for when the whole track is empty, enter and go as slow as needed to be able to stop when hitting that end stopping block.

?

Next, is the end of the train detected? Resistors on wheels, lit caboose, lit FRED, something. If so, the logic for putting a second train into staging would be slow but watch for the turnout to become unoccupied. That¡¯s what is used to stop a second train into a staging track.

?

Now after the first train has left staging, the logic becomes like the original one train into staging and you advance the 2nd train slow until it gets to the stopping block.

?

If you can¡¯t detect the end of the train, it is still possible but more complicated.

?

-Ken Cameron, Member JMRI Dev Team

?

?


Re: Losing occupancy when trying to record a warrant #warrants

 

Bob, I'm not a techo but in the absence of anyone else I'll have a go...
?
So it shows as occupied on the JMRI Control Panel, does that include the train id?
--
H.O. Australia (Layout in Progress)
Digikeijs DR5000 LocoNet
JMRI v5.10 DecoderPro/Warrants/CPE/SML/LogixNG
Java: OpenLogic jre-17.0.12.7 ? Windows 10


Re: Why is LogixNG triggering on startup?

 

Oh, that is what that means. I thought it just meant that it would start listening on startup, not that it executes on startup.
?
I knew it was operator error.
--

Heath @ Human[c]ity



Re: Can a single DCC-EX CSB1 run trains AND control turnouts?

 


Found on the DCC-EX website

--
Peter Ulvestad
Linux Mint 22.1, JMRI 5.11.6, Java 21.0.7
JMRI Users Group Moderator ( /g/jmriusers )
JMRI Developers Group Moderator ( )
Tam Valley Group Moderator ( )
Sprog-DCC Group Moderator ( )
Edmonton Model Railroad Association ( )


Re: Can a single DCC-EX CSB1 run trains AND control turnouts?

 

The Discord link is invalid or expired...

On 5/14/2025 4:04 PM, Peter Ulvestad via groups.io wrote:
Your question is better suited for a DCC-EX forum




Re: Why is LogixNG triggering on startup?

 

Heath,

Uncheck Startup in the ConditionalNG list.
Dave Sand



----- Original message -----
From: "Heath @ Human[c]ity Junction" <heath@...>
Subject: [jmriusers] Why is LogixNG triggering on startup?
Date: Thursday, May 15, 2025 12:43 PM

I am assuming that the LogixNG are triggering because of the way I have them setup, so the longer question is what do I need to do to change the programming of LogxNG so that they do not execute when I startup JMRI.
?
Here is an example of one of the LogixNG that runs, that I would like to not run on startup.
?

?
Thanks in advance
--

Heath @ Human[c]ity



Why is LogixNG triggering on startup?

 

I am assuming that the LogixNG are triggering because of the way I have them setup, so the longer question is what do I need to do to change the programming of LogxNG so that they do not execute when I startup JMRI.
?
Here is an example of one of the LogixNG that runs, that I would like to not run on startup.
?
?
Thanks in advance
--

Heath @ Human[c]ity



Re: Conditionals

 

Thanks.? I think I just live the multiple logixes.? Editing the xlm-file works, but hunting the statements down in it is about as much pain as retyping the conditionals.
?
Ulrich


Re: NX routing sensor direction

 

Mike,

You have a number of issues that need to be addressed.

There are 5 crossings/diamonds that have to be made using the "Level Crossing" tool. ?

The Layout Editor "Tools -> Check -> Non-Contiguous Blocks" menu item needs to be clear before SML or NX will work correctly. ?This shows some of the level crossing issues.

The double crossover on the right side only has two blocks. ?SML and NX need three blocks for double crossovers.

After you clean up these issues, use the "Paths -> Delete Paths" menu item in the Block table. ?After doing a Store and Quit, restarting PanelPro will create new paths.

I use custom icons for NX sensors.
This way I don't have to remember which direction is which.

If you still have problems after fixing the issues, upload a new version of the layout xml file.

Dave Sand




----- Original message -----
From: "Mike Johnson via groups.io" <919.mike=[email protected]>
Subject: Re: [jmriusers] NX routing sensor direction
Date: Thursday, May 15, 2025 5:48 AM

I upload the file.
?
If I delete sensors and make changes, then I can't set up routes.
If I save, I still can't.
If I close PanelPro and restart, things are better.
If I close PanelPro and restart windows then more things work.
?
Mike Johnson
?


Locked File /ProblemsBeingWorkedOn/dsand/NX Icons.zip uploaded #file-notice

Group Notification
 

The following items have been added to the Files area of the [email protected] group.

By: Dave Sand <ds@...>

Description:
Custom icons for NX sensors.


Re: Improving JMRI response to sensors

 

Chris,

It seems when creating a new thread for logixNG that does not take
effect until you restart JMRI.

Yes.

Daniel
JMRI developer


Re: What¡¯s the optimum blocks in a fiddle/storage yard

 

I have storage lines that store two trains too - although the assumption is that they will each store one long train and one short train, as they're not long enough for two long ones.
?
I did it with three sensors -
1 - the front of the storage line, don't cross this one
2 - just after the length of my longest short train - short trains will not cover this sensor so long trains can pull up behind. Long trains will cover this sensor so short trains won't be able to pull up and cover it
3 - just after the length of my longest long train - meaning short trains can pull up behind
?
I used IR sensors for this as they're more straightforward and the intention is to determine static positioning, not motion.
?
Chris