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: Easiest turnout reporting?
¿ªÔÆÌåÓýSee below:
Glad to hear the easy solution is suitable for your setup. Dave in Australia |
Locked
Re: MQTT Connection in JMRI
Bob,
I would be interested in helping. MQTT protocol is very light and powerful. It also allows multiple programming languages to get data or pass data to each other.? To to get a little of educated on MQTT. You can check this out -? JMRI currently offers MQTT connection and it makes the root topic /trains/ ?and wants a connection to MQTT broker (server) which passes the data to all the connections that subscribe to a topic. I think JMRI should allow to change the ¡°root¡± topic, because it currently does not.? You asked about how will JMRI know the system name or username. I invasion that the topic for a turnout will be something of the following. I use the root topic of trains for example. trains/turnouts/username/? MQTT uses payloads, which can be user friendly, so for a turnout it would be thru or thrown. if a sensor: trains/sensors/username/ Payload: Active or Unactive This could be done for block detectors, signals, lights, etc. I also think it is a good idea to have the fast clock info published to MQTT. Also, would like to see the ability for people to expand on MQTT in JMRI with scripts for addition ¡°play¡± value like jynstruments. Chris |
Locked
Re: Easiest turnout reporting?
That's all you need for JMRI's Monitoring mode.
toggle quoted message
Show quoted text
The monitoring mode is quite adequate if you don't have local pushbuttons on the Switch-8s. The monitoring mode is also quite adequate if you use local pushbuttons connected via an NCE Mini Panel rather than the Switch-8. The command station (and hence JMRI) knows what throttles and Mini Panels do as far as changing turnouts. Do you use local pushbuttons connected to the Switch-8? -- Dave in Australia On 7 Dec 2018, at 8:25 AM, Micheal <mfarley@...> wrote: |
Locked
Re: Mac and PC moving data
The short answer is that the files you need to move are found at the User Files Location (from the Help->Locations menu item).
toggle quoted message
Show quoted text
For information on what files do what and what needs to move look at: <> <> <> The Dropbox page is a worked example with illustrations and is very helpful even if you intend a one-time transfer rather than ongoing sharing. (Many JMRI users and developers take advantage of ongoing sharing using Dropbox.) -- Dave in Australia On 7 Dec 2018, at 4:02 AM, dan@... wrote: |
Locked
Re: Easiest turnout reporting?
Michael:
Okay then we have single vendor the NCE AIU as Dave suggested and some means of detecting (confirming) the switch position. Another choice is a second vendor or DIY to build some device or other... Into DIY electronics? JMRI can support that too. Jim Albanowski |
Locked
Re: Easiest turnout reporting?
Currently only the NCE/JMRI interface as provided by the serial cable...
|
Locked
Re: MQTT Connection in JMRI
Speed Muller has done a lot of work with MQTT including signals and sensors. He is keen to work with you the JMRI side.
-Dave Mc. |
Locked
Re: Easiest turnout reporting?
Michael:
What I/O do you have to read sensors on the RR? There are many way to read switch position including what I thing would be a way to read the polarity of the motor drive power... If all the Tort contacts in use I attach a micro switch or two to the Tort case to be activated by the swing arm. Prototype... throw bar attached to points to an independent switch not using the motor for a higher level of fail safe. Jim Albanowski |
Locked
Mac and PC moving data
I started to look at JMRI n my laptop that will probably be used to run the system on the train set. ?Then I moved to my 27" IMac because it is easier to see...hehe. ?So I have my track and switches all set up on the Mac. ?How can i move all this work from my iMac to my PC laptop? ?And what files need moved?
Thanks new to the hobby and got a couple of carts before the horse issues because I don't have anyone in the are that I know to go to for help so bare with me please. Dan |
Locked
Re: Easiest turnout reporting?
Two ways with the NCE Power Pro:
toggle quoted message
Show quoted text
1) As another (unnamed) user has said, enable "Monitoring" feedback mode in the Turnout Table. The Power Pro command station has a 2048 bit non-volatile memory block that stores the last-commanded state of every accessory address. This will follow changes commanded by JMRI computer interface or any NCE device (throttle/Mini Panel/etc.). It will not follow changes made by Switch-8 local pushbuttons or if the turnout fails to move. It is not affected by powering the system down (unless the command station memory battery is flat). 2) Use an NCE AIU (a cab bus device) to monitor the Tortoise by connecting to a spare auxiliary contact set on the Tortoise. Each AIU has 14 inputs and can monitor 14 turnouts. This will show actual Tortoise state but requires a lot more wiring, uses one of the two contact sets on each Tortoise and costs extra. Note that the Switch-8 is a DCC track bus device (connects to command station and booster output), not a cab bus device (cab bus devices connect to command station input). The AIU provides the missing link back to the cab bus. -- Dave in Australia On 7 Dec 2018, at 4:57 AM, Micheal <mfarley@...> wrote: |
Locked
Re: Panel Block Occupancy
Yes - thanks - it has been a while since I set the panel but I do seem to remember now something about internal sensors. I presume that would still enable loco name to be stored with the occupied block - and recalled if jmri is closed and restarted ?
|
Locked
Easiest turnout reporting?
Windows 10, JMRI, NCE PowerPro, Tortiose machines, NCE Switch-8 control...
What is the easiest way to report turnout position back to JMRI? I already us my auxiliary contacts for other things. Is there a simple device that would read the Toetoise #1 and #8 polarity and use that to report position back? Too bad the Switch-8 can¡¯t report this directly through the cab bus. That¡¯d be too easy I guess. Micheal |
Locked
Re: Panel Block Occupancy
Perhaps you could associate that siding block with an internal sensor (taking the place of a hardware detector¡¯s sensor) that your scripts could set active/inactive as they follow the train.
toggle quoted message
Show quoted text
Bob On Dec 6, 2018, at 8:55 AM, David Smith via Groups.Io <daversmth@...> wrote: |
Locked
Panel Block Occupancy
Hi All,
I use a PanelPro panel to display block occupancy, with the name of the loco occupying the block added. Each block has a hardware sensor and that all works fine. My layout is operated using my own Jython script to dispatch and route the trains. For sidings, I am considering not having an occupancy detector in the siding, but using the fact that the script knows where it has routed the train to? ( ie which siding ) . so when the previous block sensor goes inactive, I know that the train has then entered the siding. So I can detect its presence in the siding by inference, without the need for a block occupancy hardware detector. But if I do this, is there anyway to show the block as occupied, with the loco name, in the panel. The main application is for a turntable where I do not want to add a hardware detector on each radial track, but just have one for the turntable track. |
Locked
Re: Blocks next to Crossovers are inaccessible as transit destinations
Jack,
toggle quoted message
Show quoted text
Was there a specific reason for changing from automatic SML to manual SML? Since you had created sections from the SML, changing the SML resulted in errors during JMRI startup for the sections since they were based on the automatic SML. I would not include six of the signal masts since they don¡¯t appear to provide any value. They are 15 East, 8 East, 2 West, 4 East, 10 West and 17 West. 2 West and 4 East would be OK if the Block 3 is long enough to hold a complete train. As a rookie with using Dispatcher, I don¡¯t use SML based sections. I create a section for each block. This provides me with maximum flexibility in creating transits. Based on the above, I had no problems creating a transit from 20 to 24 and running a train using simulated block occupancy. Dave On Dec 5, 2018, at 7:12 PM, Jack Basiago <jbasiago@...> wrote: |
Locked
Re: Blocks next to Crossovers are inaccessible as transit destinations
Have you set Buffer Stops at the end and added Buffer Stop masts?
|
Locked
Re: MQTT Connection in JMRI
Note: I didn¡¯t write the MQTT code in JMRI, so might not know what I¡¯m talking about there.
toggle quoted message
Show quoted text
I think it would be good to add JMRI Sensor code to go alongside the JMRI Turnout code. Some parts of it seem to be there, but large parts are missing. In particular, there¡¯s nothing about mapping MQTT traffic to particular sensors: How to figure out names, states, etc. Is there somebody with MQTT knowledge interested in working with me on that? I can do the JMRI part, but don¡¯t know enough about how people would want it to work. Bob On Dec 5, 2018, at 5:53 AM, Nathan Tableman <nathan@...> wrote: |
Locked
Re: No NCE connection
A timely warning, which Marcus does mention at:
toggle quoted message
Show quoted text
<> Removal of the posts for testing needs to be done with command station cover removed to ensure no loose hardware and the posts must be replaced after testing/modification in order to avoid stress failure of solder connections etc. on the top board. Leaving them off permanently is not a viable option. -- Dave in Australia On 6 Dec 2018, at 11:42 PM, Ken Cameron <kcameron@...> wrote: |
to navigate to use esc to dismiss