added audio and voice console commands
Signed-off-by: Kai Kreuzer <kai@openhab.org>pull/136/head
parent
ccf16c3c58
commit
9075c11b32
|
@ -42,49 +42,61 @@ openhab> help smarthome:send
|
|||
Usage: smarthome:send <item> <command> - sends a command for an item
|
||||
```
|
||||
|
||||
|
||||
### Commands
|
||||
|
||||
| smarthome interpret <command> | interprets the human language command
|
||||
| smarthome update <item> <state> | sends a status update for an item
|
||||
| smarthome send <item> <command> | sends a command for an item
|
||||
| smarthome > <script to execute> | Executes a script
|
||||
| smarthome status <item> | shows the current status of an item
|
||||
|
||||
### Firmware
|
||||
|
||||
| smarthome firmware list <thingTypeUID> | Lists the available firmwares for a thing type.
|
||||
| smarthome firmware status <thingUID> | lists the firmware status for a thing
|
||||
| smarthome firmware update <thingUID> <firmware version> | updates the firmware for a thing
|
||||
|
||||
### Inbox
|
||||
|
||||
| smarthome inbox | lists all current inbox entries
|
||||
| smarthome inbox listignored | lists all ignored inbox entries
|
||||
| smarthome inbox approve <thingUID> <label> | creates a thing for an inbox entry
|
||||
| smarthome inbox clear | clears all current inbox entries
|
||||
| smarthome inbox ignore <thingUID> | ignores an inbox entry permanently
|
||||
|
||||
### Things
|
||||
|
||||
| smarthome things list | lists all things
|
||||
| smarthome things clear | removes all managed things
|
||||
|
||||
### Items
|
||||
|
||||
| smarthome items list [<pattern>] | lists names and types of all items (matching the pattern, if given)
|
||||
| smarthome items clear | removes all items
|
||||
| smarthome items remove <itemName> | removes the given item
|
||||
|
||||
### Links
|
||||
|
||||
| smarthome links list | lists all links
|
||||
| smarthome links addChannelLink <itemName> <channelUID> | links an item with a channel
|
||||
| smarthome links removeChannelLink <itemName> <thingUID> | unlinks an item with a channel
|
||||
| smarthome links clear | removes all managed links
|
||||
| smarthome:status <item> | shows the current status of an item
|
||||
| smarthome:update <item> <state> | sends a status update for an item
|
||||
| smarthome:send <item> <command> | sends a command for an item
|
||||
| smarthome:items list [<pattern>] | lists names and types of all items (matching the pattern, if given)
|
||||
| smarthome:items clear | removes all items
|
||||
| smarthome:items remove <itemName> | removes the given item
|
||||
|
||||
### Discovery
|
||||
|
||||
| smarthome discovery start <thingTypeUID!bindingID> | runs a discovery on a given thing type or binding
|
||||
| smarthome discovery enableBackgroundDiscovery <PID> | enables background discovery for the discovery service with the given PID
|
||||
| smarthome discovery disableBackgroundDiscovery <PID> | disables background discovery for the discovery service with the given PID
|
||||
| smarthome:discovery start <thingTypeUID!bindingID> | runs a discovery on a given thing type or binding
|
||||
| smarthome:discovery enableBackgroundDiscovery <PID> | enables background discovery for the discovery service with the given PID
|
||||
| smarthome:discovery disableBackgroundDiscovery <PID> | disables background discovery for the discovery service with the given PID
|
||||
|
||||
### Inbox
|
||||
|
||||
| smarthome:inbox | lists all current inbox entries
|
||||
| smarthome:inbox listignored | lists all ignored inbox entries
|
||||
| smarthome:inbox approve <thingUID> <label> | creates a thing for an inbox entry
|
||||
| smarthome:inbox clear | clears all current inbox entries
|
||||
| smarthome:inbox ignore <thingUID> | ignores an inbox entry permanently
|
||||
|
||||
### Things
|
||||
|
||||
| smarthome:things list | lists all things
|
||||
| smarthome:things clear | removes all managed things
|
||||
|
||||
### Links
|
||||
|
||||
| smarthome:links list | lists all links
|
||||
| smarthome:links addChannelLink <itemName> <channelUID> | links an item with a channel
|
||||
| smarthome:links removeChannelLink <itemName> <thingUID> | unlinks an item with a channel
|
||||
| smarthome:links clear | removes all managed links
|
||||
|
||||
### Audio
|
||||
|
||||
| smarthome:audio play [<sink>] <filename> | plays a sound file from the `conf/sounds` folder through the optionally specified audio sink(s)
|
||||
| smarthome:audio stream [<sink>] <url> | streams the sound from the url through the optionally specified audio sink(s)
|
||||
| smarthome:audio sources | lists the audio sources
|
||||
| smarthome:audio sinks | lists the audio sinks
|
||||
|
||||
### Voice
|
||||
|
||||
| smarthome:voice say <text> - speaks a text on the default audio sink with the default TTS and voice
|
||||
| smarthome:voice voices - lists available voices of the active TTS services
|
||||
| smarthome:voice interpret <command> - interprets a human language command
|
||||
|
||||
### Automation
|
||||
|
||||
| smarthome:> <script to execute> | Executes a script from the `conf/scripts` folder
|
||||
|
||||
### Firmware
|
||||
|
||||
| smarthome:firmware list <thingTypeUID> | Lists the available firmwares for a thing type.
|
||||
| smarthome:firmware status <thingUID> | lists the firmware status for a thing
|
||||
| smarthome:firmware update <thingUID> <firmware version> | updates the firmware for a thing
|
||||
|
||||
|
|
Loading…
Reference in New Issue