Skip to content

Program Scripts

Program Scripts are for behavior that is too specific for a simple scene but should still run inside the Haptique OS project.

  • Prepare a room based on time of day.
  • Coordinate AV power, inputs, and lighting.
  • Add conditional behavior around device state.
  • Normalize integration responses into logical device state.
  • Run installer-defined actions from a scene, favorite, RS90 button, or AI-approved command.
  1. Start from one small behavior.
  2. Name the script by what the user outcome is.
  3. Limit the devices the script can control.
  4. Add confirmations for destructive or broad actions.
  5. Test the script from Haptique OS before mapping it to mobile, RS90, or AI.
  6. Log important state changes for support.

Scripts should support the project model. A script can power a scene or favorite, but the user should still see understandable Spaces, logical devices, scenes, and labels in the apps.