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: For Andrew (Andy) and his Walthers GP7
Hi Marc, I've been getting conflicting info. Some say that you also program on the main using "blast" mode, or get the PTB-100. It sounds like you're saying I should scrap the idea (at least for now)of using these components with the computer and just swicth the PR4 to programmer? Andy? On Thu, Jan 3, 2019 at 2:10 AM Marc <forfoum@...> wrote: Andrew,? The DCS51, on it's own,? will not read a Tsunami decoder without the PTB-100 present.? -- Andrew Roberts |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Locked
Re: JMRI Not Identifying Locomotives Properly
¿ªÔÆÌåÓýThe "Identify" button on the main DecoderPro window already reads the following CVs, in the order listed below: CV29 CV17 & CV18 OR CV1 (depending on the result from CV29) CV7 CV8 All the uses cases I checked (long and short addresses, no address match, unique address match, multiple address match) exhibited this behaviour. So the "Identify" button is already reading CVs 7 and 8. We don't need to add them. I don't have time to check the code at present to see if it actually uses the read values of ?CVs 7 and 8 nor in what way. Tea time over here now and time to slow down for the day... Not to mention the thunderstorms starting... --? Dave in Australia On 3 Jan 2019, at 4:35 PM, Bob Jacobsen <rgj1927@...> wrote:
In turn, that selectLoco operation knows whether one or more matched. That would be a good place for the program to reason about whether any additional reads (CV7, CV8, etc) would be able to distinguish the different choices, and if need be, spend the time to do them. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Locked
Re: For Andrew (Andy) and his Walthers GP7
The error "programmer already in use" below indicates you've probably clicked a second time on "Read Type from Decoder" before it had finished trying the first time.
toggle quoted message
Show quoted text
I can take several minutes to complete, particularly if it isn't able to read as it will retry several times in Direct Mode and then retry several times in Paged mode (very slow). You need to watch the status bar at the bottom of the "Create New Loco" window. -- Dave in Australia On 3 Jan 2019, at 3:28 PM, Andrew <soundrew@...> wrote: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Locked
Re: VSDecoder: Problems with xml and sound
#vsdecoder
#rpi
#ubuntu
On Jan 2, 2019, at 2:53 PM, SettleDown <wgrushton@...> wrote: Can be, but the moderators turned it off as it attracted _lots_ of spam on the old Yahoo group. Not sure if groups.io is better or not, but that¡¯s up to the moderators (who work very diligently on these kinds of things! Much thanks are due¡) As a workaround, you can put the picture in the Photos section (i.e. /g/jmriusers/photo/50510/1?p=Name,,,20,1,0,0 ) and link to it. Bob -- Bob Jacobsen rgj1927@... |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Locked
Re: JMRI Not Identifying Locomotives Properly
The identify-locomotive engine is here:
It¡¯s just a simple state machine that reads CV29 to decide whether the short or long address is in use, then reads the appropriate CVs to get the address. It¡¯s used in several places, but a typical one is here: where the address is used to do a selectLoco operation. In turn, that selectLoco operation knows whether one or more matched. That would be a good place for the program to reason about whether any additional reads (CV7, CV8, etc) would be able to distinguish the different choices, and if need be, spend the time to do them. If somebody wants to write that, the process is described here: and related pages in the left index. Bob -- Bob Jacobsen jacobsen@... +1-510-708-5988 AIM, Skype JacobsenRG |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Locked
Re: Trouble with JMRI to JMRI client/server
This looks like the LocoNet Simulator might not fully handle the connection as a server. (The Simulator connection isn¡¯t intended to simulate an entire layout; it just has stand-ins for various things)
Try setting up the server as a real Loconet connection. There doesn¡¯t need to be real hardware out there, just a serial port it dump commands out. Bob On Jan 2, 2019, at 4:09 PM, mabooker76 <mabooker76@...> wrote:-- Bob Jacobsen rgj1927@... |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Locked
Re: For Andrew (Andy) and his Walthers GP7
Hi Marc, I have seen conflicting reports as to the compatability of the PR4 with my controller or loco or loconet. Without some definitive test, i'm loathe claim that is the issue. Until I am convinced by you (or someone else) i wil hold off on buying the booster. Program track is connected to pRG A and B terminals on the DCS51. DCS is connected to PR4 via homemade loconet cable (tested good with Digitrax tester). Thanks again! Andy On Wed, Jan 2, 2019 at 11:30 PM Marc <forfoum@...> wrote: That is an older Tsunami decoder. You can use the Zephyr's BLAST mode. Change OPSW 07. ? Just remove the layout wires from the back of the Zephyr -- Andrew Roberts |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Locked
Re: For Andrew (Andy) and his Walthers GP7
Hello All, I followed the protocol as requested from Dave Heap when he was trying to help Mark. Here is my report from the same process: The Basics: JMRI 4.14, windows laptop with 7 professional (SP1), Java 1.8.0? Digitrax PR4, home made loconet cable that gets four green lights on tester, loco is Walthers new GP7 with tsunami (decoder is TSU-WW56 REV A) At main page the following was in status bar: Service Mode Programmer: LocoNet is online (green) Operations Mode Programmer: LocoNet is online (green) Programmer Status: Idle (black) At opening of "Create New Loco" page: Status bar says idle (black) After clicking on "read type from decoder" button: clicking sounds through the loco speaker, green light flashing on PR4 "Stopping due to error. No acknowledgement from locomotive (308) Here is the script from the system console page: 2019-01-02 22:46:06,956 util.Log4JUtil??????????????????????? INFO? - * JMRI log ** [main] 2019-01-02 22:46:06,976 util.Log4JUtil??????????????????????? INFO? - This log is appended to file: C:\Users\Andrew\JMRI\log\messages.log [main] 2019-01-02 22:46:06,976 util.Log4JUtil??????????????????????? INFO? - This log is stored in file: C:\Users\Andrew\JMRI\log\session.log [main] 2019-01-02 22:46:06,986 apps.AppsBase???????????????????????? INFO? - DecoderPro version 4.14+Rd060e0b starts under Java 1.8.0_191 on Windows 7 x86 v6.1 at Wed Jan 02 22:46:06 EST 2019 [main] 2019-01-02 22:46:12,577 gui3.Apps3??????????????????????????? INFO? - Starting with profile Green_Valley_RR.3f126047 [main] 2019-01-02 22:46:13,137 node.NodeIdentity???????????????????? INFO? - Using jmri-jxalgafLWhOiaakonh1tQg-3f126047 as the JMRI Node identity [AWT-EventQueue-0] 2019-01-02 22:46:13,297 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "LocoNet" [main] 2019-01-02 22:46:13,757 pr3.PR3Adapter??????????????????????? INFO? - PR3 adapter set hardware flow control, mode=2 RTSCTS_OUT=2 RTSCTS_IN=1 [main] 2019-01-02 22:46:13,767 locobuffer.LocoBufferAdapter????????? INFO? - COM4 port opened at 57600 baud with DTR: true RTS: true DSR: false CTS: false? CD: false [main] 2019-01-02 22:46:13,837 loconet.LnPacketizer????????????????? INFO? - lnPacketizer Started [main] 2019-01-02 22:46:14,307 util.FileUtilSupport????????????????? INFO? - File path program: is C:\Program Files (x86)\JMRI\ [main] 2019-01-02 22:46:14,307 util.FileUtilSupport????????????????? INFO? - File path preference: is C:\Users\Andrew\JMRI\Green_Valley_RR\ [main] 2019-01-02 22:46:14,307 util.FileUtilSupport????????????????? INFO? - File path profile: is C:\Users\Andrew\JMRI\Green_Valley_RR\ [main] 2019-01-02 22:46:14,307 util.FileUtilSupport????????????????? INFO? - File path settings: is C:\Users\Andrew\JMRI\ [main] 2019-01-02 22:46:14,307 util.FileUtilSupport????????????????? INFO? - File path home: is C:\Users\Andrew\ [main] 2019-01-02 22:46:14,307 util.FileUtilSupport????????????????? INFO? - File path scripts: is C:\Program Files (x86)\JMRI\jython\ [main] 2019-01-02 22:49:09,827 loconet.SlotManager?????????????????? INFO? - programmer already in use by jmri.jmrit.symbolicprog.CombinedLocoSelPane$7@1653d9 [AWT-EventQueue-0] 2019-01-02 22:49:51,066 jmrit.AbstractIdentify??????????????? WARN? - No acknowledge from locomotive (308), trying Paged mode [AWT-EventQueue-0] 2019-01-02 22:49:54,396 jmrit.AbstractIdentify??????????????? WARN? - Stopping due to error: No acknowledge from locomotive (308) [AWT-EventQueue-0] 2019-01-02 22:49:54,396 jmrit.AbstractIdentify??????????????? WARN? - Restoring Direct Byte mode [AWT-EventQueue-0] 2019-01-02 22:50:54,760 jmrit.AbstractIdentify??????????????? WARN? - No acknowledge from locomotive (308), trying Paged mode [AWT-EventQueue-0] 2019-01-02 22:50:58,091 jmrit.AbstractIdentify??????????????? WARN? - Stopping due to error: No acknowledge from locomotive (308) [AWT-EventQueue-0] 2019-01-02 22:50:58,091 jmrit.AbstractIdentify??????????????? WARN? - Restoring Direct Byte mode [AWT-EventQueue-0] Thanks for your help in this Andy On Wed, Jan 2, 2019 at 10:28 PM Andrew via Groups.Io <soundrew=[email protected]> wrote:
-- Andrew Roberts |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Locked
Re: JMRI Not Identifying Locomotives Properly
That is the problem. There's no way of uniquely determining the JMRI ID (user-created and stored in the roster entry) from what is stored in (and we can read back from) the decoder (DCC ID, CV7, CV8). (That is what the original poster asked for.)
toggle quoted message
Show quoted text
JMRI attempts to do just that. In some cases you may be lucky, in other cases (see Gerry's, mine is similar) you are going to get many matches to the only readable information. The Identify button is a blunt instrument. If it works for you, count yourself lucky. -- Dave in Australia On 3 Jan 2019, at 2:19 PM, Stefan ` Bartelski <stefan@...> wrote: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Locked
Re: Decoder Pro problems
Marc,
toggle quoted message
Show quoted text
I've already checked that out and sent an image showing him what to fix on the Defaults screen. -- Dave in Australia On 3 Jan 2019, at 1:30 PM, Marc <forfoum@...> wrote: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Locked
Re: Decoder Pro problems
Marc,
Thanks for your reply.? If the PR4 works with Soundloader but not JMRI, but my PR3 (same computer, same JMRI and same loco and same power supply) works fine with both SL and JMRI, does that not indicate that there IS some kind of difference between the two? Maybe not command wise, but hardware wise, which could have an influence on how it communicates with decoders. Regarding #4, all I have been saying is that there are a number of messages in this forum of PR4 users exhibiting similar issues. aI know there are few messages that say "my PR4 works fine". So is the issue a DT quality control issue, that the PR4s that do not seem to accept JMRI are maybe on the edge of some tolerance. Or is there another factor?? One alternative I told my friend to try when his PR4 arrives back, is to use the PR4 to drive the control station programming, rather that using it standalone. Perhaps that is why the "my PR4 works" crowd is successful? But I will also suggest to him that we check his power pack (currently a PS14, if I am not mistaken, so not 12V) -- Stefan Bartelski Home layout: The Blue Ridge Line, an HO representation of the L&N Etowah Old Line from Etowah to Elizabeth, set in 1986 9under construction) Modular Layout: Shoofly module of the Country RRoads Modular group |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Locked
Re: Decoder Pro problems
That's why I want Mark to install V4.15.1. The log will then tell us what JMRI actually read.
toggle quoted message
Show quoted text
-- Dave in Australia On 3 Jan 2019, at 1:23 PM, Marc <forfoum@...> wrote: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Locked
Re: For Andrew (Andy) and his Walthers GP7
Hello Marc, So I'm back home now and still not able to get my DCS51 or jmri to see this loco. I can tell you that I cracked open the engine and the decoder says TSU-WW56 REV A. I will send you the open capture once I am able. Andy On Tue, Jan 1, 2019 at 2:52 AM Marc <forfoum@...> wrote: Andrew, Walthers GP7? you mentionned.? -- Andrew Roberts |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Locked
Re: JMRI Not Identifying Locomotives Properly
...and is the discussion about the DCC ID or the JMRI ID? I am totally confused.
-- Stefan Bartelski Home layout: The Blue Ridge Line, an HO representation of the L&N Etowah Old Line from Etowah to Elizabeth, set in 1986 9under construction) Modular Layout: Shoofly module of the Country RRoads Modular group |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Locked
Re: JMRI Not Identifying Locomotives Properly
¿ªÔÆÌåÓýI just reread this and are you thinking that once you identify the loco and create an entry, that any of that descriptive data is written to the decoder? ?So that the next time JMRI pulls up the correct entry?
The only descriptive data on the decoder is the CVs set by the manufacturer. Many times the same code is used for several different decoders.?
What we have is the solution given the source data.?
David Klemm
? From: [email protected] on behalf of dcesharkman via Groups.Io <dcesharkman@...>
I have many locomotives with proper road numbers that overlap with others. For example, I have a Kato NYC PA unit with the number of 4301, but I also have a Kato SD70ACE in MRL with the same number.? I have many instances of this same situation.? There must
be a better way to assign the identity of a locomotive so that these miss-identities do not happen. I have 62 of these occurrences. This is where better indexing could keep this from happening.
Sent: Wednesday, January 2, 2019 14:57 To: [email protected] Subject: [jmriusers] JMRI Not Identifying Locomotives Properly ?
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Locked
Re: MQTT Connection in JMRI
On Wed, Jan 2, 2019 at 09:27 PM, Dave wrote:
Chris,Dave,? I have some serious doubts that ESP8266 or ESP32 will have problems with JSON as shown in my last post. These two specific boards are very popular in the home automation spectrum and have the ability to parse these JSON: { "brightness": 255, "color_temp": 155, "color": { "r": 255, "g": 180, "b": 200, "x": 0.406, "y": 0.301, "h": 344.0, "s": 29.412 }, "effect": "colorloop", "state": "ON", "transition": 2, "white_value": 150 } I am not saying there are limits, but I have some serious doubts a JMRI payload will reach 64 bytes. As long as the the simple things like turnouts and sensors are kept simple. I believe that lights, signals should have the ability to be in JSON and this should allow more dynamic things for example. Reporters can also be simple text or JSON. If JSON are used for reporters the user would have to probably develop a custom script, since they are more than likely doing something special.? Chris |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Locked
Re: JMRI Not Identifying Locomotives Properly
¿ªÔÆÌåÓý??????? Here is just a small section of my roster - all have the same Road identification, most have the same road number, but different decoders. This roster only has 1,405 entries - some N Scale, Some HO and Some O scale. These locos are all green.
The locos with QSI decoders were
factory fitted the others were fitted "after market" - in numerous
cases they were upgrades to replace the QSI decoders. There are 63
locos in this group - not counting other roads with identical
numbers such as UP and Rio Grande.
How could you make a database of all
locos - the decoder is the only part of the equation that can be
identified with Decoder Pro. It is only in recent years that
Decoder Manufacturers have added an extra CV to identify the
particular model of decoder.
Just my thoughts
Gerry
On 3/01/2019 12:35 pm, dcesharkman via
Groups.Io wrote:
This is why the application needs a database engine under the hood. That would also allow picklists for road names and locomotive models. That would make it very easy for make an indexable ID system.? -- Gerry Hopkins MMR #177 FNMRA Great Northern Downunder NMRA Australasian Region Contest & AP Chairman Web Administrator |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Locked
Re: MQTT Connection in JMRI
Chris,
Re: 64 byte limit - I saw it in a message from Speed on 15 Dec. Yes, it is referring to ESP type devices, it's certainly not a problem with MQTT itself. Does anyone know what the smallest payload limit is on the devices we are likely to use for model railroads, perhaps NodeMCU ESP8266??? For signals, it may be simpler to use signal heads where the payload only needs to be the appearance - red, flashing yellow, dark, etc (also mentioned by Speed)? Masts can be built using Signal Head Controlled Mast driver, already available in JMRI.? Simplest case payloads: ?
Device type? -? ?Payload options
?
Turnout - Closed | Thrown
Sensor - Active | Inactive (or 1 | 0 )?
Signal Head - Red | Yellow | Green | Dark | Flashing Red | Flashing Yellow | Flashing Green
and perhaps though maybe later down the track Signal Mast - the aspect name (which isn't as simple as it sounds because there are in some railroads multiple appearance options for the same aspect name)? ? ? ? ? or? ? ? -? ?the combination of head appearances with comma separators e.g.? red,flashyellow,red Things start to get more complicated when you want to include more detailed configuration information to reduce the configuration information needing to be held in the actioning device or for having flexible devices and therefore requiring more instruction.? We can consider making allowance for this, perhaps using the Comments value in the JMRI table, or, at least as an interim step, just make it a requirement that such configuration is for the actioning device to sort out.? - David. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Locked
Re: MQTT Connection in JMRI
I don't know where we're at now with the MQTT extension proposal.I¡¯m waiting for a consensus to emerge so I can code it. I think that consensus has emerged for the addressing (the topic will be taken from the system name, so people can use what they want), but not for the payload. I¡¯ve learned to insist on a real, multi-person consensus on things like this because there¡¯s a natural inclination for people to add more and more and more complexity based on their own experience and desires. JMRI needs something that will work for lots of people, from simple (which tends to not get valued in these conversations) to more complex. It would be great if the roughly half-dozen people in this thread could agree on something that would work for all of them. -- Bob Jacobsen ============= I think the topic parts need to be two types. Global Individual The global would be: Trains/ Sensors/ Reporters/ Turnouts/ Signals/ Lights/ This way JMRI could send out a message to address every item of a type. For an example would be: Trains/ ALL STOP Trains/ ACK .....This so that a keep alive function for the link. The item does not have to do anything but acknowledge the message. Sensors/ STATUS ....So you could get a status report of every sensor. This way JMRI could ensure that all the connections remain alive if sent every couple of minutes. The individual would the item name BNSF_907/ NW_789/ Turnout_mile_104/ T_134/ North_section/ My_Town_Yard/ The last two are for those who have a node that connects more that one item. My_Town_Yard/Ladder_1/ My_Town_Yard/Ladder_15/ Now this does mean that each node will need to subscribe to more than one main topic. The BNSF_907 would have BNSF_907/#/ and Trains/#/ The WiFi Throttle would have to be able to subscribe to numerous locomotives in case of a consisting. But as the Message would need to be sent to all the locomotives in that consist separate anyhow a minor problem if the locomotives are using WiFi for the connection. The setup of the items in JMRI would have the main link to the node as the main part; The item name; the payload. The actual items on the layout would never send a global message. As for the payloads. Have some global define words NOP is No Operations required. ACK is Acknowledge for keep alive link. STATUS is send a report of all the variables. ALL STOP Other things to include would be: Quote marks for ASCII characters. This is so if someone need the word "Thrown" they can use it or send the binary value of Thrown (0/1). The different definitions of how to send the values Like Logical/Binary/Hex/Integer/Floating... Standard notation could be used for this. As for the length of the messages. I would suggest an upper limit of 96 characters for each the topic section and the payload section. Donald |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Locked
Re: PanelPro icon sets question
Hi Nick.
Signal masts. Create 2 or more. Disable aspects you don't want, so just leave clear and stop say. Add signal mast icon to panel. - not assigned to block join or turnout or any of that stuff. Red X appears. Left click, edit signal mast logic. Add route to another mast (that's why you need more than one). All the auto stuff at the top should be unchecked. Manually add turnouts, sensors, blah blah. Or none. Save panel.? Next time you open no red X. Click on icon to change aspect, or what ever you set in the logic. Signal heads work the same way. Add Signal Head icon, not signals to block join or turn out.? Free form.? Steve G. You can design your own signal mast system if you don't like any of the existing ones. To make simple ones, copy one that's over stocked and delete the bits you don't want.. Can't use these for auto engineer trains. |
to navigate to use esc to dismiss