User:Andreas.balzer/switch
Jump to navigation
Jump to search
General
The switch=* tag is related to the operated=* tag. Please have a look at operated=* as well as User:Andreas.balzer/operated for further details.
Type of switch
Key | Value | Element | Comment | Rendering | Photo |
---|---|---|---|---|---|
switch | yes | This node contains a switch. Do not use this key/value pair if possible. | |||
switch | pushbutton | The switch is a pushbutton. It will not do something without the user pressing the switch. | |||
switch | key | The switch is operated by a key. It will not do something without the user inserting/rotating the key. See below for further tags when keys are used. | |||
switch | keypad | The switch is a keypad. It will not do something without the user typing the correct key. | |||
switch | smart_card | Theswitch is operated with a smart card. The object will not do something without the user sliding his smart card through or holding it near to the sensor. | |||
switch | fingerprint | The switch is a fingerprint reader. It will not do something without the user placing a finger onto the fingerprint reader. | |||
switch | eyescan | The switch is an eye scanner. It will not do something without the user looking into the scanner. | |||
switch | proximity | The switch is a proximity sensor. It does something as soon as someone approaches the object. See below for further information. | |||
switch | no | There's no switch at all. Do not use this key/value-pair. |
Object being switched
Please use the following key to specify what is being switched:
Key | Value | Element | Comment | Rendering | Photo |
---|---|---|---|---|---|
switch:switched | uid;( uid; )*(uid)? | Used on switch-nodes: Use any amount of node uids to specify what is being switched by operating this switch. |
Type of operation
Use the following key to specify the types of operation supported by the switch.
Key | Value | Element | Comment | Rendering | Photo |
---|---|---|---|---|---|
switch:operation | start | The switch will make the object start doing something. | |||
switch:operation | stop | The switch will make the object stop doing something. | |||
switch:operation | slow_down | The switch will make the object do something slower. | |||
switch:operation | speed_up | The switch will make the object do something faster. | |||
switch:operation | request_permission | The switch will request permission to do something (e.g. request a traffic light to switch green). | |||
switch:operation | request_service | The switch will request a service being delivered, e.g. calling a lift. | |||
switch:operation | * | Specify what the switch operation does. Please add your specification to the discussion list. Examples: Request a lift to service a travel to an upper flow (e.g. request_service_up) |