pyzwave.commandclass.SensorMultilevel module¶
-
class
pyzwave.commandclass.SensorMultilevel.
Get
(sensorType, -, scale, -)¶ Bases:
pyzwave.message.Message
Command Class message COMMAND_CLASS_SENSOR_MULTILEVEL SENSOR_MULTILEVEL_GET
-
NAME
= 'GET'¶
-
attributes
= (('sensorType', <class 'pyzwave.types.enum_t.<locals>.enum_t'>), ('-', <class 'pyzwave.types.reserved_t.<locals>.reserved_t'>), ('scale', <class 'pyzwave.types.bits_t.<locals>.bits_t'>), ('-', <class 'pyzwave.types.reserved_t.<locals>.reserved_t'>))¶
-
-
class
pyzwave.commandclass.SensorMultilevel.
Report
(sensorType, sensorValue)¶ Bases:
pyzwave.message.Message
Command Class message COMMAND_CLASS_SENSOR_MULTILEVEL SENSOR_MULTILEVEL_REPORT
-
NAME
= 'REPORT'¶
-
attributes
= (('sensorType', <class 'pyzwave.types.enum_t.<locals>.enum_t'>), ('sensorValue', <class 'pyzwave.types.float_t'>))¶
-
-
class
pyzwave.commandclass.SensorMultilevel.
SensorMultilevel
(supportedTypes)¶ Bases:
pyzwave.commandclass.CommandClass.CommandClass
Command Class SENSOR_MULTILEVEL
-
NAME
= 'SENSOR_MULTILEVEL'¶
-
attributes
= (('supportedTypes', <class 'pyzwave.commandclass.CommandClass.VarDictAttribute.<locals>.VarDictAttributeType'>),)¶
-
async
interview
()¶ Interview this command class. Must be implemented by subclasses. The version has already been interviewed when this method is called.
Return True if the interview was completed successfully and False or raise an exception if the interview did not complete.
-
-
class
pyzwave.commandclass.SensorMultilevel.
SensorSupported
¶ Bases:
set
Deserializer for sensor types returned in SUPPORTED_SENSOR_REPORT
-
classmethod
deserialize
(stream: pyzwave.types.BitStreamReader)¶ Deserialize types from stream
-
classmethod
-
class
pyzwave.commandclass.SensorMultilevel.
SensorType
¶ Bases:
enum.IntEnum
Enum for sensor types
-
BAROMETRIC_PRESSURE
= 9¶
-
CO
= 40¶
-
CO2
= 17¶
-
DEW_POINT
= 11¶
-
GENERAL_PURPOSE
= 2¶
-
HUMIDITY
= 5¶
-
LOUDNESS
= 30¶
-
LUMINANCE
= 3¶
-
MOISTURE
= 31¶
-
PM25
= 35¶
-
POWER
= 4¶
-
RAIN_RATE
= 12¶
-
TEMPERATURE
= 1¶
-
UV
= 27¶
-
VELOCITY
= 6¶
-
VOLTAGE
= 15¶
-
VOLUME
= 19¶
-
WEIGHT
= 14¶
-
-
class
pyzwave.commandclass.SensorMultilevel.
SupportedGetScale
(sensorType)¶ Bases:
pyzwave.message.Message
Command Class message COMMAND_CLASS_SENSOR_MULTILEVEL SENSOR_MULTILEVEL_SUPPORTED_GET_SCALE
-
NAME
= 'SUPPORTED_GET_SCALE'¶
-
attributes
= (('sensorType', <class 'pyzwave.types.enum_t.<locals>.enum_t'>),)¶
-
-
class
pyzwave.commandclass.SensorMultilevel.
SupportedGetSensor
¶ Bases:
pyzwave.message.Message
Command Class message COMMAND_CLASS_SENSOR_MULTILEVEL SENSOR_MULTILEVEL_SUPPORTED_GET_SENSOR_V5
-
NAME
= 'SUPPORTED_GET_SENSOR'¶
-
-
class
pyzwave.commandclass.SensorMultilevel.
SupportedScaleReport
(sensorType, -, scaleBitMask)¶ Bases:
pyzwave.message.Message
Command Class message COMMAND_CLASS_SENSOR_MULTILEVEL SENSOR_MULTILEVEL_SUPPORTED_SCALE_REPORT
-
NAME
= 'SUPPORTED_SCALE_REPORT'¶
-
attributes
= (('sensorType', <class 'pyzwave.types.enum_t.<locals>.enum_t'>), ('-', <class 'pyzwave.types.reserved_t.<locals>.reserved_t'>), ('scaleBitMask', <class 'pyzwave.types.bits_t.<locals>.bits_t'>))¶
-
-
class
pyzwave.commandclass.SensorMultilevel.
SupportedSensorReport
(bitMask)¶ Bases:
pyzwave.message.Message
Command Class message COMMAND_CLASS_SENSOR_MULTILEVEL SENSOR_MULTILEVEL_SUPPORTED_SENSOR_REPORT_V5
-
NAME
= 'SUPPORTED_SENSOR_REPORT'¶
-
attributes
= (('bitMask', <class 'pyzwave.commandclass.SensorMultilevel.SensorSupported'>),)¶
-