-
Notifications
You must be signed in to change notification settings - Fork 17
addons2
Table of Contents
- Tubelib Access Lock
- Tubelib Door Block
- Tubelib Gate Block
- Tubelib Gate Controller
- Tubelib Programmer
- Tubelib Repeater
- Tubelib Logic Not
- Tubelib Timer
- Tubelib Sequencer
- Tubelib Mesecons Converter
- Tubelib Color Lamp
- Invisible Lamp
- Tubelib Ceiling Lamp
- Tubelib Street Lamp
- Tubelib Industrial Lamp 1
- Tubelib Industrial Lamp 2
This extension provides Timer, Sequencer, Repeater, Gate, Door, Access Lock, Mesecons Converter and Lamps, all with tubelib communication support.

The Access Lock block is a combination lock to open/close gates and doors (active for 4 seconds). The 4 digit code of the Lock and the destination block numbers of door/gate blocks can be configured after placement.

States:
- none
Features:
- sends "on"/"off" events
- Programmer support (store node numbers)
Supported Commands:
- none

The Door block is used to build larger gates together with the Gate Controller. All Door blocks obtain a unique number which is shown as block infotext. This number is entered into the Gate Controller to register the block. The texture of the Door block can be configured after placement with the right mouse button.
Note: Door blocks cannot be controlled directly via 'on'/'off' commands. They must be managed exclusively through a Gate Controller.

States:
- none
Features:
- none
Supported Commands:
- none

The Gate block works in the same manner as the Door block and is used to build larger gates. All Gate blocks obtain a unique number which is shown as block infotext. This number is entered into the Gate Controller to register the block. The texture of the Gate block can be configured after placement with the right mouse button.
Note: Gate blocks cannot be controlled directly via 'on'/'off' commands. They must be managed exclusively through a Gate Controller.
States:
- none
Features:
- none
Supported Commands:
- none

The Gate Controller manages up to 8 Door or Gate blocks. Enter the block numbers into the controller's configuration form and click "Save" to register them. To prevent blocks from being lost, the Gate Controller physically removes the registered blocks from the world and stores them in its internal inventory when the gate opens, and places them back when the gate closes.
- 'on' command → opens the gate (removes all blocks into the internal inventory)
- 'off' command → closes the gate (places all blocks back into the world)
- "Load gate" button → opens the gate manually via the configuration form (same as 'on'); useful for the initial setup to verify all registered blocks are correctly recognized before automating the gate.
States:
Features:
- none
Supported Commands:
- "control": turn the device/block "on" or "off"
- via SmartLine Controller:
switch- via SaferLua Controller:
$send_cmnd(num, text)

The Programmer is a tool to collect block numbers (right mouse button) from Door/Gate/Lamp or other blocks to program (left mouse button) Repeater blocks. This is especially useful if you want to switch on/off many block at the same time like for street lights.
States:
- none
Features:
- none
Supported Commands:
- none

The Repeater is a multiplier block, sending received commands to all connected blocks. The list of destination block numbers has to be configured, but can easily programmed by means of the Programmer.

States:
- none
Features:
- Programmer support (store node numbers)
Supported Commands:
- none

The "Logic Not" inverts the received on/off command and send it to all connected blocks. The list of destination block numbers has to be configured, but can easily programmed by means of the Programmer.
States:
- none
Features:
- Programmer support (store node numbers)
Supported Commands:
- none

The Timer (in combination with Repeater blocks) can be used to turn e.g. the street lights on/off.

Here the Repeater (with number 0123) and with it, the lamps behind the Repeater are switched on at 6 o'clock in the morning and switched off 8 o'clock in the evening. The timer checks the time every few seconds. If the block was just loaded, the timer will check the last 4 hours for commands.
States:
Features:
- sends "on"/"off" events
Supported Commands:
- "control": turn the device/block "on" or "off"
- via SmartLine Controller:
switch- via SaferLua Controller:
$send_cmnd(num, text)

The Sequencer block allows to define sequences of on/off commands with time delays in between.
For this purpose, a sequence of up to 8 steps can be programmed, each with destination block numbers, on/off command, and time gap to the next step in seconds. The Sequencer can run endless or only once and can be switches on/off by other blocks.

In this example a lamp is switched on/off every 2 seconds (don't forget so click "Run endless") The Sequencer allows also smaller times like 0.2 sec, but between the last and the first rule a delay of 1 sec is needed (to prevent overload situations).
States:
Features:
- sends "on"/"off" events
Supported Commands:
- "control": turn the device/block "on" or "off"
- via SmartLine Controller:
switch- via SaferLua Controller:
$send_cmnd(num, text)

Converter between Mesecons and Tubelib commands with Programmer support. Each mesecons signal will be translated into "on"/"off" commands and vice versa.
States:
- none
Features:
- sends "on"/"off" events
- Programmer support (store node numbers)
Supported Commands:
- none

The Color Lamp is available in two version, with and without unifieddyes support.

If unifieddyes is not installed, the block color can be configured after block placement with the right mouse button. In this case 12 different colors available.

States:
Features:
- none
Supported Commands:
- "control": turn the device/block "on" or "off"
- via SmartLine Controller:
switch- via SaferLua Controller:
$send_cmnd(num, text)

Standard lamps are not bright enough, to illuminate large rooms. By means of the invisible helper lamp to be placed on different positions, the illuminated space can be enlarged.
States:
Features:
- none
Supported Commands:
- "control": turn the device/block "on" or "off"
- via SmartLine Controller:
switch- via SaferLua Controller:
$send_cmnd(num, text)

Ceiling lamp with tubelib support.
States:
Features:
- none
Supported Commands:
- "control": turn the device/block "on" or "off"
- via SmartLine Controller:
switch- via SaferLua Controller:
$send_cmnd(num, text)

Street lamp with tubelib support.
States:
Features:
- none
Supported Commands:
- "control": turn the device/block "on" or "off"
- via SmartLine Controller:
switch- via SaferLua Controller:
$send_cmnd(num, text)

Industrial lamp with tubelib support.
States:
Features:
- none
Supported Commands:
- "control": turn the device/block "on" or "off"
- via SmartLine Controller:
switch- via SaferLua Controller:
$send_cmnd(num, text)

Industrial lamp with tubelib support.
States:
Features:
- none
Supported Commands:
- "control": turn the device/block "on" or "off"
- via SmartLine Controller:
switch- via SaferLua Controller:
$send_cmnd(num, text)