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.
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.
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.

























