Back to Support

Script knowledge base

Scene scripts, logic examples and integration snippets.

The script library collects scene templates, linkage logic and debug scripts for hotel guestroom control, building automation and whole-home projects — covering check-in welcome, vacant energy saving, card power, curtain linkage and more. Integrators and engineers can reuse or extend them; full SDK and API docs are in the developer API and download center.

Script examples

    • Check-in linkage
    • PMS

    Check-in welcome scene

    After PMS check-in, auto turn on lights, close curtains, start HVAC at preset temperature and clear DND.

    • Checkout
    • Energy saving

    Checkout reset & power-down

    After checkout, turn off lighting and socket loads, HVAC to eco mode, reset room panel display.

    • Card power
    • Door sensor

    Card power + door sensor linkage

    Insert card to power on and trigger welcome; delayed power-off on removal; corridor light hints on door open/close.

    • Sleep mode
    • Panel

    One-tap sleep scene

    Turn off main lights and TV, keep night light, close curtains, HVAC to quiet sleep curve.

    • Meeting mode
    • Business room

    Meeting / guest mode

    For business suites: main lights 80%, curtains half open, HVAC medium fan speed.

    • SOS
    • Alert

    SOS emergency call linkage

    Panel SOS pushes to front desk and ops, blinks corridor indicator and logs the event.

    • RCU
    • Comms

    RCU point batch patrol

    Iterate all RCU points in a room, output online rate and abnormal comms addresses for batch acceptance.

    • Modbus
    • HVAC

    Modbus slave address scan

    Scan addresses 1–247 to identify online HVAC, meters and other third-party Modbus devices.

    • Public area
    • Schedule

    Public area lighting schedule

    Auto-control lobby, corridor and elevator hall lighting by business hours; holiday exception rules.

No scripts in this category — choose another filter or contact us for custom samples.

How to use

  • Copy & reuse

    Examples can be imported into the dev platform or copied into project script editors — adjust room and point mapping.

  • Version control

    Create script branches per project; run scene regression and exception tests in sandbox before go-live.

  • API integration

    Scripts linked to PMS/CRS can use Webhook and REST API — see developer docs.

  • Technical support

    Complex linkage or custom logic via ticket; contracted projects include script review.