Skip to content

Module

Module is an object type. You don't create it directly: you get one from another call, then call its methods with a colon, e.g. module:type().

Methods

Function Description Since
type() Get the type of the module. 1.5.0
protocol() Get the protocol of the module. 1.6.2
enable() Get the state of the module. 1.5.0
option() Get / Set one module option. 1.6.0
options() Get the state of all module options. 1.6.0
muteSensorLost() Mute all "Sensor lost" warnings from a module during a certain duration. 1.6.0