开云体育

Date

Locked Re: Raspberry Pi number of throttles #rpi

 

Real use example...

Raspberry Pi 3+ using the RPi-JMRI image four throttles seems to be the limit we see... more than four and "I've lost control..."

Given the assortment of old 2.4GHz only routers from decent sources like TP and well under $100 I'll agree that if I'm looking at both more than four throttles and any sort of larger or challenging space... HVAC or L shape space I'd go with the router. Not hard to set up and doesn't need connection to internet.

Done that here but with ancient PC.

Jim Albanowski


Locked Lenz LZV200 v4 and 63 functions #lenz

 

开云体育

I created a new issue to officially request an increase in function support in JMRI

See ?for more details

Phil G


Locked Re: Raspberry Pi number of throttles #rpi

 

I believe the newer software has real limits on the number of connections.
Instead of trying to support more, and give all sorts of odd behavior when
resources run low, it limits to what it can reasonably support. Simple and cheap
external Wi-Fi devices can handle that much better than the chip in the Pi. It
is designed to be a client device and was only able to be a limited function
hub.

-Ken Cameron, Member JMRI Dev Team
www.jmri.org
www.fingerlakeslivesteamers.org
www.cnymod.com
www.syracusemodelrr.org


Locked Re: Problem with turnouts not showing on Engine driver connected to Raspberry Pi. #enginedriver #digitrax

 

Clark,

The usual idea for the delimiter is limiting the list of turnouts displayed. It
will group them by prefix. It does not intend to use any form of typing it into
the phone. I've used the grouping feature of the delimiter, usually a single
screen of one group, sometimes only two of three in an area. I've never typed in
a turnout on the phone.

-Ken Cameron, Member JMRI Dev Team
www.jmri.org
www.fingerlakeslivesteamers.org
www.cnymod.com
www.syracusemodelrr.org


Locked Re: RFID Connectivity #rfid

 

Tom

Thanks a lot for the modified sketch. I tried to compile it after installing the NeoSWSerial Library via Library Manager and restating the Arduino IDE. There were some errors. I am quite sure I overlooked something, but perhaps the error messages are helpful in finding what didn't match up?

Error messages inside blockqoute:
Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "Arduino Nano, ATmega328P (Old Bootloader)"

[I left out all compiler messages that were okay and only copied the lines that were marked as an error]

C:\Users\mirc\AppData\Local\Temp\arduino_build_318557\libraries\NeoSWSerial\NeoSWSerial.cpp.o (symbol from plugin): In function `NeoSWSerial::read()':
(.text+0x0): multiple definition of `__vector_3'
C:\Users\mirc\AppData\Local\Temp\arduino_build_318557\libraries\SoftwareSerial\SoftwareSerial.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\mirc\AppData\Local\Temp\arduino_build_318557\libraries\NeoSWSerial\NeoSWSerial.cpp.o (symbol from plugin): In function `NeoSWSerial::read()':
(.text+0x0): multiple definition of `__vector_4'
C:\Users\mirc\AppData\Local\Temp\arduino_build_318557\libraries\SoftwareSerial\SoftwareSerial.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\mirc\AppData\Local\Temp\arduino_build_318557\libraries\NeoSWSerial\NeoSWSerial.cpp.o (symbol from plugin): In function `NeoSWSerial::read()':
(.text+0x0): multiple definition of `__vector_5'
C:\Users\mirc\AppData\Local\Temp\arduino_build_318557\libraries\SoftwareSerial\SoftwareSerial.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
Could you perhaps have a short look and point me in the right direction? Thanks in advance.
Mirco

?


Locked Re: Raspberry Pi number of throttles #rpi

 

Yes, you're most probably hitting a WiFi hardware/driver/firmware limit:




There's a "minimal" firmware available here that uses all the available memory on the WiFi chip for managing clients:



Apparently, that one gives you the maximum physically possible number of clients.

I haven't tried it, and I might just use my old WiFi router or a $20 WiFi AP instead when I want to use the Pi the next time.

Hope this helps,
Heiko

On 4/14/23 09:17, Phil G wrote:
I’d start by duplicating the SD card you have that’s working, “just in case” anything changes and you hit the buffers again!
Then I’d suggest upgrading JUST the Pi (with APT UPDATE/APT UPGRADE) then see if the connection limit appears. I suspect it will. I doubt anything JMRI has done could affect Wi-Fi connections…
Phil G

On 14 Apr 2023, at 03:22, Clark Gregory via groups.io <clark@...> wrote:

