Uses of Interface
org.openhab.core.types.Command
Package
Description
-
Uses of Command in org.openhab.core.automation.module.script.defaultscope
Modifier and TypeMethodDescription@Nullable Object
ScriptBusEvent.sendCommand
(@Nullable Item item, @Nullable Command command) Sends a command for a specified item to the event bus. -
Uses of Command in org.openhab.core.automation.module.script.profile
Modifier and TypeMethodDescriptionvoid
ScriptProfile.onCommandFromHandler
(Command command) void
ScriptProfile.onCommandFromItem
(Command command) -
Uses of Command in org.openhab.core.io.transport.modbus
Modifier and TypeMethodDescriptionstatic ModbusRegisterArray
ModbusBitUtilities.commandToRegisters
(Command command, ModbusConstants.ValueType type) Convert command to array of registers using a specific value typeModbusBitUtilities.translateCommand2Boolean
(Command command) Converts command to a boolean true value is represented byOnOffType.ON
,OpenClosedType.OPEN
. -
Uses of Command in org.openhab.core.items
Modifier and TypeMethodDescriptionGroupItem.getAcceptedCommandTypes()
The accepted command types of a group item is the same as of the underlying base item.Item.getAcceptedCommandTypes()
This method provides a list of all command types that can be used for this itemModifier and TypeMethodDescriptionprotected void
GenericItem.internalSend
(Command command) protected void
GroupItem.internalSend
(Command command) void
-
Uses of Command in org.openhab.core.items.events
Modifier and TypeMethodDescriptionstatic ItemCommandEvent
ItemEventFactory.createCommandEvent
(String itemName, Command command) Creates an item command event.static ItemCommandEvent
ItemEventFactory.createCommandEvent
(String itemName, Command command, @Nullable String source) Creates an item command event. -
Uses of Command in org.openhab.core.library.items
Modifier and TypeMethodDescriptionCallItem.getAcceptedCommandTypes()
ColorItem.getAcceptedCommandTypes()
ContactItem.getAcceptedCommandTypes()
DateTimeItem.getAcceptedCommandTypes()
DimmerItem.getAcceptedCommandTypes()
ImageItem.getAcceptedCommandTypes()
LocationItem.getAcceptedCommandTypes()
NumberItem.getAcceptedCommandTypes()
PlayerItem.getAcceptedCommandTypes()
RollershutterItem.getAcceptedCommandTypes()
StringItem.getAcceptedCommandTypes()
SwitchItem.getAcceptedCommandTypes()
-
Uses of Command in org.openhab.core.library.types
Modifier and TypeClassDescriptionclass
class
The decimal type uses a BigDecimal internally and thus can be used for integers, longs and floating point numbers alike.class
The HSBType is a complex type with constituents for hue, saturation and brightness and can be used for color items.enum
enum
This type is used by thePlayerItem
.enum
enum
class
The PercentType extends theDecimalType
by putting constraints for its value on top (0-100).enum
This type is used by thePlayerItem
.class
This type can be used for items that are dealing with GPS or location awareness functionality.class
QuantityType<T extends javax.measure.Quantity<T>>
The measure type extends DecimalType to handle physical unit measurementenum
This type is used by thePlayerItem
.enum
class
This type can be used for items that are dealing with telephony functionality.class
enum
-
Uses of Command in org.openhab.core.magic.binding.handler
Modifier and TypeMethodDescriptionvoid
MagicActionModuleThingHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicBridgedThingHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicBridgeHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicButtonHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicChattyThingHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicColorLightHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicConfigurableThingHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicContactHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicDelayedOnlineHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicDimmableLightHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicDynamicStateDescriptionThingHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicExtensibleThingHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicFirmwareUpdateThingHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicImageHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicLocationThingHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicOnlineOfflineHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicOnOffLightHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicPlayerHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicRollershutterHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicThermostatThingHandler.handleCommand
(ChannelUID channelUID, Command command) void
MagicTimeSeriesHandler.handleCommand
(ChannelUID channelUID, Command command) -
Uses of Command in org.openhab.core.model.script.actions
Modifier and TypeMethodDescriptionstatic Object
BusEvent.sendCommand
(Item item, Command command) Sends a command for a specified item to the event bus. -
Uses of Command in org.openhab.core.model.script.scoping
-
Uses of Command in org.openhab.core.thing.binding
Modifier and TypeMethodDescriptionvoid
ThingHandler.handleCommand
(ChannelUID channelUID, Command command) Handles a command for a given channel.protected void
BaseThingHandler.postCommand
(String channelID, Command command) Sends a command for a channel of the thing.protected void
BaseThingHandler.postCommand
(ChannelUID channelUID, Command command) Sends a command for a channel of the thing.void
ThingHandlerCallback.postCommand
(ChannelUID channelUID, Command command) Informs about a command, which is sent from the channel. -
Uses of Command in org.openhab.core.thing.binding.generic
Modifier and TypeMethodDescription@Nullable String
ChannelValueConverterConfig.commandToFixedValue
(Command command) maps a command to a user-defined stringvoid
called to send a command to this channel -
Uses of Command in org.openhab.core.thing.binding.generic.converter
Modifier and TypeMethodDescriptionprotected @Nullable Command
protected @Nullable Command
protected @Nullable Command
protected @Nullable Command
protected @Nullable Command
protected @Nullable Command
protected @Nullable Command
-
Uses of Command in org.openhab.core.thing.profiles
Modifier and TypeMethodDescriptionProfileContext.getAcceptedCommandTypes()
Get the list of accepted command types for commands send to the linked item This is an optional method and will return an empty list if not implemented.ProfileContext.getHandlerAcceptedCommandTypes()
Get the list of accepted command types for commands sent to the handler This is an optional method and will return an empty list if not implemented.Modifier and TypeMethodDescriptionvoid
ProfileCallback.handleCommand
(Command command) Forward the given command to the respective thing handler.void
StateProfile.onCommandFromHandler
(Command command) If a binding issued a command to a channel, this method will be called for each linked item.void
StateProfile.onCommandFromItem
(Command command) Will be called if a command should be forwarded to the binding.void
ProfileCallback.sendCommand
(Command command) Send a command to the framework. -
Uses of Command in org.openhab.core.types
-
Uses of Command in org.openhab.core.voice.text
Modifier and TypeMethodDescription@Nullable Command
AbstractRuleBasedInterpreter.ItemCommandSupplier.getItemCommand
(Item item) Modifier and TypeMethodDescriptionAbstractRuleBasedInterpreter.ItemCommandSupplier.getCommandClasses
(@Nullable Item item) Modifier and TypeMethodDescriptionprotected Expression
Adds a command to the resulting AST tree, if the expression matches.