Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOXONE_HOSTYesMiniserver access (read only): URL of the Miniserver, e.g. http://<miniserver-ip>. Use a dedicated user with minimal rights.
LOXONE_PASSYesMiniserver access (read only): password of a dedicated user with minimal rights.
LOXONE_USERYesMiniserver access (read only): username of a dedicated user with minimal rights.
LOXONE_CATALOGNoCatalog file (default: catalog.json next to the server; created by catalog_learn).catalog.json
LOXONE_BACKUP_DIRNoBackup folder for Miniserver backups (default: Documents\Loxone\Miniserver-Backup).Documents\Loxone\Miniserver-Backup
LOXONE_CONFIG_DATANoIcon library: path to the Loxone Config data folder (default: C:\ProgramData\Loxone).C:\ProgramData\Loxone
LOXONE_ICON_LIBRARYNoIcon library: path to an IconLibrary.zip (alternative to LOXONE_CONFIG_DATA).
LOXONE_PROJECTS_DIRNoProject folder containing your Loxone Config project files (default: Documents\Loxone\Loxone Config\Projects).Documents\Loxone\Loxone Config\Projects

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
project_list_filesA

Lists the Loxone project files (.Loxone) in the project folder, newest first.

project_set_mainA

Defines which files belong to the main project (pattern with , e.g. 'my_home_v.Loxone'). project_open without a path then opens the newest matching file. Without pattern: show the current setting.

project_openA

Opens a Loxone project file for reading and returns an overview (title, version, pages, most common block types). Without a path, the newest file of the main project is used (see project_set_main); a bare file name is looked up in the project folder. The field 'abgleich' compares it with the last Miniserver backup and the Loxone Config autosave. The file is never modified.

verify_loadA

Call after loading a file into the Miniserver with Loxone Config: waits until the Miniserver answers again (up to 3 min), backs up the running program (Git) and compares it with the expected project file (default: newest file of the main project). cleanup=True moves older versions of the main project to the recycle bin on success.

project_list_pagesA

Lists all program pages of the open project with room, category and number of blocks.

project_get_pageB

Shows one program page: its blocks, their settings and connections, with placeholders resolved.

project_findC

Searches blocks by title/description, type, room, category or page.

project_get_blockB

Shows one block in detail: connectors, set values, sources and targets, and values that deviate from the usual defaults.

project_traceC

Follows a signal forwards or backwards through the logic (across placeholders and pages).

catalog_learnB

Learns block types, connectors and templates from project files (needed once before editing).

catalog_list_typesC

Lists the block types known to the catalog.

catalog_get_typeC

Shows connectors, parameters and template of one block type.

block_addC

Adds a new logic block of a catalog type to a page (placed inside the sheet, not overlapping), optionally with parameter values.

ref_addB

Adds a placeholder (input or output reference) for a block or peripheral object to a page, so it can be wired there.

block_connectC

Connects an output of one block to an input of another on the same page.

block_disconnectC

Removes a connection between two blocks on a page.

block_set_paramsC

Sets connector default values, attributes (e.g. Formula, Title) or the description (name in the app) of a block.

block_set_invertedB

Inverts an input of a block or removes the inversion. A free, inverted input is permanently on (e.g. to lock something).

io_add_virtual_inputB