?The problem with number of phones connected to a raspberry PI is with the newer version of the S/W on the pi.

I had upgraded to Steve's latest version in February because of issues with displaying turnouts.? We then started to have a limit of 8 phones attached.? Tonight, I replaced the SD card in the PI with the older version.? We had (best count w/ younger engineers running around) 11 phones connected with no problem.? Four of the phones were not doing anything, but they were all connected to the PI and Engine driver connected to the layout at the same time.? (I turned the phone on brought up engine driver, connected, then set it down and turned on the other...) .? I was able to open the turnout table.? There was not much of a list due to other issues and it was busy with other members and visitors, so no room to run any of my trains at peek of activity. However, I was connected to JMRI on the pi with the old S/W.

So, I don't know if the problem is in the OS, JMRI, or Steve's S/W or ???? (The only other caveat I do have more turnouts defined in the newer version.) Clearly, the old version handles 11 or more phones. the new version only handles 8 phones.


Old release that worked? was downloaded 4/16/2019.
JMRI panel pro version:?4.17.3 + R12ded

New release limited to 8 phones:? ?downloaded 2/25/2023
JMRI??panel pro version: 5.3.2 + R7ca361ca43

My phone had Engine driver: V2.35.164;? OS 7.0;? but other phones had other S/W, probably including a couple iphones.

For me, if I can figure what I am doing wrong with turnout names, /*the old release is a livable solution for us*./? However, if you want me to try something, let me know.? I will keep the SD card with new S/W around for that purpose.

So, that brings me back to my problem with turnout names (/g/jmriusers/message/214388 </g/jmriusers/message/214388>) which I will go and "reopen?" under that topic..

Many thanks,
Clark
--
eMails verschlüsseln mit PGP - privacy is your right!
Mein PGP-Key zur Verifizierung:


Locked Re: LogixNG dispatcher check to see if a train is running often incorrectly returns false #dispatcher #logixng

 

Hi Dave,

Sorry - just to be clear, I meant trains started manually through Dispatcher, ie clicking on 'New Train', loading in a saved profile and clicking 'Start' - maybe the button is called something else. If I do this, and set the train running, then LogixNG does not detect that it's running if I query the step that checks - I get false.

If I start a Dispatch by clicking on a sensor, which triggers a LogixNG to start a dispatch automatically, then the same expression check shows true.

Regards,
Chris


Locked Re: Raspberry Pi number of throttles #rpi

 

开云体育

I’d start by duplicating the SD card you have that’s working, “just in case” anything changes and you hit the buffers again!

Then I’d suggest upgrading JUST the Pi (with APT UPDATE/APT UPGRADE) then see if the connection limit appears. I suspect it will. I doubt anything JMRI has done could affect Wi-Fi connections…

Phil G


On 14 Apr 2023, at 03:22, Clark Gregory via groups.io <clark@...> wrote:

?The problem with number of phones connected to a raspberry PI is with the newer version of the S/W on the pi.

I had upgraded to Steve's latest version in February because of issues with displaying turnouts.? We then started to have a limit of 8 phones attached.? Tonight, I replaced the SD card in the PI with the older version.? We had (best count w/ younger engineers running around) 11 phones connected with no problem.? Four of the phones were not doing anything, but they were all connected to the PI and Engine driver connected to the layout at the same time.? (I turned the phone on brought up engine driver, connected, then set it down and turned on the other...) .? I was able to open the turnout table.? There was not much of a list due to other issues and it was busy with other members and visitors, so no room to run any of my trains at peek of activity.? However, I was connected to JMRI on the pi with the old S/W.

So, I don't know if the problem is in the OS, JMRI, or Steve's S/W or ???? (The only other caveat I do have more turnouts defined in the newer version.) Clearly, the old version handles 11 or more phones.? the new version only handles 8 phones.

??
Old release that worked? was downloaded 4/16/2019.
JMRI panel pro version:?4.17.3 + R12ded

New release limited to 8 phones:? ?downloaded 2/25/2023
JMRI??panel pro version: 5.3.2 + R7ca361ca43?

My phone had Engine driver: V2.35.164;? OS 7.0;? but other phones had other S/W, probably including a couple iphones.

For me, if I can figure what I am doing wrong with turnout names, the old release is a livable solution for us.? However, if you want me to try something, let me know.? I will keep the SD card with new S/W around for that purpose.

So, that brings me back to my problem with turnout names (/g/jmriusers/message/214388) which I will go and "reopen?" under that topic..

Many thanks,
Clark


Locked Re: RFID Connectivity #rfid

 

On Thu, Apr 13, 2023 at 07:37 PM, <stephenjohnson500@...> wrote:
Tried the revised PN532 sketch. All I get now is 'No PN53X Present'. I notice you had changed the libraries from Adafruit to something else. Would that be something to do with it? The original sketch still works, but just reads once.
Steve,

I was under the impression that the PN532 reader documentation you sent me referenced the correct library(ies) to use. Which is the "original" sketch that works but only reads once? Is it the Adafruit library one? If so I can fix it fairly quickly, but I want to confirm which sketch is working for you, albeit only once. LOL!?


Tom


Locked Re: Lenz LZV200 v4 and 63 functions #lenz

 

开云体育

Thanks. I did mean 69 although my fingers obviously typed 63 for some reason!

Also my LH101 at v2.0 DOES support functions up to 69 despite what the Lenz website says

tbh, 69 is a “bit much” but 28 is becoming limited with increased sound decoder abilities (ESU nit Lenz!) I’m finding I’m running out and could do with at least half a dozen more functions……

Phil G


On 14 Apr 2023, at 00:02, James S. Brown via groups.io <brown3980@...> wrote:

?

Hi all…

I’m also a (very satisfied) Lenz user with a LZV200 running Ver. 4 software that is described on their website as,

“Software version 4.0 also expands the number of switchable function outputs.?A total of 69 functions can now be addressed in locomotive decoders (F0 to F68).?Please note: The use of 69 functions requires a handheld controller LH101/LH101-R from version 2.1, alternatively the use of the PC interface of the LZV200 or an external interface.”

Although Lenz is presently more popular in Europe than in North America, it now offers a long-awaited wireless throttle available and is a really great product and I would suspect that their newly expanded function base will gain traction with competing manufacturers. ?So I would hope that the JMRI development team would seriously consider revising the functionality for this system as I’d be amazed if other systems aren’t forced to do the same to offer comparable functionality; I would assume that many JMRI users also reside in other areas of the world outside of North America that would benefit as well.

Jim


Locked Re: Problem with turnouts not showing on Engine driver connected to Raspberry Pi. #enginedriver #digitrax

 

I thought I had gotten around this with the latest version of Steve's Raspberry Pi access point but that causes other problems (/g/jmriusers/message/215532).? I tried to research the use of the colon (:) as a delimiter to indicate location in turnout user names.? Unfortunately, I found very little other than the parameter in Engine Driver.??

Is there anyplace in the turnout table, general parameters, WI Throttle server, etc. where I need to specify the use of this delimiter?

Is there a problem if I put the colon in some user names and not others?

If I have turnouts with user names of "YCLSF4" and "Y:CLSF3".? ? ?(One with, one without colon.)
? ? Then in Engine Driver, enter the name by typing "Y..." the "Y" doesn't show, and I continue with "CLSF4" i end up with "CCLCLSF4" displayed.
? ? And I type "Y:CLSF3": again Y not displayed, so I get "CLSF3".

This was on the Raspberry Pi downloaded 4/16/2019.??
Panel Pro: 4.17.3 + R12ded

Engine Driver: V2.35.169

I will be going down to the club (Tuesday, unless I get some suggestions earlier) and delete all turnouts, then re-add with user names without any colons.? ?

If fixing this requires an upgrade to later release, then I will need an answer to the other problem referenced above..??

Many thanks,
Clark


Locked Re: Raspberry Pi number of throttles #rpi

 

The problem with number of phones connected to a raspberry PI is with the newer version of the S/W on the pi.

I had upgraded to Steve's latest version in February because of issues with displaying turnouts.? We then started to have a limit of 8 phones attached.? Tonight, I replaced the SD card in the PI with the older version.? We had (best count w/ younger engineers running around) 11 phones connected with no problem.? Four of the phones were not doing anything, but they were all connected to the PI and Engine driver connected to the layout at the same time.? (I turned the phone on brought up engine driver, connected, then set it down and turned on the other...) .? I was able to open the turnout table.? There was not much of a list due to other issues and it was busy with other members and visitors, so no room to run any of my trains at peek of activity.? However, I was connected to JMRI on the pi with the old S/W.

So, I don't know if the problem is in the OS, JMRI, or Steve's S/W or ???? (The only other caveat I do have more turnouts defined in the newer version.) Clearly, the old version handles 11 or more phones.? the new version only handles 8 phones.

??
Old release that worked? was downloaded 4/16/2019.
JMRI panel pro version:?4.17.3 + R12ded

New release limited to 8 phones:? ?downloaded 2/25/2023
JMRI??panel pro version: 5.3.2 + R7ca361ca43?

My phone had Engine driver: V2.35.164;? OS 7.0;? but other phones had other S/W, probably including a couple iphones.

For me, if I can figure what I am doing wrong with turnout names, the old release is a livable solution for us.? However, if you want me to try something, let me know.? I will keep the SD card with new S/W around for that purpose.

So, that brings me back to my problem with turnout names (/g/jmriusers/message/214388) which I will go and "reopen?" under that topic..

Many thanks,
Clark


Locked Re: Minor bug when adding a new classification track #operationspro

 

Thanks Tom,

That's the way it has been for a long time.? I'll fix it in the next test release.

Dan


Locked Re: Which decoder information Bachmann 39-737ADC BR Mk2F DBSO coach #esu #definitions

 

开云体育

?All,

On 13 Apr 2023, at 11:42 pm, Duncan via groups.io <dunradar09@...> wrote:

ESU Roco 10745
???Either Roco 10745 old
???Or ?????Roco 10745 v56
ESU SwitchPilot
???Either SwitchPilot
???Or ??????SwitchPilot Servo
???Or ??????SwitchPilot Servo (MA)
???Or ??????SwitchPilot Servo (2013)
???Or ??????SwitchPilot V2.0
???Or ??????SwitchPilot Servo V2.0

For those decoders (CV 007 < 255 and CV 008 = 151) it's not possible to uniquely determine the decoder model. CV7 is only a firmware version and subject to change (LokProgrammer software/hardware allows user to update firmware).

Only those decoders that return CV7=255 and CV8=151 support indexed CV mapping and access to the RailCom Product ID CVs.
These are?CV="0.255.261"to?CV="0.255.264" and make a 4 byte?Little Endian value. The LokProgrammer software has a Supported Decoders menu item and this has a "many to one" mapping of Product IDs to Decoder Models .

Before my health failed I used LokProgrammer's "Supported Decoders t"o maintain a mapping list for JMRI definitions use:
<>

Dave in Australia



Locked Re: Use of hyphen in car, location, and track fields #operationspro

 

On Thu, Apr 13, 2023 at 07:07 PM, mithrander1972 wrote:
Does it apply to color or load fields?
Color no, load yes. There are 20 references to the word "hyphen" in the help text.

From the help:

In the "Add Location" window, enter the name of the location in the field labeled "Name". The location name must be unique; the program will not allow two locations with identical names. However, if you want more than one location to have the "same" name for your Manifests and switch lists, add a hyphen and a number to the locations name, or a hyphen and a left parenthesis. For example, "Boston-1", "Boston-2" and "Boston-(example)" will print as "Boston". The program will remove the hyphen and number, and hyphen and text when there's a left parenthesis when printing Manifests and switch lists. Note that the "hyphen" feature also works for track names.

Road

Select the road (reporting mark) for the car. If the desired road doesn't exist, press the "Edit" button to the right of the road select menu box. This will allow you to add a new road or delete any that you don't need. You can use the "hyphen" feature to create unique road names. The program will drop the hyphen and the following characters when printing a Manifest or switch list.

Car subType

?

OperationsPro? supports the ability to add a subType to a car's type field using the "hyphen" feature. Adding a "-subType" to your car type will create a new type of car. The "-subType" is not printed on the Manifest or switch lists. For example you might have coal cars with loads and coal cars that are empty. If you enter the car type as HopCoal-C for your cars with coal, and HopCoal-E for the empties, the program can use this information to assign and deliver cars to their appropriate trains and locations respectively.

Add Button

To add a new car attribute name, enter the desired text in the text box and press the "Add" button. FYI, the program when building a train will report to the system console the longest name for each car attribute. This is important if you decide to use the tabular format for your Manifests and switch lists, as the program will use the longest name to determine the spacing required for each attribute.

You can also use the "hyphen" feature when creating new car type, road, and load names. The program will drop the characters after the hyphen when printing a Manifest or switch list.

Train Road Options

You can control the roads that the train will service. Select under the "Edit Train->Tools->Train Road Options". This will bring up a new window with several options.

If the train will service any road, select the "Accept all" radio button. If you want to accept only some roads, select "Accept only" radio button. Then use the menu of roads and "Add Road" button to make a list of roads that the train will service. To remove a road from your list, select the road from the menu and use the "Delete Road" button.

To build a list of roads that the train will not service, select the "Exclude" radio button. Then use the menu of roads and the "Add Road" button to build a list of roads that this train will not service.

?

You can use the "hyphen" feature to create unique road names. For example, say you wanted a certain SP caboose to only ride this train. You could create a new road name, for example "SP-special", assign that road name to the caboose, and exclude the road name from the other trains. Your Manifest would continue to show the caboose road name as "SP".



Locked Re: RFID Connectivity #rfid

 

Tom,

Tried the revised PN532 sketch. All I get now is 'No PN53X Present'. I notice you had changed the libraries from Adafruit to something else. Would that be something to do with it? The original sketch still works, but just reads once.

Baffling, eh!

Steve


Locked Minor bug when adding a new classification track #operationspro

 

Please advise if this is not the correct forum to report bugs.? Thanks.

Issue:
when adding a new classification track, clicking on "Track Destinations" has no effect.

Operating system: Windows 11, current update
JMRI version:?production; see attached screenshot

Steps to reproduce:

1. Navigate to "OperationsPro > Locations" and edit a location.
2. In the "Edit Location" window, click "Add C/I Track".? This should bring up the "Add C/I Track" window.
3. In the "Add C/I Track" window, enter the name and length of the track. Click "Add C/I Track" to save the track.
4. In the "Add C/I Track" window, navigate to "Tools > Track Destinations".

Expected behaviour: "Track Destinations" window opens.
Actual behaviour: window does not open.??

Workaround: exit the added C/I track and re-enter it again.??
--
Tom


Locked Use of hyphen in car, location, and track fields #operationspro

 

Are there documented rules for how the program treats numbers and/or characters after a - in a fields?? I've found sparse info in the help info.? Doing some testing I've found that how the program handles this varies by field.

For example;
  • In the road name & car type fields; anything(number or alphabetic character) after a hyphen is truncated and spaces before or after the hyphen don't matter.
  • In the car number, location and track name fields; a number immediately following a hyphen is truncated, and alpha characters after a -( are truncated. A space after the hyphen causes the following text to not be truncated unless there is a -(.
Does the hyphen feature only apply to location, track, road name, car & loc road number, type, location, track, destination, and destination track?? Does it apply to color or load fields?

There are likely other nuances to the use of a hyphen that would be good to understand as I create names for my cars, locations, and tracks.


Locked Re: Lenz LZV200 v4 and 63 functions #lenz

 

开云体育

Hi all…

I’m also a (very satisfied) Lenz user with a LZV200 running Ver. 4 software that is described on their website as,

“Software version 4.0 also expands the number of switchable function outputs.?A total of 69 functions can now be addressed in locomotive decoders (F0 to F68).?Please note: The use of 69 functions requires a handheld controller LH101/LH101-R from version 2.1, alternatively the use of the PC interface of the LZV200 or an external interface.”

Although Lenz is presently more popular in Europe than in North America, it now offers a long-awaited wireless throttle available and is a really great product and I would suspect that their newly expanded function base will gain traction with competing manufacturers. ?So I would hope that the JMRI development team would seriously consider revising the functionality for this system as I’d be amazed if other systems aren’t forced to do the same to offer comparable functionality; I would assume that many JMRI users also reside in other areas of the world outside of North America that would benefit as well.

Jim


Locked Re: Lenz LZV200 v4 and 63 functions #lenz

 

Phil,

My guess is that JMRI doesn't support it for Lenz LZV200 command station. Maybe even that it isn't supported for XpressNet, but I'm not sure.

---
Daniel Bergqvist
JMRI developer

2023-04-13 20:04 skrev Phil G:

OK, so I now have a Lenz LZV200 running their v4 firmware which, among other things, brings 63 functions for each loco
My LH101 recognises the extra functions, but (so far) JMRI does not
I changed a roster entry to use F29 as the sound function, and added a label for F29 to match
Neither WiThrottle nor the internal JMRI throttles show F29 - they top out at F28 as before
SO.......
Is there a setting somewhere in JMRI I need to tweak to get the higher functions, or is this really not yet supported by JMRI?? If so, I'll raise an issue to (hopefully) get it on the list
Fingers crossed
Phil G
On 05/04/2023 21:51, phil@... wrote:
I’m about to upgrade my Lenz LZV200 command station to their v4. One of the new features is support for functions up to F63
Is there anything I need to do to make JMRI and WiThrottle aware or will they automagically notice the increased function support?
Thanks
Phil G
Sent from my iPad