{% extends "base.html" %} {% block title %}Home{% endblock %} {% block content %}
{{ connection.prefix }}{{ connection.__class__.__module__ }}{{ topics|length }}To pick a different driver at startup, open the PMRI launcher, switch to the Startup Options tab, choose the desired default connection, then restart the web service from the launcher's Service tab.
Reading from {{ settings_root }}
Active profile determines which PanelPro.xml,
roster.xml, and per-loco data the server uses. Switching
clears the in-memory bean tables and repopulates them from the new
profile.
Name must be
filesystem-safe (no spaces, slashes, or colons). A directory of
that name is created under the settings root with an empty
PanelPro.xml — populate it via the picker above or
the copy-beans widget below.
| Name | Id | |
|---|---|---|
| {{ p.name }}{% if p.id == active_profile_id %} active{% endif %} | {{ p.id }} |
{% if p.id != active_profile_id %} {% else %} can't delete the active profile {% endif %} |
Turnouts / sensors / lights are upserted by system name; roster entries are upserted by id. Same-named rows in the target are overwritten; unrelated rows are left alone. A roster copy into the active profile also broadcasts the new RL to any connected WiThrottle client.
{% else %}No profiles.xml found at the settings path
above. Either copy your JMRI profiles.xml + profile
directories there, or set the JMRI_SETTINGS_DIR
environment variable to point at where they live (e.g.
JMRI_SETTINGS_DIR=/mnt/jmri) and restart the server.
Click a topic to expand its help panel — summary, available methods, and a request/response example. Full class + method reference is at /docs/.
{{ t.help.summary }}
{% if t.help.methods %}| Method | What it does |
|---|---|
{{ m.name }} |
{{ m.description }}
{% if m.example_request %}
examplerequest {{ m.example_request }}
{% if m.example_response %}
response {{ m.example_response }}
{% endif %}
|
Source: {{ t.help.source }}