Intro text
// All possible functions to use. // Type information // objectId: string // startTimeSecs, durationSecs: float // intensity, temperature, volume, percentage: float 0..100 // intValue: value // Outputs setActive(objectId, startTimeSecs) setInactive(objectId, startTimeSecs) pulse(objectId, startTimeSecs, durationSecs) // Actuators setValue(objectId, startTimeSecs, intValue) setProportion(objectId, startTimeSecs, percentage) transitionProportion(objectId, startTimeSecs, percentage, durationSecs) // Lights setLight(objectId, startTimeSecs, rgbColor, temperature, intensity) // RGB color like 0xFF0000 transitionLight(objectId, startTimeSecs, rgbColor, temperature, intensity, durationSecs) // Video, Audio playMedia(objectId, startTimeSecs, mediaFile, startPosSecs, volume) stopMedia(objectId, startTimeSecs, volume, durationSecs) fadeVolume(objectId, startTimeSecs, volume, durationSecs) // Image showImage(objectId, startTimeSecs, mediaFile) // Text showText(objectId, startTimeSecs, text) // View (custom view) showView(objectId, startTimeSecs) // Image, Text, View hide(objectId, startTimeSecs) // HUE Scene playScene(objectId, startTimeSecs, scene) // Custom command execute(objectId, startTimeSecs, customParams) // Inputs, RFID Reader and Sensor var result = getState(objectId)