开云体育

Date

Locked Re: Continued ECoS Issues...think I am near a solution. It is the ECoSDetector RC 4 ports

 

On Jan 14, 2019, at 3:51 PM, Nathan Tableman <nathan@...> wrote:
Ok next question…is there an example of an ideal model for how the Railcom/fully implemented someone can share? If it is the z21, can someone share more details of what is possible/done?
The Z21 connection now has two different reporter implementations.

The Z21 itself has a built in Global Reporter ( I believe this is available on on Z21s, so both the introductory one, sometimes call the white Z21, and the more advanced ( Black ) Z21 ).

The second reporter type is a reporter connected to the Z21s CAN bus. This provides more fine grained reports.

In both cases, the reporters fill in details about the status of the decoder, but exactly what details is dependent on the decoder and the capability of the detector. ( and I am still scratching my head about why Roco used different messages for the two reporters...)

For example there is nothing in my RailCom IDs section and that also seems odd.
Reading the current ECoS reporter code, it doesn’t create RailCom IDs, it creates IDTags. If you are looking at the tables, this is one table up in the list. RailCom IDs are derived from IDTags, but they contain more information ( which is why they are not in the same table.)

If you could provide me with a couple of examples of the raw data, I would be happy to convert this code from producing IDTags to producing RailCom objects. (The data is so I can write tests, since I don’t have the hardware.)

Paul


Locked Re: JMRI is broken (?)

 

10/4 I will check all above THX?


Locked Re: Using Two Different Computers

 

开云体育

SwissChris,

1) Be aware that Dropbox is not simply cloud-based storage. It is cloud-synced storage. Full local copies are kept on every connected machine. So you can use your layout when your Internet connection is down and your files will load at full hard-drive speed. The Internet connection is only needed to sync file changes. Agree that if you have a slow connection it will take a while to upload a changed large file, but that only has to happen once. Dropbox uses LAN Sync so if your master copy changes the Dropbox app will first look for an up-to-date copy on another machine and transfer at full LAN speed.

2) Be aware that with a local networked drive, the risk of file corruption is real because if you have a JMRI file open on more than one machine, both machine are simultaneously using the same physical file and if any changes are made, corruption is a real possibility.

On 15 Jan 2019, at 1:30 PM, SwissChris <chris@...> wrote:

As my internet connection is very slow 134Kb/S I try not to use any cloud based storage. Think of how long it takes to download my roster with the the images plus the Layout XML file total of 243MB. My system works for me and if my internet crashes which it does quite frequently, I can still run the layout.

--?
Dave in?Australia


Locked Re: Using Two Different Computers

 

Ken was not aware of the simulator selection, but that is exactly what I was looking for.


Locked Re: How to request a new JMRI feature to support LCC?

 

Thanks all - I have a solution. It basically uses the steps Bob suggested above but I lacked the knowledge of how to use my HEX Events ID to create the proper LCC turnouts. the final solution involved a LCC formatting situation I was not familiar with. I was working this issue over in the LCC forum and Ken gave me the detailed formatting instructions over there to handle my problems. I can now operate my DCC/Loconet turnouts and have LCC turnout follow it. This allows the LCC logic cells to make their signal calculations based on information from the actual turnouts over on the Loconet side.

Despite me finding a solution, I think it is still a good idea for JMRI to add some code somewhere that would automate this process for us. The solution I will now be using is very awkward because it requires you to take multiple? steps via a Logix and also requires you to be able to type in 16 pairs of numbers for the HEX info...and you need to do this for each turnout involved.
--
Paul Davidson
Washita & Santa Fe RR
N scale:? Southern Oklahoma circa late 70's


Locked Re: JMRI / Digitrax PR3Extra & Windows 10

 

USBDview is included in the SOUNDLOADER 2.4 download.? it is in the Utilities folder? of Soundloader v2.0

USBDVIEW uses a file called USB.IDS to supplement device info. The PR3/PR4 will not be identified as such because
they were never added to the USB.IDS? listing.? I tried and failled for some reason.?

