Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- Jmriusers
- Messages
Search
Locked
Re: MQTT Connection in JMRI
Got it...
the MQTT topic is like this: /trains/track/turnout/1 where 1 is the address of my turnout. Now what I really need is for mqtt to be supported for sensors/block detection. Anyone got this to work using python, seems like some people have come close when I hunt around. My goal is to use all these adafruit?feathers I have sitting around to send mqtt messages about block detection with a goal being a track powered wireless block detection system. Look, mom, no wires! |
Locked
Re: Raspberry Pi 3 Horse Power?
Group:
Here's the Pacific Southern system... The railroad is a large 40'X100' 2.5 times around (over 600') loop/staging to loop/staging with a cutoff to simple single loop. We have had been running full signaling and CTC on most of the railroads switches on the mainline and interlocking. Two track over most of the road with one single track section. All track is bi-directional. One major passenger terminal is included as is a mid railroad staging yard. There are three large stub terminals under local control. The CTC system could take a train symbol and show the position of the train on the model board. After a visit to the Greeley Colorado layout our railroads electronics designer (all controls are home brew as is our software but I don't see anything that can't be duplicated in JMRI and commercial hardware) decided to try a "docent" mode automated system. For us that system controls the CTC parts of the railroad, the mid staging yard and adds control to one of the loop staging yard. Here's what we did to automate... Using the train location and the signal status we can take a train from staging and run it across the railroad to another staging yard. Train can follow using three speeds for clear, approach, preparing to stop. Speeds are sent to the NCE command station. We are currently trying to run six trains at a time under this ATC scheme, three on each main track. We do not run trains around each other given the double track. There are two independent local routes the can handle operator controlled trains. The extra sensing I mentioned in a earlier post is full OS switch occupancy and stopping blocks. This allows simple control stopping trains. Train clears the interlocking into a track is told to slow and then stop before the stopping block. The OS detection and other issues with tracking the trains require detection on all cars. The software must know that a train is complete and with the short OS detection hasn't broken in two or might be a second train. Where speed of the processor (and over all software design) is important is we actually have three processes to worry about. Detection and switch position sensing is polled so a loop must run to check where thing are. Based on the status of the track and trains signal indications are sent both to the signals and to the model board. Lastly we need to control the trains speed and stopping. Communication between the three processes is a challenge at least in C++ running multiple threads on a Windows10 based fast PC. I would interested to see what the overall experience with automation is with the JMRI community... Not sure what's up on our site about out automated system... pacificsouthern.org... the system just got it's first real shake down late in October at a charity open house... a redesign is in the works, timing and interprocess communication limits need to addressed. Jim Albanowski |
Locked
Re: Raspberry Pi 3 Horse Power?
If you purchase the preconfigured memory card from Spogg they have upgraded the USB firmware and pre installed JMRI Regards Peter On Wed, 5 Dec 2018 10:16 Toot222 <Toot222@... wrote:
|
Locked
Re: MQTT Connection in JMRI
Has anyone been able to get this to work? I have MQTT broker set up on localhost:1883 and I can pub.sub from all sorts of devices, so I know my infrastructure works. But I try to pub to /trains/MT1 either closed or thrown and I cannot get JMRI to respond.
I'm reading through the JMRI code to see if there is something I am missing, but thought I would ask to see if there is a trick I am missing. Nathan |
Locked
Re: Signalling issue with my panel
Happy to communicate.? I doubt anyone on here wants to see this stuff, and I cannot add diagrams or pictures.? If you wish I will sent this stuff via mail - mine is iain at iandjtolmie dot com if you send me yours I'll reply.
|
Locked
Re: Raspberry Pi 3 Horse Power?
Hi I would think the Rasberry PI would handle it. Everything is going through Serial/USB so that will slow things up a little. JMRI would have to be set up correctly. Look at youtube and you will find some examples of a PI running a layout. Sounds like fun. Go for it. Steve Steve On Wed, Dec 5, 2018 at 8:49 PM <paul@...> wrote: Dennis, -- Steve Chapman Sydney Australia |
Locked
Re: Signalling issue with my panel
Hi Iain,
Your system sounds interesting. ?I was using routes to set up the various routes and signals, my frustration is that the signal masts on the panel are just dumb. ?Would love to see what you have done. ?Was looking to see if I could figure out a script that would set all signals to danger and update the panel. ?Then I could just operate the signals manually whilst the points are set by routes. Would love to see what you have done. regards Doug |
Locked
Re: Raspberry Pi 3 Horse Power?
Dennis,
I'd question the 'headless' in conjunction with '?a large HO layout with automated trains'. ?It also depends what you mean by automated trains. ?E.g. is it just the control of the train while it is in motion that is automated, or are you automating the scheduling too. I started off with this idea a few years ago - no point in rushing - on a moderate size N gauge layout. ?I'm still nowhere near the stage where 'headless' fully automated operations are feasible (i.e without human intervention via screen or physical control panel). ?My pi (it's actually an Orangepi zero, but similar in concept) is still in use but simply provides access to the layout via LocoNet over TCP, and everything else is on a desk top. I've tried using VNC to provide a virtual screen but a reasonable sized screen eats in to the pi's resources. ?Of course there may be good reasons for using a pi, e.g. using the GPIO capabilities for accessories or a physical control panel. ?If in the future I get to the stage where I can get the behaviour I want from the current configuration, then I'd consider going 'headless'! BTW another way of dealing with the ramping issue is to use the acceleration and deceleration CVs in the decoder instead. ?I guess it means that the automated engineer has less control and possibly sensors used for stopping need to be positioned to allow for this, but it seems to work OK in practice for me. Paul |
Locked
Re: Operational concept for a single operator
#operationspro
Hi Paul
Now that you are ?understanding the program better I thought I would throw in some real life scenarios to help you?set some?guidelines for Building Trains.
Hope this helps -Scott- (aardtechus) |
Locked
Re: Using Digikeijs DR5000 with a Macintosh Computer
You should be able to make a network connection (i.e. Cat5 Ethernet cable) from your Mac. See
toggle quoted message
Show quoted text
But I haven¡¯t done it myself. Bob On Dec 4, 2018, at 5:42 PM, John Kabesh via Groups.Io <jwkabesh@...> wrote: |
Locked
Re: How to deal with empty cars in OpsPro
Dan,
Thanks. That is exactly the type of info I needed. The bulk of my cars will move with a purpose and some are in dedicated service for a specific type of load. I know how to make my loaded cars (with custom loads)? move like I want but I was not sure how the program handled E vs E(mpty) designations. The terminology used was confusing because the documentation was calling a E(mpty) a custom load while at the same time calling it a type empty. I read your response to tell me that although E and E(mpty) are both a type empty, the E(mpty) has an additional designation as a custom load thus the program handles them differently. A plain empty (E) is a random move whereas a E(mpty) is a special case of empty that is routed like a load. You gave me the info I need to set up my schedules to work the way I need. Thanks Paul D |
Locked
Using Digikeijs DR5000 with a Macintosh Computer
Is it possible to use JRMI by connect my Mac to the DR5000 with a USB cable or CAD5 cable? ?The instruction I found are to use the wifi network but then I can not use the z21 App on my phone.
Thank you |
Locked
Re: Panel Pro - looking for up to date Tutorial for CPE
John,
toggle quoted message
Show quoted text
Attachments are removed from emails. For images, such as screen shots, you need to upload them to the group¡¯s Photos section. File sharing is done by uploading files, such as a panel xml file, to the Files section. Take a look at this image: /g/jmriusers/photo/79886/0?p=Name,,,20,1,0,0 This is a simple interlocking for a double cross-over. The dwarfs are temporary target masts for SML. The blocks are colored to show the block boundaries. The ABS support is automatic with SML. When a control system is added, such as CTC, the control system holds and releases masts based on the control system actions. NX is also based on the block topology. Since it does not have a manual method like SML, it requires a Layout Editor panel. My recommendation is that you start with Layout Editor. Once you have that fully functional, then you can create a CPE panel the leverages the LE generated components, such as SML. The turnouts, sensors and signal masts are independent of the panel type. As I mentioned before, SML can also be panel independent. Dave Sand On Dec 4, 2018, at 4:58 PM, John Pearson <pearsonjohn99@...> wrote: |
Locked
Re: Raspberry Pi 3 Horse Power?
Dennis,
toggle quoted message
Show quoted text
Using Dispatcher and auto engineers I can run 7 trains on a Pi3, at any one time 3 can be in motion, and the others waiting, so 7 evalutions take place on a sensor change. That is with full signalling that uses the extended dcc packets. The major bottle neck is on the loconet, (I use digitrax) and on the dcc for the signals thru the command station. Excessive ramping demands and stopping by speed profile can be further drains on cpu power. Both can be eleviated by running in 28 step mode. The number of concurrent trains is not the limiting factor, it's how many events are happening at once and how much time it has to react in. So a 60x60cm nscale trolley layout with 3 cars might bring the pi to it's knees, but a 4 hectare garden railway with 10 trains can be handled with ease. Steve G. On December 4, 2018 11:33:31 AM EST, Steve Todd <mstevetodd@...> wrote: Dennis, --
Sent from my Android device with K-9 Mail. Please excuse my brevity. |
Locked
Re: Raspberry Pi 3 Horse Power?
I¡¯m using an RPI3 for layout control, no issues with horsepower so far.
I¡¯m taking a slightly different approach to automation though¡¡automatic stopping of trains at signals is using asymmetric DCC, this avoids the need for quite so much block detection, just the addition of some diodes to the power feed. It does mean that all locomotives need to be fitted with chips that support asymmetric DCC, (many low quality decoders don¡¯t do this) and allow brake on detecting an asymmetric signal to be turned on. I¡¯m standardising on Zimo decoders to do this. Avoids all the complex logic of changing throttle settings in JMRI¡¡just set throttle at required running speed, leave it set at that point, and let the signals stop and start the trains. Kevin |
Locked
Re: How to deal with empty cars in OpsPro
Paul,
The program works in two ways, random movement, or with purpose.? Cars with "E" or "L" default loads move randomly.? This is the simplest approach, the program finds a car, and then finds a track somewhere in the train's route that is willing to accept the car.? Some folks don't like this type of car movement, they want to see cars move with a purpose.? So the program allows you have all cars move randomly, or all with a purpose, or any combination of the two.? When you create a custom load for a car, that's the first step in creating car movement with a purpose.? When you create a schedule for a spur, you create demand for cars with custom loads.? A custom load can be either a type "Load" or type "Empty".? Cars with either load type move the same, the only difference is how the program calculates the train weight, and how the program reports the number of car load and empties in the train. I strongly recommend that when starting out with the program that you use the random method, no custom loads, no schedules.? You simply decide what type of cars a track can service, the number of cars that can be serviced (track length) and then you're done.? You will have the most car movement with the random method.? Later you can introduce custom loads and schedules for some of your spurs and see what the results are.? In most cases you will decrease or prevent car movement .as you will reduce the options the program has for moving cars.? For example, you might have an interchange.? You find a nice track that can hold several cars and decide it would be nice to see the exchange of cars via the interchange.? But if for whatever reason, you end up with most of your car having to pass through the interchange, that can be a bottleneck.? Now you have to figure out the ebb and flow of cars through the interchange, just like the prototype. My experience with many operators is that they can't tell the difference between random and car movement with a purpose, In most scenarios, the operator only sees a particular car once, he doesn't see it traveling across the layout.? And in most sessions a car is only moved once. Dan |
Locked
Re: Panel Pro - looking for up to date Tutorial for CPE
Dave? Thank you for the reply? I'm sort of lost and may need to try one of the many options? If it helps at I have created a non working CTC panel in Editor, copy of panel Plus close up of model board attached? The Layout will never be larger although there are Non Signaled yards at each end..? ? I want to activate the panel so I can use it to drive model hardware signals and turnouts which will be driven by MRCS's version of CMRI? Track power is DCC Lenz? I can see advantages of creating an activated single line layout diagram with working??logix and operability? Given that there are only 2 green signal lamps on the layout and both are towards virtual unmodeled track I know that ABS etc is not required.? I think this rules out SSL in favour of SML ?? Would you recommend LE or CPE in my case ? Finally I may choose to MODERNIZE the control panel to a more modern NX push button or modern dispatcher arrangement,? I'm assuming I can still do this in front of my LE or similar Layout? ? Thanks for any guidance? John Pearson Hope the screen shot photos get thro On Tue, Dec 4, 2018 at 4:18 PM Dave Sand <ds@...> wrote: John, |
Locked
Re: Double crossover needed in Control Panel Editor
Ken,
Finally figured out how to properly add a turnout in PE/CPE thanks to a tutorial I found on line. As a result, I can add a double crossover in PE then convert the panel to CPE. Just dig a quick test but it appears your suggestion to flip to PE to add a double crossover then back to CPE is working. Thanks. Paul D |
Locked
Re: Operational concept for a single operator
#operationspro
Dan,
Thanks. Makes sense to me. As I build my OpsPro locations, cars, routes and trains I am constantly running into situations not covered in the OpsPro documentation. Knowing a bit about the rules behind the scene helps to decipher these situations. Paul D |
to navigate to use esc to dismiss