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: How can I use Script or Sensor to start servers?
#webserver
#withrottleserver
I haven’t tried it, but I think this will start the withrottle server:
import jmri jmri.jmrit.withrottle.WiThrottleCreationAction().actionPerformed(None) And this should start the regular web server: import jmri jmri.web.server.WebServerAction().actionPerformed(None) Bob On Sep 18, 2024, at 7:51?AM, Phil in gorgeous Young Harris via groups.io <philabernathy@...> wrote:— Bob Jacobsen rgj1927@... |
开云体育Hi En-TACT ? For your USB Interface set up, see Larry Puckett’s YouTubes, Part 1 at: & Part 2 at: ? Regards Marcus ? From: [email protected] <[email protected]> On Behalf Of En-TACT
Sent: Wednesday, 18 September 2024 12:23 AM To: [email protected] Subject: Re: [jmriusers] JMRI Error: Service mode programmer NCE is offline. #nce ? Is it normal for NCE to go "offline"?? If so, is there a setting to turn it off or adjust the timing? |
Locked
Re: 5.9.4 and withrottle
#withrottleserver
Just checked and its fine on 5.9.3 too.
So the Withrottle issue only occurs with 5.9.4
John K |
On 9/18/2024 7:32 AM, Ken Heywood via groups.io wrote:
A single headed mast can only indicate speed.To be clear, the prototype _can_ use single-headed masts for many different things, beyond the "typical" use in ABS signal systems. Two modeled cases with which I am familiar, which existed in real life include: - Ann Arbor Railroad's color-light "train order signal" at Cadillac, MI, which shows that the train need not pick up orders at the station, or the need to pick-up one or more "train orders" before continuing, shown as a flashing-red or flashing-green lamp; or - C&O Clifton Forge Yard's color-light "scale movement" signal, which can give a "direction indication" - as in "back-up and re-weigh the last car". In general, a "signal" that looks like an ABS signal, but which must be interpreted in some other way, will be given a "different" aspect to allow crews to interpret it correctly, and/or the signal will be specificly "called out" in the "special instructions" of the Timetable, with interpretation instructions. JMRI's "SML" generally _does not_ directly apply to these "non-ABS" uses of single-headed signals, though. A JMRI User _could_ use a "signal mast" or a "signal head", _without SML_, with some other logic (Jython, Logix, etc) to model this. Regards, Billybob |
Locked
5.9.4 and withrottle
#withrottleserver
Mac OS 14.6.12
Java 11.0.13
?
For info. Upgrade from 5.9.2 to 5.9.4 caused Withrottle to stop connecting.
Reverted to 5.9.2 and Withrottle went back to normal
?
John K |
Locked
Re: Signal heads/ masts
Two and three head masts indicate speed and route at turnouts (particularly at the points) as in this interlocking ...
?
?
Approaching the frog may be a single head mast or dwarf if simple main or entry to main.
Track configuration beyond the turnout might be multiple head if there are other elements or routes.
One on my prototype had a double headed mast on simple entry to the main (at one time, there was a passenger station beyond).
--
Ken NYNH&H, Old Colony Division, Cape Cod Branch (1949-1959) Loconet * JMRI 5.9.3 * OSX,Win10,Ubuntu Blog: ?
|
Locked
How can I use Script or Sensor to start servers?
#webserver
#withrottleserver
In a panel, I have a momentary sensor to start the Web Server and the WiThrottle server.? I just cannot find a method or way to turn on those servers with either a script or LogixNG action.? I can do this in a profile when starting JMRI, but was hoping for a Panel trigger.
?
I browsed through the sample scripts in JMRI but nothing looked relevant.? I looked at each LogixNG action also, as well as Logix.
?
Is there a way to start the Web Server and WiThrottle servers with a sensor activation?
?
Thanks for any ideas!
?
Phil? |
A single headed mast can only indicate speed.
Depending upon the signal system selected, the selected system may have multiple mast types.
I use AAR-1946 with single head, two head, and three head searchlight masts.
I have a couple three head masts at an interlocking that indicate both speed and route aspects.
--
Ken NYNH&H, Old Colony Division, Cape Cod Branch (1949-1959) Loconet * JMRI 5.9.3 * OSX,Win10,Ubuntu Blog: ?
|
开云体育Terry, ? I've got three different NCE systems attached. Here is my Device Manager list: ? Here is what is what: ? You may also find that you might have to force remove the existing driver on the device and start over doing the driver install. I would do a reboot between each step like remove driver, reboot, install driver, reboot, check driver (Device Manager), install driver again if not looking good, reboot, etc… ? -Ken Cameron, Member JMRI Dev Team
? ? |
Thank you for reporting this. It's probably a mistake in the decoder configuration - the ESU function output configuration is a lot and I'll need to spend some time on it to update JMRI to match all the options on all the outputs on all the decoders for the most recent firmwares (we're also still missing class light logic and dynamic sound).
toggle quoted message
Show quoted text
Can you open an issue on github for me to remember this: ? If not, let me know and I'll do. Heiko On 9/18/24 07:32, Labo44 via groups.io wrote:
JMRI DecoderPro decoder definitions --
eMails verschlüsseln mit PGP - privacy is your right! Mein PGP-Key zur Verifizierung: |
Locked
Re: Apache server
If you can serve your site on port 80, Cloudflare's free level can provide an SSL proxy for your site. See screenshot.
?
|
Yup, here it is: /g/jmriusers/message/227611
?
In that case it was a USB-Serial adapter being used to connect to a PH-Pro, but that adapter used the same CH340 chip that is at issue here:
?
?
On Sun, Sep 8, 2024 at 08:22 PM, En-TACT wrote:
I'd try the CH340 drivers that post points to.? It certainly can't hurt, and it may just resolve the issue. ?
HTH,
Steve
"Breezlys" |
Terry M,
Well that's clearly not a NCE-USB device. It may be that both parts of the driver are not installed for the NCE-USB. One part deals with it at the USB level of device. The second driver makes COM device to that. Sometimes trying to install the driver twice works. But one trick in Device Manager is to go to the View tab and then select "Show Hidden Devices" and you might get to see some partially installed devices. -Ken Cameron, Member JMRI Dev Team www.jmri.org www.fingerlakeslivesteamers.org www.cnymod.com |
to navigate to use esc to dismiss