Uses of Annotation Interface
org.openhab.core.model.script.engine.action.ActionDoc
-
Uses of ActionDoc in org.openhab.core.model.script.actions
Modifier and TypeMethodDescriptionstatic Object
ScriptExecution.callScript
(String scriptName) Calls a script which must be located in the configurations/scripts folder.static Timer
ScriptExecution.createTimer
(@Nullable String identifier, ZonedDateTime zonedDateTime, org.eclipse.xtext.xbase.lib.Procedures.Procedure0 closure) static Timer
ScriptExecution.createTimer
(ZonedDateTime zonedDateTime, org.eclipse.xtext.xbase.lib.Procedures.Procedure0 closure) static Timer
ScriptExecution.createTimerWithArgument
(@Nullable String identifier, ZonedDateTime zonedDateTime, Object arg1, org.eclipse.xtext.xbase.lib.Procedures.Procedure1 closure) static Timer
ScriptExecution.createTimerWithArgument
(ZonedDateTime zonedDateTime, Object arg1, org.eclipse.xtext.xbase.lib.Procedures.Procedure1 closure) static void
Audio.decreaseMasterVolume
(float percent) static @Nullable String
Ephemeris.getBankHolidayName()
static @Nullable String
Ephemeris.getBankHolidayName
(int offset) static @Nullable String
Ephemeris.getBankHolidayName
(int offset, String filename) static @Nullable String
Ephemeris.getBankHolidayName
(String filename) static @Nullable String
Ephemeris.getBankHolidayName
(ZonedDateTime day) static @Nullable String
Ephemeris.getBankHolidayName
(ZonedDateTime day, String filename) static long
Ephemeris.getDaysUntil
(String searchedHoliday) static long
Ephemeris.getDaysUntil
(String searchedHoliday, String filename) static long
Ephemeris.getDaysUntil
(ZonedDateTime day, String searchedHoliday) static long
Ephemeris.getDaysUntil
(ZonedDateTime day, String searchedHoliday, String filename) static @Nullable Item
Semantics.getEquipment
(Item item) Semantics.getEquipmentType
(Item item) static @Nullable String
Ephemeris.getHolidayDescription
(@Nullable String holiday) static @Nullable Item
Semantics.getLocation
(Item item) Semantics.getLocationType
(Item item) static float
Audio.getMasterVolume()
static @Nullable String
Ephemeris.getNextBankHoliday()
static @Nullable String
Ephemeris.getNextBankHoliday
(int offset) static @Nullable String
Ephemeris.getNextBankHoliday
(int offset, String filename) static @Nullable String
Ephemeris.getNextBankHoliday
(String filename) static @Nullable String
Ephemeris.getNextBankHoliday
(ZonedDateTime day) static @Nullable String
Ephemeris.getNextBankHoliday
(ZonedDateTime day, String filename) Semantics.getPointType
(Item item) Semantics.getPropertyType
(Item item) Semantics.getSemanticType
(Item item) static void
Audio.increaseMasterVolume
(float percent) static String
Interprets the given text.static String
Interprets the given text with a given Human Language Interpreter.static String
Interprets the given text with a given Human Language Interpreter.static boolean
Ephemeris.isBankHoliday()
static boolean
Ephemeris.isBankHoliday
(int offset) static boolean
Ephemeris.isBankHoliday
(int offset, String filename) static boolean
Ephemeris.isBankHoliday
(String filename) static boolean
Ephemeris.isBankHoliday
(ZonedDateTime day) static boolean
Ephemeris.isBankHoliday
(ZonedDateTime day, String filename) static boolean
Semantics.isEquipment
(Item item) static boolean
Ephemeris.isInDayset
(String daysetName) static boolean
Ephemeris.isInDayset
(String daysetName, int offset) static boolean
Ephemeris.isInDayset
(String daysetName, ZonedDateTime day) static boolean
Semantics.isLocation
(Item item) static boolean
static boolean
Ephemeris.isWeekend()
static boolean
Ephemeris.isWeekend
(int offset) static boolean
Ephemeris.isWeekend
(ZonedDateTime day) static void
Voice.listenAndAnswer
(@Nullable String source, @Nullable String sink) Executes a simple dialog sequence without keyword spotting for a given audio source using default speech-to-text service, default text-to-speech service, default human language text interpreter and default locale.static void
Voice.listenAndAnswer
(@Nullable String stt, @Nullable String tts, @Nullable String voice, @Nullable String interpreters, @Nullable String source, @Nullable String sink, @Nullable String locale, @Nullable String listeningItem) Executes a simple dialog sequence without keyword spotting for a given audio source.static void
static void
static void
static void
static void
Audio.playSound
(String sink, String filename, PercentType volume) static void
Audio.playSound
(String filename, PercentType volume) static void
Audio.playStream
(String url) static void
Audio.playStream
(String sink, String url) static void
Says the given text.static void
static void
Says the given text with a given voice.static void
static void
Says the given text with a given voice through the given sink.static void
static void
Voice.say
(Object text, @Nullable String voice, @Nullable String sink, @Nullable PercentType volume) Says the given text with a given voice and the given volume through the given sink.static void
Voice.say
(Object text, @Nullable String voice, PercentType volume) Says the given text with a given voice and the given volume.static void
Voice.say
(Object text, @Nullable PercentType volume) Says the given text with the given volume.static void
Audio.setMasterVolume
(float volume) static void
Audio.setMasterVolume
(PercentType percent) static void
Voice.startDialog
(@Nullable String source, @Nullable String sink) Starts dialog processing for a given audio source using default keyword spotting service, default speech-to-text service, default text-to-speech service and default human language text interpreter.static void
Voice.startDialog
(@Nullable String ks, @Nullable String stt, @Nullable String tts, @Nullable String voice, @Nullable String interpreters, @Nullable String source, @Nullable String sink, @Nullable String locale, @Nullable String keyword, @Nullable String listeningItem) Starts dialog processing for a given audio source.static void
Voice.stopDialog
(@Nullable String source) Stops dialog processing for a given audio source.