Skip to content

addons2

Joachim Stolberg edited this page Jan 28, 2019 · 14 revisions

Lamps and blocks to control and monitor your machinery

Table of Contents

This extension provides Timer, Sequencer, Repeater, Gate, Door, Access Lock, Mesecons Converter and Lamps, all with tubelib communication support.

Tubelib Gate Block

The Gate block can disappear by means of commands from a button or switch. It is commonly used to build larger gates. All Gate blocks obtain a unique number which is shown as block infotext. This number is used as destination address for commands. The texture of the Gate block can be configured after placement with the right mouse button.

Tubelib Gate Block [tubelib_addons2:gateblock]

States:

Features:

  • none

Supported Commands:

  • "control": turn the device/block "on" or "off"
    • via SmartLine Controller: switch
    • via SaferLua Controller: $send_cmnd(num, text)

Tubelib Access Lock

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.

Tubelib Access Lock [tubelib_addons2:accesscontrol]

States:

  • none

Features:

  • sends "on"/"off" events
  • Programmer support (store node numbers)

Supported Commands:

  • none

Tubelib Door Block

The Door block works in the same manner than the Gate block. Also the Door blocks obtain a unique number which is shown as block infotext. These numbers can be collected by means of the Programmer.

Tubelib Door Block [tubelib_addons2:doorblock]

States:

Features:

  • none

Supported Commands:

  • "control": turn the device/block "on" or "off"
    • via SmartLine Controller: switch
    • via SaferLua Controller: $send_cmnd(num, text)

Tubelib Programmer

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.

Tubelib Programmer [tubelib_addons2:programmer]

States:

  • none

Features:

  • none

Supported Commands:

  • none

Tubelib Repeater

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.

Tubelib Repeater [tubelib_addons2:repeater]

States:

  • none

Features:

  • Programmer support (store node numbers)

Supported Commands:

  • none

Tubelib Logic Not

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.

Tubelib Logic Not [tubelib_addons2:logic_not]

States:

  • none

Features:

  • Programmer support (store node numbers)

Supported Commands:

  • none

Tubelib Timer

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.

Tubelib Timer [tubelib_addons2:timer]

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)

Tubelib Sequencer

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).

Tubelib Sequencer [tubelib_addons2:sequencer]

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)

Tubelib Mesecons Converter

Converter between Mesecons and Tubelib commands with Programmer support. Each mesecons signal will be translated into "on"/"off" commands and vice versa.

Tubelib Mesecons Converter [tubelib_addons2:mesecons_converter]

States:

  • none

Features:

  • sends "on"/"off" events
  • Programmer support (store node numbers)

Supported Commands:

  • none

Tubelib Color Lamp

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.

Tubelib Color Lamp [tubelib_addons2:lamp]

States:

Features:

  • none

Supported Commands:

  • "control": turn the device/block "on" or "off"
    • via SmartLine Controller: switch
    • via SaferLua Controller: $send_cmnd(num, text)

Invisible Lamp

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.

Tubelib Invisible Lamp [tubelib_addons2:invisiblelamp]

States:

Features:

  • none

Supported Commands:

  • "control": turn the device/block "on" or "off"
    • via SmartLine Controller: switch
    • via SaferLua Controller: $send_cmnd(num, text)

Tubelib Ceiling Lamp

Ceiling lamp with tubelib support.

Tubelib Ceiling Lamp [tubelib_addons2:ceilinglamp]

States:

Features:

  • none

Supported Commands:

  • "control": turn the device/block "on" or "off"
    • via SmartLine Controller: switch
    • via SaferLua Controller: $send_cmnd(num, text)

Tubelib Street Lamp

Street lamp with tubelib support.

Tubelib Street Lamp [tubelib_addons2:streetlamp]

States:

Features:

  • none

Supported Commands:

  • "control": turn the device/block "on" or "off"
    • via SmartLine Controller: switch
    • via SaferLua Controller: $send_cmnd(num, text)

Tubelib Industrial Lamp 1

Industrial lamp with tubelib support.

Tubelib Industrial Lamp 1 [tubelib_addons2:industriallamp1]

States:

Features:

  • none

Supported Commands:

  • "control": turn the device/block "on" or "off"
    • via SmartLine Controller: switch
    • via SaferLua Controller: $send_cmnd(num, text)

Tubelib Industrial Lamp 2

Industrial lamp with tubelib support.

Tubelib Industrial Lamp 2 [tubelib_addons2:industriallamp2]

States:

Features:

  • none

Supported Commands:

  • "control": turn the device/block "on" or "off"
    • via SmartLine Controller: switch
    • via SaferLua Controller: $send_cmnd(num, text)

Clone this wiki locally