QUELEN

QUELEN / Technical Support / 43

Script Knowledge Base

Commissioning and diagnostic scripts with guardrails: read-only first, explicit scope, and no undocumented write commands on a live room.

Read-first scripts · project scope · rollback note

Overview

Commissioning and diagnostic scripts with read-first guardrails and a rollback note.

SCRIPT KNOWLEDGE BASE

Scripts with guardrails, not shortcuts.

A script is useful when it makes a commissioning check repeatable. It is dangerous when it writes to a live room without a scope, a backup and a rollback path.

  • Start with a read-only status check; confirm the room, controller and firmware identity.
  • Write commands are scoped to one room and one approved action, never a whole floor by default.
  • Record the before-state so the engineer can restore the room if the script fails.
  • Script files are shared with the project team after the interface and permissions are agreed.

See the API reference ↗

FAQ

Can I run a script on a live floor?

Only with an approved scope, a read-only first pass and a rollback note. Whole-floor writes are not a default operating method.

Are the scripts public?

Examples are public; project scripts are released with the interface and permissions agreed for the site.

Do scripts work with every controller?

No. They are versioned against the controller, firmware and interface scope. Do not assume compatibility from the example alone.

What should a script log?

Room identity, model, firmware, before-state, action, result and the engineer who ran it.

How do I report a script failure?

Raise a service ticket with the script version, room, output and the before-state log.

Files released with the project.

Scripts are versioned against the controller and the approved interface.

DOC / 01

Read-only health check

Identity, status and basic connectivity.

PY · project reviewRequest ↗
DOC / 02

Scene verification script

Scene-by-scene check with a before-state log.

PY · after approvalRequest ↗
DOC / 03

Ticket evidence collector

Label, model and status snapshot for a service ticket.

PY · project reviewRequest ↗
DOC / 04

Rollback note

What to restore if a write action fails.

PDF · per scriptRequest ↗

Read a room status before a write.

The example is deliberately read-only. It checks identity and state before any commissioning action is attempted.

# Illustrative read-only check
import requests

BASE = "https://api.example.com/v1"
TOKEN = "<project-token>"
ROOM = "1208"

r = requests.get(
    f"{BASE}/projects/{PROJECT}/rooms/{ROOM}/status",
    headers={"Authorization": f"Bearer {TOKEN}"},
    timeout=15,
)
r.raise_for_status()
print(r.json()["status"])

Start a project review

Send the room schedule, target market and the released QL code or validation model you are planning with. The team replies with the model questions, document set and sample plan.

Contact sales ↗