Surprisingly the RR-CirKits Locobuffer-USB is listed. So? I added the PR3 / PR4 to my local copy of USB.IDS? if anyone is interested.

Marc?


Locked Re: JMRI / Digitrax PR3Extra & Windows 10

 

To all who commented and who were interested .

I ran the firmware update for the Digitrax PR3. with the DigilPL Software, following the instruction.
The process went as described, with the exception for when my PR3 was done loading it said "programming Failed" not aborted.
I completed the process checking the version of the firmware version 1.0 was installed.

Reinstalling my PR3 on the layout, tested the connection, and it appears to work perfectly now running widows 10 64bit

Thanks again for the suggestions and support from the group.Emoji

Regards

Chuck
Brick, NJ


Locked Re: Using Two Different Computers

 

I edit JMRI on my main computer up in the house. I have a networked drive attached to my homehub, and can be accessed by any domestic machine. My railway is in a garden shed where I have a PC with the USB connections to the control systems, and connected by wi-fi to the house. I prefer to do the editing in the house, and use the Shed machine for running the railway and for fine tuning. I have connected the house machine to the layout by using the Web server and I have managed to change the turnouts (switches) and signals. As my internet connection is very slow 134Kb/S I try not to use any cloud based storage. Think of how long it takes to download my roster with the the images plus the Layout XML file total of 243MB. My system works for me and if my internet crashes which it does quite frequently, I can still run the layout.


Locked Re: Need some help with automation, nearly giving up....

 

开云体育

Hello
When making sections be consistent in all things. Keep the fwd & rev direction consistent. If you have 3 blocks a,b,c and 3 sections 1,2,3 then section 1 has block a, with entry from block b rev. Section 2 has block b, with entry from block a fwd and block c rev. Section 3 has block c with entry from block b fwd. When making the transit the directions will be consistent. You can reuse the same sections for both ways, one transit will be all fwd, the other all rev.
It understands true reversing sections. Half the transit will be fwd, the other half rev.
Give each section a unique fwd and unique rev sensor.
When adding SSL signals, have it gen the logic, it normally works everything out ok.
The command station fwd, rev has nothing to do with sections and transits fwd and rev. The Auto engineer dispatcher is logically separate from the physical technology being used.
Steve G.



On January 14, 2019 5:09:40 PM EST, Nathan Tableman <nathan@...> wrote:
Ok so I have followed a couple how-tos to get the automation working right and I cannot for the life of me make it work and it is really frustrating me.

This is my test system for the tech I want to put into my larger system before I start building it. I deeply desire this kind of automation because I need JMRI to do some of the smarts…my ML model can only do so much.

I dont know if images come through on this list, but here I go….

I am just missing something…because when I try to dispatch the train it gives me errors about the transit or the train doesn’t move, or it then just runs and doesn’t stop.

Here is my setup:

  • Simple big oval with a passing siding.
  • geoLine track
  • ECoS w/ block detection (this is where I found the bug in the ECoS code, so hard to fix that first, have it working, but it is less than ideal)
  • I have 4 blocks
    • Transit (through section)
    • Siding (opposite to the through section)
    • The big oval is in two blocks, just to know generally where it is
  • Blocks are also signaled with my IR MQTT and ML model (the idea is to make sure I have multiple systems to help me manage the system)
  • Layout panel with my oval
  • sensors and reporters all working
  • Signals set at turnouts and block boundaries
  • I made three sections
    • Transit
    • Siding
    • Main
  • I tried to make transit, but the direction (forward vs reverse) dont make sense to me, but I managed to get them to save without errors.
  • I set SSL and F/R sensors in logic (because the ECoS has direction, but it doesn’t seem to be used by JMRI)
  • Transit…this is where I get lost. Ideally I want to make one where the train starts on the siding, then does loops across the transit and then I bring it back to the siding.
  • Ultimately I want to have 2 trains
    • One sits on the siding while the other passes in the transit
    • As the trans moves from transit to main, the siding train moves out
    • And I can alternate them to mimic arrivals and departures at a station
  • There are other issues I have that I’d like to fix in JMRI, but those can wait
    • Sending out train info on a block via MQTT (being faked in node red, seems if I get the ECoS Railcom working right I can add two reporters one with the ID and one with the name...)
    • Binging sensors together (being done in node red like iTrain does)







--
Sent from my Android device with K-9 Mail. Please excuse my brevity.


 

I have been working with operations pro, getting info entered. Routes are move well for awhile stop make some adjustment and continue for a bit, stop and so.
Just recently I made a few adjustments and now I have my Hopper grain/Airslide? showing up in areas with a defualt L<LOAD>
When they should have a specific load or be moving around empty, I don't have these cars switching to a load status for these cars its empty or a specific load.
I have it narrowed down to a point its switching to load, but I'm not understanding the why. or what I need to be looking for to correct it.
Thanks


Locked Re: JMRI / Digitrax PR3Extra & Windows 10

 

There's a nifty little freeware program called?USBDeview.?
  • USBDeview is a small utility that lists all USB devices that currently connected to your computer, as well as all USB devices that you previously used.?
    For each USB device, extended information is displayed: Device name/description, device type, serial number (for mass storage devices), the date/time that device was added, VendorID, ProductID, and more...?
    USBDeview also allows you to uninstall USB devices that you previously used, disconnect USB devices that are currently connected to your computer, as well as to disable and enable USB devices.?
    You can also use USBDeview on a remote computer, as long as you login to that computer with admin user.
  • This utility works on Windows 2000, Windows XP, Windows 2003, Windows Vista, Windows Server 2008, Windows 7, Windows 8, and Windows 10. Both 32-bit and 64-bit systems are supported. Windows 98/ME is not supported.

On Monday, January 14, 2019, 7:35:06 PM EST, Chuck Stiles via Groups.Io <capnchuck@...> wrote:


Steve

I concur I was on the Digitrax website this morning and saw the available firmware update for 64 bit.
This will be my next step to try: Carefully, so I don't turn my PR3 into a paper weight.
Keep you posted

Glad to see responses from others who have not experienced the same problem some may be on the 32 bit. Its still good to know that this will work once I iron this out.

Thanks

Chuck
Brick NJ


Locked Re: Using Two Different Computers

 

开云体育

With Dropbox, there's no problem having panels, throttles, tables, even roster entries open at the same time on different machines. I'm often in that situation. You can't corrupt files because Dropbox is not real-time sharing, each machine is working on a local copy.

The worst-case situation is that you open, edit and save the same (panel or roster) file on two computers at the same time. In that case you may lose one set of edits, or you may end up with both sets separately saved, with one having a (Conflicted...) added to the filename. You can sort out which to keep.

The other situation is that if you add a new roster entry on one while both machines are running JMRI. In that case you may have to "Rebuild Roster" later (with only one machine running JMRI) to see the new entry.

But at no stage do you get file corruption and every change saved (or deletion) in the past 30 days is fully retrievable and recoverable.

Many times I've used that to recover from a whoopsie while testing new code!


On 15 Jan 2019, at 9:03 AM, forfoum@... wrote:

Just don't have both the laptop and the desktop playing around in the " shared files "? at the same time or something will give.

--?
Dave in Australia



Locked Re: JMRI / Digitrax PR3Extra & Windows 10

 

Steve

I concur I was on the Digitrax website this morning and saw the available firmware update for 64 bit.
This will be my next step to try: Carefully, so I don't turn my PR3 into a paper weight.
Keep you posted

Glad to see responses from others who have not experienced the same problem some may be on the 32 bit. Its still good to know that this will work once I iron this out.

Thanks

Chuck
Brick NJ


Locked alpha: MQTT -> s88, station display, and heltec variant

 

