The future of control and automation - thoughts?
14
All, I am still quite new to DCC model railroading - working on a trial N scale layout with about 18 blocks, 4 trains etc, controlled with JMRI etc. THe learning curve, and some frustrations with Digitrax, loconet, and JMRI 'steep' learning curve have me wondering what the future (near and longer term) of control may look like (and I am a career chip design engineer currently trying to learn about AI topics for electronics design- so a bit of an electronics nerd). So I am eager to hear from the prognosticators, naysayers, and visionaries on this group. Are there big technology changes coming in the near and mid term? Bluetooth communications to all trains/rolling stock/sensors/lights - is IoT coming to the model trail world? What about other ways to know where your trains are? micro GPS locating? Has anyone done a system where one or more video cameras is used to look at the layout, using vision processing in real time? (sure seems like a task made for AI)? And AI - is anyone using AI to write their JMRI scripts or otherwise control their layout? How about lighting? I foresee doing an entire set up for lighting from a single strand of individually addressable LEDs (controlled by an Arduino perhaps) under my layout and running a fiber optic to each 'lighting point' up through the layout.. Is that done? Perhaps I am being too geeky - I really like the real time operations and control challenges with this so far - and am just starting to think about the aesthetics - of scenery and themes. Thoughts? - or point me to the dark corners where this discussed! -Peter
|
Changing signal Mast Aspect with jython
9
#jython
#signalheads
Here is a list of signal mast i have set up does anyone have the syntax for jython to change the aspect of the signal. i’m not finding it anywhere.
|
How to make multiple trains chase each other
9
#automation
#dispatcher
What is the best way to do this automation? My goal is to have trains start from a yard, one after another, go the whole layout and the park back in the yard and rest about 10 minutes. I hope to keep about 10 trains running at any time, while another 10 are resting. It’s a large layout. I’ve added block detection throughout the layout, and used the tools to create sections. We have seven layouts all permanently interconnected, so there are multiple routes to make a loop. So, I have started by trying to dispatch a train after I had successfully started another train (automatically run) along a particular transit, but that transit isn’t in the list! Am I going about this in the wrong way? Does this mean I need to create at least 10 transits that use the same sections in the same order? Thanks for any suggestions or advice.
|
Signal Mast Logic
7
#sml
Hi All, I have added the panel file exhib.xml to the David Smith folder in ProblemsBeingWorked There are some issues with some of the signal masts. Could someone please advise what the problem may be ? Buffer masts Mst_Buff_SdS4, Mst_Buff_SdS5, Mst_Buff_SdS6 are set to Unknown Mst_SE3, Mst_SE2, Mst_SW3e, Mst_SW3f, Mst_W4 signal logic does not see other masts correctly ( I am aware that I could fix the issues by manually editing the signal logic but would prefer not to ) Can I also please ask, if I add a mast that is not visible on the panel, is there a way to see or edit it afterwards ? Also, can I ask why all of the signal heads appear in the Turnouts table ? Thanks Dave
|
Block occupancy without resistive wheelsets
14
To ensure the whole train is considered when assessing block occupancy by current sensors and not just the current drawing locomotive the standard solution is resistive wheelsets. However JMRI knows (with speed profiling) the speed of a train and can also record its length. Along with block length these values would allow a calculation of the block occupied by the end of the train. Would it therefore not be possible to show a block as occupied until the end of the train had left it? I can't find any information on this functionality within JMRI. Is this something that could be implemented on top of JMRI in (say) python or java? Anyone explored this? Any ideas?
|
How to edit script, re-exec without restarting?
3
#scripting
I'm working on a script to facilitate virtual block handling (time before unoccupied, etc) by considering time entered and exited and block length. Since every car being pulled draws power I can estimate how long it will be in a virtual block (assuming same speed). The script is loaded at startup and adds property change listeners. Since I'm learning JMRI I have to make incremental changes and every time I have to restart since the old listener is still active. Maybe I could save my chained listener objects in a memory and check if it's there if I re-execute the script but wanted to check with experts first. Is there any advice for avoiding a restart?
|
Current state of DMX support on Apple Silicon Macs?
10
#mac-m1
#powerline
Greetings All, After an extended late-night dive into the group archive, I can't seem to find a final word on whether the JMRI DMX-via-USB support (whether Anyma or Powerline) works when using Java for ARM on Apple Silicon Macs (M1-M4 processors). There are a couple of 2022 threads that mention that it was broken, but the only possible response I found in the code was a commit for release 5.3.3 that appeared to be a minor change for some component of DMX support. It didn't look like a smoking gun, but looks can be deceiving. I'm asking because my 2020 Intel iMac will likely need to get replaced with a M4 (or later) unit sometime between now and when my layout is getting built. I can certainly buy a USB-to-DMX dongle, a decoder, some lights, and play around with it, but that won't be a true acid test since I'm still back in Intel land. The ultimate goal is to have the layout lighting run in two modes: Maintenance mode - All lighting turned on, with RGBWW strips at full WW. Operations mode - All lighting and color reacts to the time of day, based on the fast clock time. My assumption (at the moment) is that this functionality would likely require either a LogixNG or Python/Jython script that listens to the "maintenance mode" memory value and the fast clock value. Thanks in advance. Paul
|
Zimo MS450P22 CVs above #841
15
#zimo
#definitions
I have just taken delivery of a loco fitted with the above decoder and carried out a CV “read all sheets” with DecoderPro. It appears to not display CV numbers greater than 841. How do I read/write these? I am familiar with ESU’s Indexing process to access a large number of CVs, but can only find a process called scripted CVs in the Zimo instruction manual. Maybe I am dumb, but definitely need help here. Thanks in advance.
|
New Apple computer
6
Getting a new MacBook Air next week to replace my 4 year old MacBook Pro that I use DecoderPro on. I'll be trading in the MacBook Pro when I pick up the new Air. What JMRI items should I back up (to iCloud or portable hard drive) before I go to the store? I already save the Roster File and Roster.xml to iCloud whwnever I make changes in DecoderPro. Any special Java installs to be done of the MacBook Air? Thanks. Fran Giacoma
|
Print Car List
6
#operationspro
When editing a location there is an option to show cars under the tools menu. Is there a way to print the list from JMRI once it loads? Right now I am taking a screen shot, pasting it into another software and printing it that way Thanks in advance!
|
Extra storage for C/I tracks
3
#operationspro
I have a yard setup with 8 C/I tracks for various next destinations so we can sort cars as they come into the yard. I also want some extra storage space available to each C/I track so if a given track has 8 car spots available but 10 cars that should be placed on the C/I track the software has somewhere to put them. To make it more complicated lets assume that the outbound train can only handle eight cars So, ten cars come into the yard for Woodsville. Eight go onto the Woodsville C&I track and the other two go into "general storage" When the time comes for the Woodsville train it grabs the eight from the C/I track, freeing up room for the other two cars to be placed on the C/I track for the next train. A yard job then runs and puts the two from general storage onto the Woodsville C/I track Two questions: What would the real railroad do? Is there a way to accomplish either my idea or the prototype solution in JMRI? Thanks!
|
Labels in JMRI Roster
2
Why when adding a BLI locomotive are labels automatically imported, but when adding a locomotive with an ESU decoder there are not any labels. Is this in the decoder default mapping and is this something that can be updated? I really do not want to have to manually enter all the labels on every locomotive with an ESU decoder. Or is this operator error? -- Heath @ Human[c]ity http://www.humancity.org http://www.riversidetransfer.nyc http://www.manhattanmodelers.com
|
JMRI / CMRI over ethernet
I see some posts about JMRI / CMRI over ethernet. Is this possible? I'm lost and can't figure out how to post to a certain user. Any help appreciated. Jim Loftin
|
PanelPro Startup
6
Hi, I am using PanelPro wirh MERG and a SPROG and everything is great, But I want to build the Panel and develop scripts without the MERG hardware and SPROG connected, and PanelPro will not open the panel unless the hardware is present. Is there a way to be able to do that ? Many thanks Dave
|
Making a plant switcher work correctly
6
#operationspro
Hello again all. Thanks for the recent responses to my questions. But now I have a rather lengthy question so bear with me. I have an ADM facility that has 7 spur tracks plus a pass track and a yard lead track. I have a local train that brings covered hoppers from the interchange and drops then on the pass track. It then goes to the yard lead track and pulls the cars that have been left by the plant switcher and returns to the interchange. Let me lay out the 7 tracks for better understanding. Track 1 is to load DDG (dried distilled grain) into 4-bay covered hoppers. So they arrive empty. Tracks 2 and 3 are for loads of corn to be emptied into pits. Tracks 2 and 3 can hold 4 cars each. Tracks 4, 5 and 6 serve a dual purpose. To hold loads when there isn't room on 2 or 3. And to hold empties that will eventually be moved to the yard lead for pickup by the local. Track 7 is for loading Ethanol Tank Cars. With me so far? So the plant switchers job is to pull the empty cars from 1, 2 and 3 and move the loaded cars from the pass track to 2 and 3 and empty 4 bay hoppers to 1. And then move empties to the yard lead. Now whats happening is the plant switcher sometimes takes loads off the pass track and drops then onto the yard lead. Those loads shouldn't be delivered and sent right back out. Therein lies my problem. I cannot get the yard switcher to always deliver loads of corn to tracks 2 and 3. And sometimes even it will pull what should be empties from 2 and 3 and move them to the yard lead! Yikes. So what do I do?? How do I make sure any loaded corn is taken into the plant and only empties (except the DDG cars) are moved to the yard lead?
|
Upgrading
5
#upgrading
Here is the situation. The MRRC I belong to is a bit antiquated. They run a Digitrax based system with a DCS-100 command station, and JMRI 4.6 with a Sprog II programming interface. Of course the decoder definitions are not close to what some of the members run(myself included). Digitrax decoders are limited to series 6 for example. I would love to upgrade JMRI (have 5.10 and Java 17 at home with my DCS-52). The questions remain, (1) What files should I back up prior to the upgrade? I am thinking since we do not run panels or operations from JMRI just the roster needs to be backed up. (2) Should I install Java first before the upgrade? I did Java 11 when I first downloaded JMRI 5.10 at home, but have since upgraded my Java. (3) Will command station and Sprog settings be preserved with a JMRI overwrite upgrade?
|
BDL 716 etc
9
#digitrax
Why doesn't JMRI "see" my DS74s, BDL 716 and BXpa1s. I would love to be able to configure them using JMRI, the way I can my DS64s, BDL16 and PM42. Is there some licensing dispute or other disagreement between Digitrax and the JMRI community? David Richie
|
Just Upgraded to Decoder Pro 5.10 and Java 17, now NCE Power Pro and JMRI won't talk
5
#nce
Hi, I'm new here, mostly because my Decoder Pro and NCE system(s) have gotten along well for years through various computers and upgrades...now I've hit a wall, so any insights appreciated. Here's the hardware basics. NCE Power Pro 9 pin serial port command stations. Have two, tried two and same result. NCE latest Chip installed in both command stations, "March 22, 2021" Computer: Lenovo Pentium Silver N6000 4.0 GB ram. Windows 11. Using Com Port 3. Here's the situation, shifting Java and JMRI versions mentioned as follows. For about two years, I've been using this set up with JMRI 5.2 and Java 11. Aside from occasional hiccups, a pretty solid arrangement. Now I just received two locomotives with Soundtraxx Blunami decoders. Went to create a new locomotive file in Decoder Pro it wouldn't download the data. Figured, newest decoders...time for an upgrade to the latest version from JMRI. Went to upgrade to version 5.10. Says while it would work better with Java 17, would also be expected to work with Java 11. Decided to play it safe and stick with Java 11 for now. When bringing up Decoder Pro I received the dreaded red words. "Service Mode Programmer NCE Is Offline" - " Operations Mode Programmer NCE is Offline" Despite everything which follows, this has not changed. Next step, ok let's try Java 17--installed Java 17. No change. Then I took a risk, and installed JMRI 5.11.4, which is still under evaluation. Again. No Change. The NCE and JMRI are still not on speaking terms. Now, before anyone asks, the USB to Serial port cable came to me directly from NCE several years ago and had just been working. When I plug and unplug, it makes that booping sound, which means it's seeing something, but no communications. And besides, again, it was just working fine. Here's one area I suspect may be a problem, which is the Com Port 3 driver, which had not been an issue under JMRI 5.2 and Java 11 on my Windows 11 laptop. This is what shows up under driver files for "USB to Serial Cable (COM3): C:\WINDOWS\System32\serenup.sys (along with) C:\WINDOWS\System32\DRIVERS\SVK9PL64 And of course, Device Manager says everything is working properly. In poring over the NCE, as well as JMRI trouble shooting pages and doing other on line searching, it appears there are more drivers that don't show up on my machine. But those posts go back many years to much earlier versions of both JMRI and JAVA. I honestly cannot say there was anything more on my machine prior to this, because it all worked. If there is a new driver I need which would work with the newest setup, let me know...along with a few hints on how to install it. Anyway, thanks in advance. I hope this isn't one of those obvious things that I've missed...but I'm about 6 or 7 hours into this already and going crazy. I've tried to keep this note to the essentials, but have more data available, but all the boxes I can open appear to be checked correctly within Decoder Pro, such as port, baud rate etc. But I can pull it back up if anyone thinks that would help. Glenn
|
Speed testing, Sensors, Speedometer output
2
#scripting
As I posted a few weeks ago, I'm setting up a speed matching loop. Using 8 BD-20 NCE detectors, 1 AIU, PH-Pro, RS-232 to computer running JMRI (Windows 11 OS). Using the Ultimate Speed Matching (USM) scripts as a basis, modifications seem to be working well with the following exceptions: Speed measurements can be all over the place due to "bounce" on the detectors. The JMRI Speedometer Tool seems to not see this as much (doing exit to exit on the tool). So will adding de-bounce to the 8 sensors help? Do I use active bounce, inactive bounce, both? Does this change the factors for calculating speeds since in the script, it's looking for sensors changed? Is there a way for the USM script to open up the speedometer windows and provide an output back to the USM script. In other words, is there a way in the USM script to call the speedometer and get the result back to use rather than the timers used in the USM script? Another couple anomalies: -- After the script is complete, I then run the loco at the speed steps and measure the expected speed and it seems to run a couple mph slower than during the script. -- Has anyone figured out how to speed match with an ESU decoder where SS28 is always 255 and the top of the curve is adjusted with CV5 and the rest of CV67-94 are proportional? -- Using the 3rd lowest measured speed seems to be a short cut. Has anyone taken the measured speeds, throw out the top two and bottom two and return the average speed? I have a current methodology to manually set the speed table by running the loco at SS 5, 10, 15, 20, 24, 28 and entering the measured speed into a spreadsheet that then tells me what setting to set each of those to in order to get the desired speeds (my standard is 10, 20, 30, 40, 55, 70 at those SS). After I get more of the bugs worked out of the modified USM script, I'll take a turn at trying this method. Phil Hartung Idaho Falls, ID
|
Controlling Alexa (Amazon) via JMRI
6
I would like to create some timed routines in JMRI that sends commands to Alexa to run various routines. For example, at start of session, I can start the fastclock, and then at appropriate times, it will trigger Alexa. My plan to do this is using "Voice Monkey" as the translator. VM allows you to send a command via a web link, which then will trigger Alexa. So what I need to do is get JMRI to run a weblink in the background (not open a web browser). I had asked this question a few years ago and apparently this was coming, but not available yet. Is there a way within JMRI that at a certain time on the Fast Clock, I can send a trigger using a weblink (https://api-v2.voicemonkey.io/trigger) but that will not open a browser, it will just happen in the background? Thanks -- Heath @ Human[c]ity http://www.humancity.org http://www.riversidetransfer.nyc http://www.manhattanmodelers.com
|