velbus.modules package

Submodules

velbus.modules.vmb4ry module

author:Thomas Delaet <thomas@delaet.org>
class velbus.modules.vmb4ry.VMB1RY(module_type, module_name, module_address, controller)[source]

Bases: velbus.modules.vmb4ry.VMB4RYModule

number_of_channels()[source]

Retrieve the number of available channels in this module

Returns:int
class velbus.modules.vmb4ry.VMB4RY(module_type, module_name, module_address, controller)[source]

Bases: velbus.modules.vmb4ry.VMB4RYModule

number_of_channels()[source]

Retrieve the number of available channels in this module

Returns:int
class velbus.modules.vmb4ry.VMB4RYModule(module_type, module_name, module_address, controller)[source]

Bases: velbus.module.Module

Velbus Relay module.

get_categories(channel)[source]

Get type of functionality of channel

Returns:str
is_on(channel)[source]

Check if a switch is turned on

Returns:bool
number_of_channels()[source]

Retrieve the number of available channels in this module

Returns:int
on_status_update(channel, callback)[source]

Callback to execute on status of update of channel

turn_off(channel, callback=None)[source]

Turn off switch.

Returns:None
turn_on(channel, callback=None)[source]

Turn on switch.

Returns:None

velbus.modules.vmb6in module

velbus.modules.vmb7in module

Module contents

author:Thomas Delaet <thomas@delaet.org>