Very very very alpha, but it seems to all be working, but by no means is this done, debugged, or something to brag about (for example I just hard coded 6 sensors in the s88 code, vs. making it much more plug and play…I just needed it to work for other testing, too many open projects. But this is why I am putting it out there in case anyone else want to make it better.

Important the s88 is derivative, and I need to make sure I fix that in the notes too: based on I am making it work on ESP with MQTT.

The heltec device is an ESP with a small oled, I had a case made on a 3d printer to see what it looks like on my platform models. I have a working second variant where 1 ESP controls multiple i2c OLED’s, but again most of my work here is PoC before I start to put together my real layout.



In this set will soon be MQTT lighting controllers…I have a campfire I am working on.

As soon as I am able I will put up some more diagrams and notes, but for those who know ESP/Arduino/MQTT/JMRI and have interest, hack away! I am still missing the link from JMRI to MQTT for the displays, I am managing that via node red. I am trying to avoid Jython, so what I can get away with in node-red, I am.

Nathan


Locked Re: Turnouts (not) updating on Panel

 

Hi Tim,

Fix coded, tested and uploaded for peer review as add-on to something with similar scope?
Will post a link when there's a release available to test this in,

Steve.


Locked Need some help with automation, nearly giving up....

 

开云体育

Ok so I have followed a couple how-tos to get the automation working right and I cannot for the life of me make it work and it is really frustrating me.

This is my test system for the tech I want to put into my larger system before I start building it. I deeply desire this kind of automation because I need JMRI to do some of the smarts…my ML model can only do so much.

I dont know if images come through on this list, but here I go….

I am just missing something…because when I try to dispatch the train it gives me errors about the transit or the train doesn’t move, or it then just runs and doesn’t stop.

Here is my setup:

  • Simple big oval with a passing siding.
  • geoLine track
  • ECoS w/ block detection (this is where I found the bug in the ECoS code, so hard to fix that first, have it working, but it is less than ideal)
  • I have 4 blocks
    • Transit (through section)
    • Siding (opposite to the through section)
    • The big oval is in two blocks, just to know generally where it is
  • Blocks are also signaled with my IR MQTT and ML model (the idea is to make sure I have multiple systems to help me manage the system)
  • Layout panel with my oval
  • sensors and reporters all working
  • Signals set at turnouts and block boundaries
  • I made three sections
    • Transit
    • Siding
    • Main
  • I tried to make transit, but the direction (forward vs reverse) dont make sense to me, but I managed to get them to save without errors.
  • I set SSL and F/R sensors in logic (because the ECoS has direction, but it doesn’t seem to be used by JMRI)
  • Transit…this is where I get lost. Ideally I want to make one where the train starts on the siding, then does loops across the transit and then I bring it back to the siding.
  • Ultimately I want to have 2 trains
    • One sits on the siding while the other passes in the transit
    • As the trans moves from transit to main, the siding train moves out
    • And I can alternate them to mimic arrivals and departures at a station
  • There are other issues I have that I’d like to fix in JMRI, but those can wait
    • Sending out train info on a block via MQTT (being faked in node red, seems if I get the ECoS Railcom working right I can add two reporters one with the ID and one with the name...)
    • Binging sensors together (being done in node red like iTrain does)







Locked Re: Saving files / RasPi / TightVNC

 

Thanks very much for the help guys. Everything is working as advertised now and I have saved your comments for future reference.


Locked Re: Using Two Different Computers

 

Just don't have both the laptop and the desktop playing around in the " shared files "? at the same time or something will give.

Marc


Locked Re: Turnouts (not) updating on Panel

 

Hi Tim,

Yep, it's the feedback column which is used for the known state, I always forget to mention that bit!

No issues with using sensors for turnout feedback, I use turnouts with 1 sensor feedback with events.
Am aware of a fair few people using 2 sensor feedback with servo move complete events,
I think the points do look cool in the transition between the states when used this way,
it's definitely a preferred way of feeding turnout status back to JMRI rather than using the turnout event, especially with the CANMIO.

Normally turnout info. is outgoing with sensor incoming so the set turnout from external hasn't been explored much I think,
will likely submit an update to improve turnout behaviour tomorrow.

While exploring this,?I've realised that requesting turnout status wasn't also requesting status of the turnout feedback sensors,
so will be adding this functionality as a mini-bonus :-)

Steve


Locked Re: Using Two Different Computers

 

I recommend Dave Heap's Dropbox solution, works great for multiple computers. Very good instructions in the JMRI help library
Stefan
--
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