Adds a virtual input under 'Virtual inputs'. Values are set via HTTP (/dev/sps/io//), e.g. from Home Assistant. visu=True shows it in the app, unit is the display format (e.g. '<v.1>°'). text=True creates a text input (send the value URL-encoded; WARNING: querying /state on a text input overwrites it). desc is the name in the app. System variables are fed via an output placeholder of the system variable, not via 'source'.

build_planA

Runs a whole build plan in one call - all or nothing. Each step is a dict with 'op' and its arguments, e.g. {"op":"baustein","typ":"And","titel":"Rain and open","seite":"Page 2","als":"and1"} or {"op":"verbinden","von":"ha_rain","nach":"$and1","nach_eingang":"I2","seite":"Page 2"}. Ops (German keys, see plan.py): baustein, kopie, status, eingang, befehl, rs232, platzhalter, verbinden, trennen, werte, negieren, anzeige, statistik, position, loeschen, peripherie_loeschen, seite, mitteilung, kategorie_umhaengen, kategorie_loeschen. 'als' names a new object, '$name' refers to it. Missing placeholders are created by 'verbinden'. Afterwards the result is validated; with save_as (new file name) it is saved if validation passes.

project_textA

Readable text view of the program (or working copy): per page the blocks with settings and inputs ('I1 <- Source.Output') and the outputs to peripherals. Without page: whole project (long).

backup_miniserverA

Backs up the program currently running in the Miniserver (newest file in /prog via FTP, download only) as XML plus a readable text view into a local Git repository and reports what changed since the last backup. Nothing is stored if nothing changed.

page_addC

Adds a new, empty program page (after the last page), optionally with room and category.

notification_addB

Adds a Loxone notification (push/message in the Loxone app) and wires 'source' to it on 'page'. 'text' is the message sent on a rising edge of 'source'.

project_lintA

Pre-load check of the whole project (or working copy): errors Loxone Config drops silently (invalid placeholder outputs, dangling connections, placeholders without target) plus blocks outside the sheet, overlaps, titles with < or %, placeholders without connection.

block_set_positionA

Moves a block or placeholder on its page (x/y in Loxone units, grid 96; the sheet extends to about 23,400 x 16,300).

block_cloneA

Adds a copy of an existing block with all settings and sub-objects to a page, without its connections. This also creates large blocks such as lighting controller, room controller or automatic blinds that block_add cannot create. Then wire it (block_connect) and check the settings.

io_set_statisticsC

Enables statistics for an analog input or memory (on every change, accumulated - as Loxone Config does for measurements) or disables it.

icon_findA

Searches the Loxone icon library by name or keyword (German keywords work best), e.g. 'sonne', 'regen', 'thermometer'. Returns name and UUID for state_add.

state_addA

Adds a status block that shows its own text, icon and colour per state in the app, and wires 'source' to I1 (placeholder created if needed). states: [{"wert": 1, "text": "Sunny", "symbol": "sun", "farbe": "#ffc800"}, ...]. compare='gleich': state applies if I1 equals wert; compare='ab': I1 >= wert, checked top to bottom (largest threshold first). Text may contain or <v1.1> (value of I1). default_* applies if no state matches. Room/category default to those of 'source'.

io_add_commandB

Adds a virtual output command under an existing virtual output (default 'Home Assistant'), e.g. a push: cmd_on='/api/webhook/?msg=Text'. With source and page it is wired there right away (output placeholder).

rs232_addB

Adds a command (kind='befehl', code = command bytes) or a sensor (kind='sensor', code = check pattern such as \x07\xF0\x00\xDE\x14\s3\1) under an RS232 extension, modelled on existing objects there. Wire it on pages with ref_add/block_connect.

io_set_displayC

Shows or hides an input, memory or constant in the app and sets its display format, e.g. '<v.1>°' or '%'.

periphery_removeA

Deletes an unused virtual input/output, an empty virtual output, a constant or the weather server. Refuses while the object is still used anywhere; permission entries are removed with it.

structure_listA

Lists all rooms (kind='raum') or categories (kind='kategorie') with their number of assignments.

structure_removeB

Deletes an empty room or category including its permission group.

structure_reassignC

Moves all assignments from one room/category to another.

block_removeC

Deletes a block or placeholder from a page together with its connections.

block_addable_typesB

Lists the block types that block_add can create safely.

project_changesA

Lists all changes of the working copy compared with the opened file (new/removed blocks, connections, values).

project_validateA

Checks the working copy for problems introduced by the changes (duplicate IDs, broken references, permissions) and warns about layout issues of new blocks.

project_undoB

Undoes the last change of the working copy.

project_discardB

Discards all unsaved changes of the working copy.

project_saveA

Saves the working copy as a NEW file in the project folder (never overwrites). Validation runs first; with errors nothing is saved. The project timestamp is set to now. Open the new file in Loxone Config, check it and load it into the Miniserver yourself.

sync_checkA

Compares project file, Loxone Config autosave and Miniserver program (pass miniserver_xml_path, e.g. the Miniserver-Backup file, for a content comparison). Call before every change.

project_analyzeB

Analyses the project: errors, clean-up candidates and improvement suggestions (stufe = fehler | aufraeumen | verbesserung).

live_statusA

Read-only Miniserver status: last program change, CPU, memory, time.

live_pageC

Current values of the blocks on a page (read only, limited number of requests).

live_blockB

Current value of a block or device; for large blocks all outputs. Read only.

live_historyC

History of a block (e.g. why a blind moved: trigger and time). Read only.

recipe_listA

Lists the available recipes (complete functions that can be applied in one step).

recipe_applyC

Applies a recipe with its parameters to the working copy (all or nothing).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3/5.0

Scored across 52 tools

Disambiguation3/5

Most tools have distinct resource+action targets, but there is a dense cluster of overlapping inspection/validation tools (project_lint, project_validate, project_analyze, sync_check, verify_load, project_changes) whose boundaries require careful reading to keep apart. Similarly catalog_list_types vs block_addable_types and block_remove vs periphery_remove overlap conceptually. Descriptions mitigate this, but an agent can still easily pick the wrong analysis verb.

Naming Consistency3/5

The bulk is snake_case with meaningful domain prefixes (project_, block_, live_, catalog_, io_, structure_, recipe_), which aids grouping. However ordering is inconsistent: prefix_noun_verb (project_list_pages, project_get_block) coexists with verb_noun (page_add, ref_add, block_clone) and bare forms (verify_load, build_plan, sync_check). Readable but not a predictable single pattern.

Tool Count2/5

52 tools is a very large surface for any single server and forces the agent to search a flat namespace before acting. The domain (full Loxone project editing) is genuinely broad, and build_plan consolidates many operations, but the many narrow helpers (io_set_display, io_set_statistics, structure_reassign, icon_find) contribute to sprawl rather than a tight, scoped set.

Completeness4/5

Coverage is strong: catalog learning, project read/search/trace, block and peripheral editing, live read access, validation, undo/discard, save, backup, and post-load verification are all present, plus a batch build_plan. Minor gaps exist around page/category lifecycle details (e.g. explicit page deletion/rename outside build_plan) and richer history/restore flows, but core edit-validate-save-load workflows have no dead ends.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues