homematicip.class_maps¶
homematicip.class_maps
¶
AccelerationSensorChannel
¶
AccessAuthorizationChannel
¶
Bases: FunctionalChannel
this represents ACCESS_AUTHORIZATION_CHANNEL channel
pull_latch
¶
Trigger the latch via this access-authorization channel.
Only meaningful for channels with role DOOR_OPENER_ACTUATOR.
See :func:homematicip.commands.functional_channel_commands.pull_latch_async.
AccessControllerChannel
¶
AccessControllerWiredChannel
¶
AlarmSirenChannel
¶
AlarmSirenIndoor
¶
Bases: SabotageDevice
HMIP-ASIR (Alarm Siren)
AlarmSirenOutdoor
¶
AnalogOutputChannel
¶
AnalogRoomControlChannel
¶
AutoNameEnum
¶
Bases: StrEnum
auto() will generate the name of the attribute as value
from_str
classmethod
¶
this function will create the enum object based on its string value
Args: text(str): the string value of the enum default(AutoNameEnum): a default value if text could not be used Returns: the enum object or None if the text is None or the default value
BaseDevice
¶
Bases: HomeMaticIPObject
Base device class. This is the foundation for homematicip and external (hue) devices
Blind
¶
Bases: Shutter
Base class for blind devices
set_slats_level
¶
sets the slats and shutter level
Args: slatsLevel(float): the new level of the slats. 0.0 = open, 1.0 = closed shutterLevel(float): the new level of the shutter. 0.0 = open, 1.0 = closed, None = use the current value channelIndex(int): the channel to control Returns: the result of the _restCall
set_slats_level_async
async
¶
sets the slats and shutter level
Args: slatsLevel(float): the new level of the slats. 0.0 = open, 1.0 = closed, shutterLevel(float): the new level of the shutter. 0.0 = open, 1.0 = closed, None = use the current value channelIndex(int): the channel to control Returns: the result of the _restCall
BlindChannel
¶
Bases: FunctionalChannel
this is the representative of the BLIND_CHANNEL channel
set_shutter_level
¶
sets the shutter level
Args: level(float): the new level of the shutter. 0.0 = open, 1.0 = closed channelIndex(int): the channel to control Returns: the result of the _restCall
set_shutter_stop
¶
stops the current operation Returns: the result of the _restCall
set_slats_level
¶
sets the slats and shutter level
Args: slatsLevel(float): the new level of the slats. 0.0 = open, 1.0 = closed, shutterLevel(float): the new level of the shutter. 0.0 = open, 1.0 = closed, None = use the current value channelIndex(int): the channel to control Returns: the result of the _restCall
BlindModule
¶
BrandBlind
¶
BrandPushButton
¶
BrandSwitch2
¶
Bases: Switch
ELV-SH-BS2 (ELV Smart Home ARR-Bausatz Schaltaktor für Markenschalter – 2-fach powered by Homematic IP)
BrandSwitchNotificationLight
¶
Bases: Switch
HMIP-BSL (Switch Actuator for brand switches – with signal lamp)
set_rgb_dim_level
¶
sets the color and dimlevel of the lamp
Args: channelIndex(int): the channelIndex of the lamp. Use self.topLightChannelIndex or self.bottomLightChannelIndex rgb(RGBColorState): the color of the lamp dimLevel(float): the dimLevel of the lamp. 0.0 = off, 1.0 = MAX
Returns: the result of the _restCall
set_rgb_dim_level_async
async
¶
sets the color and dimlevel of the lamp
Args: channelIndex(int): the channelIndex of the lamp. Use self.topLightChannelIndex or self.bottomLightChannelIndex rgb(RGBColorState): the color of the lamp dimLevel(float): the dimLevel of the lamp. 0.0 = off, 1.0 = MAX
Returns: the result of the _restCall
set_rgb_dim_level_with_time
¶
sets the color and dimlevel of the lamp
Args: channelIndex(int): the channelIndex of the lamp. Use self.topLightChannelIndex or self.bottomLightChannelIndex rgb(RGBColorState): the color of the lamp dimLevel(float): the dimLevel of the lamp. 0.0 = off, 1.0 = MAX onTime(float): rampTime(float): Returns: the result of the _restCall
set_rgb_dim_level_with_time_async
async
¶
sets the color and dimlevel of the lamp
Args: channelIndex(int): the channelIndex of the lamp. Use self.topLightChannelIndex or self.bottomLightChannelIndex rgb(RGBColorState): the color of the lamp dimLevel(float): the dimLevel of the lamp. 0.0 = off, 1.0 = MAX onTime(float): rampTime(float): Returns: the result of the _restCall
CarbonDioxideSensorChannel
¶
ChangeOverChannel
¶
ClimateSensorChannel
¶
CodeProtectedPrimaryActionChannel
¶
Bases: FunctionalChannel
this is the representative of the CODE_PROTECTED_PRIMARY_ACTION_CHANNEL channel (HmIP-WKP)
CodeProtectedSecondaryActionChannel
¶
Bases: FunctionalChannel
this is the representative of the CODE_PROTECTED_SECONDARY_ACTION_CHANNEL channel (HmIP-WKP)
CodeProtectedSingleActionChannel
¶
Bases: FunctionalChannel
this is the representative of the CODE_PROTECTED_SINGLE_ACTION_CHANNEL channel (HmIP-FWI)
CombinationSignallingDevice
¶
Bases: Device
HmIP-MP3P (Combination Signalling Device)
A device that can play MP3 sounds and show optical signals for various alarm and notification conditions.
ContactInterface
¶
Bases: SabotageDevice
HMIP-SCI (Contact Interface Sensor)
ContactInterfaceChannel
¶
DehumidifierDemandChannel
¶
Device
¶
Bases: BaseDevice
this class represents a generic homematic ip device
add_on_code_state_event_handler
¶
Register a handler for code-state push events emitted by this device.
Fired with a :class:CodeStateEvent when the cloud reports
a DEVICE_CODE_STATE_EVENT for this device (HmIP-WKP keypad).
DeviceBaseChannel
¶
DeviceBaseFloorHeatingChannel
¶
Bases: DeviceBaseChannel
this is the representative of the DEVICE_BASE_FLOOR_HEATING channel
set_minimum_floor_heating_valve_position
¶
sets the minimum floot heating valve position
Args: minimumFloorHeatingValvePosition(float): the minimum valve position. must be between 0.0 and 1.0
Returns: the result of the _restCall
DeviceBlockingChannel
¶
DeviceBlockingWithTeachableCodeChannel
¶
Bases: DeviceBlockingChannel
this is the representative of the DEVICE_BLOCKING_WITH_TEACHABLE_CODE channel
DeviceGlobalPumpControlChannel
¶
DeviceIncorrectPositionedChannel
¶
DeviceOperationLockChannel
¶
DeviceOperationLockChannelWithSabotage
¶
Bases: DeviceOperationLockChannel
this is the representation of the DeviceOperationLockChannelWithSabotage channel
DevicePermanentFullRxChannel
¶
DeviceRechargeableWithSabotage
¶
Bases: DeviceSabotageChannel
this is the representative of the DEVICE_RECHARGEABLE_WITH_SABOTAGE channel
DeviceSabotageChannel
¶
DimmerChannel
¶
DinRailDimmer3
¶
Bases: Dimmer
HMIP-DRDI3 (Dimming Actuator Inbound 230V – 3x channels, 200W per channel) electrical DIN rail
DinRailSwitch
¶
DinRailSwitch4
¶
DoorBellButton
¶
DoorChannel
¶
DoorLockChannel
¶
Bases: FunctionalChannel
This respresents of the DoorLockChannel
async_set_lock_state
async
¶
sets the door lock state
Args: doorLockState(float): the state of the door. See LockState from base/enums.py pin(string): Pin, if specified. channelIndex(int): the channel to control. Normally the channel from DOOR_LOCK_CHANNEL is used. Returns: the result of the _restCall
set_lock_state
¶
sets the door lock state
Args: doorLockState(float): the state of the door. See LockState from base/enums.py pin(string): Pin, if specified. channelIndex(int): the channel to control. Normally the channel from DOOR_LOCK_CHANNEL is used. Returns: the result of the _restCall
DoorLockDrive
¶
Bases: OperationLockableDevice
HmIP-DLD
set_lock_state
¶
sets the door lock state
Args: doorLockState(float): the state of the door. See LockState from base/enums.py pin(string): Pin, if specified. channelIndex(int): the channel to control. Normally the channel from DOOR_LOCK_CHANNEL is used. Returns: the result of the _restCall
set_lock_state_async
async
¶
sets the door lock state
Args: doorLockState(float): the state of the door. See LockState from base/enums.py pin(string): Pin, if specified. channelIndex(int): the channel to control. Normally the channel from DOOR_LOCK_CHANNEL is used. Returns: the result of the _restCall
DoorLockDrivePro
¶
DoorLockProChannel
¶
DoorLockSensorBaseChannel
¶
DoorLockSensorChannel
¶
DoorSwitchChannel
¶
Bases: FunctionalChannel
this is the representative of the DOOR_SWITCH_CHANNEL channel
set_door_lock_active
¶
Hold the door released ("always open") with True, lock it with False.
See :func:homematicip.commands.functional_channel_commands.set_door_lock_active_async.
EnergySensorInterfaceChannel
¶
ExternalBaseChannel
¶
Bases: FunctionalChannel
this represents the EXTERNAL_BASE_CHANNEL function-channel for external devices
ExternalDevice
¶
ExternalSwitchChannel
¶
ExternalUniversalLightChannel
¶
Bases: FunctionalChannel
this represents the EXTERNAL_UNIVERSAL_LIGHT_CHANNEL function-channel for external devices
FloorTeminalBlockChannel
¶
FloorTerminalBlock10
¶
FloorTerminalBlock12
¶
Bases: Device
HMIP-FALMOT-C12 (Floor Heating Actuator – 12x channels, motorised)
set_minimum_floor_heating_valve_position
¶
sets the minimum floot heating valve position
Args: minimumFloorHeatingValvePosition(float): the minimum valve position. must be between 0.0 and 1.0
Returns: the result of the _restCall
set_minimum_floor_heating_valve_position_async
async
¶
sets the minimum floot heating valve position
Args: minimumFloorHeatingValvePosition(float): the minimum valve position. must be between 0.0 and 1.0
Returns: the result of the _restCall
FloorTerminalBlockLocalPumpChannel
¶
Bases: FunctionalChannel
this is the representative of the FLOOR_TERMINAL_BLOCK_LOCAL_PUMP_CHANNEL channel
FloorTerminalBlockMechanicChannel
¶
Bases: FunctionalChannel
this is the representative of the class FLOOR_TERMINAL_BLOCK_MECHANIC_CHANNEL(FunctionalChannel) channel
FullFlushBlind
¶
FullFlushDoorController
¶
Bases: Device
HmIP-FDC Full Flush Door Controller (door opener).
Provides an impulse-driven door opener output via DOOR_SWITCH_CHANNEL
(role DOOR_OPENER_ACTUATOR). Two MULTI_MODE_LOCK_INPUT_CHANNEL inputs and a
set of ACCESS_AUTHORIZATION_CHANNEL channels for keypad/code access are
exposed via the standard functionalChannels collection.
FullFlushInputSwitch
¶
Bases: Switch
HMIP-FSI16 (Switch Actuator with Push-button Input 230V, 16A) and HMIP-FSI6 (Switch Actuator with Push-button Input, compact)
FullFlushLockController
¶
FullFlushShutter
¶
Bases: Shutter
HMIP-FROLL (Shutter Actuator - flush-mount) / HMIP-BROLL (Shutter Actuator - Brand-mount)
FunctionalChannel
¶
Bases: HomeMaticIPObject
this is the base class for the functional channels
GarageDoorModuleTormatic
¶
GenericInputChannel
¶
Group
¶
HeatDemandChannel
¶
HeatingThermostat
¶
Bases: OperationLockableDevice
HMIP-eTRV (Radiator Thermostat)
HeatingThermostatChannel
¶
HeatingThermostatCompact
¶
Bases: SabotageDevice
HMIP-eTRV-C (Heating-thermostat compact without display)
HeatingThermostatEvo
¶
Bases: OperationLockableDevice
HMIP-eTRV-E (Heating-thermostat new evo version)
HoermannDrivesModule
¶
HomeMaticIPObject
¶
This class represents a generic homematic ip object to make basic requests to the access point
from_json
¶
this method will parse the homematicip object from a json object
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
the json object to parse |
required |
fromtimestamp
¶
internal helper function which will create a datetime object from a timestamp
set_attr_from_dict
¶
this method will add the value from dict to the given attr name
Args: attr(str): the attribute which value should be changed data(dict): the dictionary from which the value should be extracted enum_type(AutoNameEnum): this will call enum_type.from_str(value), if a type gets provided dict_attr: the name of the attribute in the dict. Set this to None(default) to use attr addToStrOutput(str): should the attribute be returned via str()
str_from_attr_map
¶
this method will return a string with all key/values which were added via the set_attr_from_dict method
ImpulseOutputChannel
¶
InternalSwitchChannel
¶
KeyRemoteControl4
¶
KeyRemoteControlKeyMatic
¶
LightSensorChannel
¶
MagneticDoorSensorChannel
¶
MainsFailureChannel
¶
MotionDetectionChannel
¶
MotionDetectorIndoor
¶
Bases: SabotageDevice
HMIP-SMI (Motion Detector with Brightness Sensor - indoor)
MotionDetectorPushButton
¶
Bases: MotionDetectorOutdoor
HMIP-SMI55 (Motion Detector with Brightness Sensor and Remote Control - 2-button)
MotionDetectorSwitchOutdoor
¶
Bases: SabotageDevice
HmIP-SMO230 (Motion Detector with Brightness Sensor and Switch - outdoor)
MultiModeInputBlindChannel
¶
MultiModeInputChannel
¶
MultiModeInputDimmerChannel
¶
MultiModeInputSwitchChannel
¶
MultiModeLockInputChannel
¶
Bases: MultiModeInputChannel
this is the representative of the MULTI_MODE_LOCK_INPUT_CHANNEL channel
NotificationLightChannel
¶
Bases: DimmerChannel, SwitchChannel
this is the representative of the NOTIFICATION_LIGHT_CHANNEL channel
async_set_optical_signal
async
¶
sets the signal type for the leds
Args: opticalSignalBehaviour(OpticalSignalBehaviour): LED signal behaviour rgb(RGBColorState): Color dimLevel(float): usally 1.01. Use set_dim_level instead
Returns: Result of the _restCall
async_set_rgb_dim_level_with_time
async
¶
sets the color and dimlevel of the lamp
Args: channelIndex(int): the channelIndex of the lamp. Use self.topLightChannelIndex or self.bottomLightChannelIndex rgb(RGBColorState): the color of the lamp dimLevel(float): the dimLevel of the lamp. 0.0 = off, 1.0 = MAX onTime(float): rampTime(float): Returns: the result of the _restCall
set_rgb_dim_level
¶
sets the color and dimlevel of the lamp
Args: channelIndex(int): the channelIndex of the lamp. Use self.topLightChannelIndex or self.bottomLightChannelIndex rgb(RGBColorState): the color of the lamp dimLevel(float): the dimLevel of the lamp. 0.0 = off, 1.0 = MAX
Returns: the result of the _restCall
NotificationMp3SoundChannel
¶
Bases: FunctionalChannel
This is the representative of the NOTIFICATION_MP3_SOUND_CHANNEL channel.
This channel is used by combination signalling devices like the HmIP-MP3P which can play MP3 sounds and show optical signals for various alarm conditions.
set_rgb_dim_level_async
async
¶
Set LED color and brightness.
Args: rgb_color_state: The RGB color state from RGBColorState enum: BLACK, BLUE, GREEN, TURQUOISE, RED, PURPLE, YELLOW, WHITE dim_level: The dim/brightness level (0.0 to 1.0). Default 1.0.
set_sound_file_volume_level_async
async
¶
Play specified sound file at given volume.
Args: sound_file: The sound file to play. Possible values: INTERNAL_SOUNDFILE - Built-in system sound SOUNDFILE_001 through SOUNDFILE_252 - User sounds on SD card RANDOM_SOUNDFILE - Random selection DISABLE_ACOUSTIC_SIGNAL - Stop/no sound volume_level: The volume level (0.0 to 1.0). Default 1.0.
OpticalSignalChannel
¶
OpticalSignalGroupChannel
¶
ParticulateMatterSensorChannel
¶
PassageDetector
¶
Bases: SabotageDevice
HMIP-SPDR (Passage Detector)
PassageDetectorChannel
¶
PlugableSwitch
¶
PresenceDetectionChannel
¶
PresenceDetectorIndoor
¶
Bases: SabotageDevice
HMIP-SPI (Presence Sensor - indoor)
PrintedCircuitBoardSwitchBattery
¶
PushButton6
¶
PushButton6LedSwitch
¶
PushButtonFlat
¶
RainDetectionChannel
¶
RemoteControl8
¶
RemoteControl8Module
¶
RoomControlDevice
¶
RotaryHandleChannel
¶
RotaryHandleSensor
¶
Bases: SabotageDevice
HMIP-SRH
RotaryWheelChannel
¶
Bases: FunctionalChannel
this is the representative of the ROTARY_WHEEL_CHANNEL channel.
HmIP-WRCR exposes two ROTARY_WHEEL_CHANNEL instances, one per rotation direction (CLOCK_WISE / COUNTER_CLOCK_WISE).
Rule
¶
Bases: HomeMaticIPObject
this class represents the automation rule
SecurityEvent
¶
SecurityZoneEvent
¶
Bases: SecurityEvent
This class will be used by other events which are just adding "securityZoneValues"
ShadingChannel
¶
Bases: FunctionalChannel
this is the representative of the SHADING_CHANNEL channel
async_set_shutter_stop
async
¶
stops the current operation Returns: the result of the _restCall
Shutter
¶
Bases: Device
Base class for shutter devices
set_shutter_level
¶
sets the shutter level
Args: level(float): the new level of the shutter. 0.0 = open, 1.0 = closed channelIndex(int): the channel to control Returns: the result of the _restCall
set_shutter_level_async
async
¶
sets the shutter level
Args: level(float): the new level of the shutter. 0.0 = open, 1.0 = closed channelIndex(int): the channel to control Returns: the result of the _restCall
set_shutter_stop
¶
stops the current shutter operation
Args: channelIndex(int): the channel to control Returns: the result of the _restCall
set_shutter_stop_async
async
¶
stops the current shutter operation
Args: channelIndex(int): the channel to control Returns: the result of the _restCall
ShutterChannel
¶
Bases: FunctionalChannel
this is the representative of the SHUTTER_CHANNEL channel
async_set_shutter_level
async
¶
sets the shutter level
Args: level(float): the new level of the shutter. 0.0 = open, 1.0 = closed Returns: the result of the _restCall
async_set_shutter_stop
async
¶
stops the current shutter operation
Args: channelIndex(int): the channel to control Returns: the result of the _restCall
ShutterContact
¶
Bases: SabotageDevice
HMIP-SWDO (Door / Window Contact - optical) / HMIP-SWDO-I (Door / Window Contact Invisible - optical)
ShutterContactChannel
¶
ShutterContactOpticalPlus
¶
SingleKeyChannel
¶
SmokeDetectorChannel
¶
SoilMoistureSensorInterfaceChannel
¶
Bases: FunctionalChannel
This is the representative of the SOIL_MOISTURE_SENSOR_INTERFACE_CHANNEL channel.
SwitchChannel
¶
SwitchMeasuringChannel
¶
TemperatureDifferenceSensor2
¶
TemperatureDifferenceSensor2Channel
¶
Bases: FunctionalChannel
this is the representative of the TEMPERATURE_SENSOR_2_EXTERNAL_DELTA_CHANNEL channel
TemperatureHumiditySensorDisplay
¶
TemperatureHumiditySensorOutdoor
¶
TemperatureHumiditySensorWithoutDisplay
¶
TemperatureSensorChannel
¶
TemperatureTiltVibrationSensor
¶
Bases: TiltVibrationSensor
ELV-SH-TACO (Inclination and vibration sensor with temperature sensor).
The tilt channel is index 2, so the acceleration setters need channelIndex=2.
TiltVibrationSensorChannel
¶
UniversalActuatorChannel
¶
Bases: FunctionalChannel
this is the representative of the UniversalActuatorChannel UNIVERSAL_ACTUATOR_CHANNEL
UniversalLightChannel
¶
Bases: FunctionalChannel
Represents Universal Light Channel.
UniversalLightChannelGroup
¶
WallMountedGarageDoorController
¶
WallMountedRemoteControlRotaryButton
¶
Bases: PushButton
HmIP-WRCR (Wall-mount Remote Control - Rotary)
Exposes a SINGLE_KEY_CHANNEL for the push button and two ROTARY_WHEEL_CHANNEL instances, one per rotation direction (CLOCK_WISE / COUNTER_CLOCK_WISE).
WallMountedThermostatBasicHumidity
¶
WallMountedThermostatPro
¶
Bases: TemperatureHumiditySensorDisplay, OperationLockableDevice
HMIP-WTH, HMIP-WTH-2 (Wall Thermostat with Humidity Sensor) / HMIP-BWTH (Brand Wall Thermostat with Humidity Sensor)
WallMountedThermostatProChannel
¶
Bases: FunctionalChannel
this is the representative of the WALL_MOUNTED_THERMOSTAT_PRO_CHANNEL channel
WallMountedThermostatWithCarbon
¶
WallMountedThermostatWithCarbonChannel
¶
Bases: WallMountedThermostatProChannel
this is the representative of the WALL_MOUNTED_THERMOSTAT_WITH_CARBON_DIOXIDE_SENSOR_CHANNEL channel
WallMountedThermostatWithoutDisplayChannel
¶
Bases: ClimateSensorChannel
this is the representative of the WALL_MOUNTED_THERMOSTAT_WITHOUT_DISPLAY_CHANNEL channel
WaterSensorChannel
¶
WateringActuatorChannel
¶
Bases: FunctionalChannel
this is the representative of the WATERING_ACTUATOR_CHANNEL channel
reset_water_volume_async
async
¶
Resets the water volume counter of the specified device.
set_watering_switch_state_async
async
¶
Sets the watering switch state of the specified device.
set_watering_switch_state_with_time_async
async
¶
toggle_watering_state_async
async
¶
Toggles the watering state of the specified device.
WeatherSensorChannel
¶
WeatherSensorPlusChannel
¶
WeatherSensorProChannel
¶
Bases: WeatherSensorPlusChannel
this is the representative of the WEATHER_SENSOR_PRO_CHANNEL channel
WiredCarbonTemperatureHumiditySensorDisplay
¶
WiredFloorTerminalBlock12
¶
WiredInput32
¶
WiredMotionDetectorPushButton
¶
WiredPushButton
¶
Bases: PushButton
HmIPW-WRC6 and HmIPW-WRC2
set_dim_level
¶
sets the signal type for the leds Args: channelIndex(int): Channel which is affected dimLevel(float): usally 1.01. Use set_dim_level instead
Returns: Result of the _restCall
set_dim_level_async
async
¶
sets the signal type for the leds Args: channelIndex(int): Channel which is affected dimLevel(float): usally 1.01. Use set_dim_level instead
Returns: Result of the _restCall
set_optical_signal
¶
sets the signal type for the leds
Args: channelIndex(int): Channel which is affected opticalSignalBehaviour(OpticalSignalBehaviour): LED signal behaviour rgb(RGBColorState): Color dimLevel(float): usally 1.01. Use set_dim_level instead
Returns: Result of the _restCall
set_optical_signal_async
async
¶
sets the signal type for the leds
Args: channelIndex(int): Channel which is affected opticalSignalBehaviour(OpticalSignalBehaviour): LED signal behaviour rgb(RGBColorState): Color dimLevel(float): usally 1.01. Use set_dim_level instead
Returns: Result of the _restCall