Skip to content

homematicip.async_home

AccelerationSensor

Bases: Device

HMIP-SAM (Contact Interface flush-mount – 1 channel)

AccelerationSensorChannel

Bases: FunctionalChannel

this is the representative of the ACCELERATION_SENSOR_CHANNEL channel

AccessAuthorizationChannel

Bases: FunctionalChannel

this represents ACCESS_AUTHORIZATION_CHANNEL channel

AccessControllerChannel

Bases: DeviceBaseChannel

this is the representative of the ACCESS_CONTROLLER_CHANNEL channel

AccessControllerWiredChannel

Bases: DeviceBaseChannel

this is the representative of the ACCESS_CONTROLLER_WIRED_CHANNEL channel

AlarmSirenChannel

Bases: FunctionalChannel

this is the representative of the ALARM_SIREN_CHANNEL channel

AlarmSirenIndoor

Bases: SabotageDevice

HMIP-ASIR (Alarm Siren)

AlarmSirenOutdoor

Bases: AlarmSirenIndoor

HMIP-ASIR-O (Alarm Siren Outdoor)

AnalogOutputChannel

Bases: FunctionalChannel

this is the representative of the ANALOG_OUTPUT_CHANNEL channel

AnalogRoomControlChannel

Bases: FunctionalChannel

this is the representative of the ANALOG_ROOM_CONTROL_CHANNEL channel

AsyncHome

Bases: HomeMaticIPObject

this class represents the 'Home' of the homematic ip

activate_absence_permanent_async async

activate_absence_permanent_async

activates the absence forever

activate_absence_with_duration_async async

activate_absence_with_duration_async

activates the absence mode for a given time

Parameters:

Name Type Description Default

duration

int

the absence duration in minutes

required

activate_absence_with_period_async async

activate_absence_with_period_async

activates the absence mode until the given time

Parameters:

Name Type Description Default

endtime

datetime

the time when the absence should automatically be disabled

required

activate_vacation_async async

activate_vacation_async

activates the vacation mode until the given time

Parameters:

Name Type Description Default

endtime

datetime

the time when the vacation mode should automatically be disabled

required

temperature

float

the settemperature during the vacation mode

required

deactivate_absence_async async

deactivate_absence_async

deactivates the absence mode immediately

deactivate_vacation_async async

deactivate_vacation_async

deactivates the vacation mode immediately

delete_group

delete_group

deletes the given group from the cloud

Parameters:

Name Type Description Default

group

Group

the group to delete

required

disable_events_async async

disable_events_async

Stop Websocket Connection

download_configuration_async async

download_configuration_async

downloads the current configuration from the cloud

Returns the downloaded configuration as json

Raises: HomeNotInitializedError: if the home is not initialized Exception: if the download fails

enable_events async

enable_events

Connect to Websocket and listen for events

fire_channel_event

fire_channel_event

Trigger the method tied to _on_channel_event

fire_create_event

fire_create_event

Trigger the method tied to _on_create

get_current_state_async async

get_current_state_async

downloads the current configuration and parses it into self

Args: clear_config(bool): if set to true, this function will remove all old objects from self.devices, self.client, ... to have a fresh config instead of reparsing them

get_functionalHome

get_functionalHome

gets the specified functionalHome

Parameters:

Name Type Description Default

functionalHomeType

type

the type of the functionalHome which should be returned

required

Returns:

Type Description
FunctionalHome | None

the FunctionalHome or None if it couldn't be found

get_security_zones_activation

get_security_zones_activation

returns the value of the security zones if they are armed or not

Returns:

Type Description
(bool, bool)

internal, external

init_async async

init_async

Initializes the home with the given access point id and auth token

Parameters:

Name Type Description Default

access_point_id

the access point id

required

auth_token

str | None

the auth token

None

lookup

if set to true, the urls will be looked up

True

use_rate_limiting

if set to true, the connection will be rate limited

True

on_channel_event

on_channel_event

Adds an event handler to the channel event method. Fires when a channel event is received.

on_create

on_create

Adds an event handler to the create method. Fires when a device is created.

remove_callback

remove_callback

Remove event handler.

remove_channel_event_handler

remove_channel_event_handler

Remove event handler.

search_channel

search_channel

searches a channel by given deviceID and channelIndex.

Parameters:

Name Type Description Default

device_id

the device to search for

required

channel_index

the channel to search for

required

Returns:

Type Description
FunctionalChannel | None

the FunctionalChannel object or None if it couldn't find a channel

search_client_by_id

search_client_by_id

searches a client by given id

Parameters:

Name Type Description Default

clientID

the client to search for

required

Returns:

Type Description
Client | None

the client object or None if it couldn't find a client

search_device_by_id

search_device_by_id

searches a device by given id

Parameters:

Name Type Description Default

deviceID

the device to search for

required

Returns:

Type Description
Device | None

the Device object or None if it couldn't find a device

search_group_by_id

search_group_by_id

searches a group by given id

Parameters:

Name Type Description Default

groupID

the group to search for

required

Returns:

Type Description
Group | None

the group object or None if it couldn't find a group

search_rule_by_id

search_rule_by_id

searches a rule by given id

Parameters:

Name Type Description Default

ruleID

the rule to search for

required

Returns:

Type Description
Rule | None

the rule object or None if it couldn't find a rule

set_auth_token

set_auth_token

Sets the auth token for the connection. This is only necessary, if not already set in init function

set_intrusion_alert_through_smoke_detectors_async async

set_intrusion_alert_through_smoke_detectors_async

activate or deactivate if smoke detectors should "ring" during an alarm

Parameters:

Name Type Description Default

activate

bool

True will let the smoke detectors "ring" during an alarm

True

set_on_connected_handler

set_on_connected_handler

Sets a callback that is called when the WebSocket connection is established.

set_on_disconnected_handler

set_on_disconnected_handler

Sets a callback that is called when the WebSocket connection is closed.

set_on_reconnect_handler

set_on_reconnect_handler

Sets a callback that is called when the WebSocket connection is trying to reconnect after a disconnect.

set_pin_async async

set_pin_async

sets a new pin for the home

Parameters:

Name Type Description Default

new_pin

str | None

the new pin

required

old_pin

str | None

optional, if there is currently a pin active it must be given here.

None

Returns:

Type Description
dict

the result of the call

set_security_zones_activation_async async

set_security_zones_activation_async

this function will set the alarm system to armed or disable it

Examples: arming while being at home home.set_security_zones_activation(False,True)

arming without being at home home.set_security_zones_activation(True,True)

disarming the alarm system home.set_security_zones_activation(False,False)

Parameters:

Name Type Description Default

internal

activates/deactivates the internal zone

True

external

activates/deactivates the external zone

True

set_silent_alarm_async async

set_silent_alarm_async

this function will set the silent alarm for internal or external

Parameters:

Name Type Description Default

internal

activates/deactivates the silent alarm for internal zone

True

external

activates/deactivates the silent alarm for the external zone

True

set_timezone_async async

set_timezone_async

sets the timezone for the AP. e.g. "Europe/Berlin"

Parameters:

Name Type Description Default

timezone

str

the new timezone

required

set_zones_device_assignment_async async

set_zones_device_assignment_async

sets the devices for the security zones

Parameters:

Name Type Description Default

internal_devices

the devices which should be used for the internal zone

required

external_devices

the devices which should be used for the external(hull) zone

required

Returns:

Type Description
dict

the result of the call

start_inclusion_async async

start_inclusion_async

start inclusion mode for specific device

Parameters:

Name Type Description Default

device_id

str

sgtin of device

required

update_home

update_home

parse a given json configuration into self. This will update the whole home including devices, clients and groups.

Args: json_state(dict): the json configuration as dictionary clear_config(bool): if set to true, this function will remove all old objects from self.devices, self.client, ... to have a fresh config instead of reparsing them

update_home_only

update_home_only

parse a given home json configuration into self. This will update only the home without updating devices, clients and groups.

Args: js_home(dict): the json configuration as dictionary clear_config(bool): if set to true, this function will remove all old objects from self.devices, self.client, ... to have a fresh config instead of reparsing them

websocket_is_connected

websocket_is_connected

returns if the websocket is connected.

AutoNameEnum

Bases: str, Enum

auto() will generate the name of the attribute as value

from_str classmethod

from_str

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

load_functionalChannels

load_functionalChannels

this function will load the functionalChannels into the device

Blind

Bases: Shutter

Base class for blind devices

set_slats_level

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

set_slats_level_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

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

set_shutter_stop

stops the current operation Returns: the result of the _restCall

set_slats_level

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

stop

stop

stops the current shutter operation

Returns: the result of the _restCall

BlindModule

Bases: Device

HMIP-HDM1 (Hunter Douglas & erfal window blinds)

stop async

stop

stops the current operation Returns: the result of the _restCall

stop_async async

stop_async

stops the current operation Returns: the result of the _restCall

BrandBlind

Bases: FullFlushBlind

HMIP-BBL (Blind Actuator for brand switches)

BrandDimmer

Bases: Dimmer

HMIP-BDT Brand Dimmer

BrandPushButton

Bases: PushButton

HMIP-BRC2 (Remote Control for brand switches – 2x channels)

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

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

set_rgb_dim_level_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

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

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

CarbonDioxideSensor

Bases: Switch

HmIP-SCTH230

CarbonDioxideSensorChannel

Bases: FunctionalChannel

Representation of the CarbonDioxideSensorChannel Channel

ChangeOverChannel

Bases: FunctionalChannel

this is the representative of the CHANGE_OVER_CHANNEL channel

ClimateSensorChannel

Bases: FunctionalChannel

this is the representative of the CLIMATE_SENSOR_CHANNEL channel

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)

ContactInterface

Bases: SabotageDevice

HMIP-SCI (Contact Interface Sensor)

ContactInterfaceChannel

Bases: ShutterContactChannel

this is the representative of the CONTACT_INTERFACE_CHANNEL channel

DaliGateway

Bases: Device

HmIP-DRG-DALI Dali Gateway device.

DehumidifierDemandChannel

Bases: FunctionalChannel

this is the representative of the DEHUMIDIFIER_DEMAND_CHANNEL channel

Device

Bases: BaseDevice

this class represents a generic homematic ip device

DeviceBaseChannel

Bases: FunctionalChannel

this is the representative of the DEVICE_BASE channel

DeviceBaseFloorHeatingChannel

Bases: DeviceBaseChannel

this is the representative of the DEVICE_BASE_FLOOR_HEATING channel

set_minimum_floor_heating_valve_position

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

Bases: FunctionalChannel

this is the representative of the DEVICE_BLOCKING channel

DeviceGlobalPumpControlChannel

Bases: DeviceBaseChannel

this is the representative of the DEVICE_GLOBAL_PUMP_CONTROL channel

DeviceIncorrectPositionedChannel

Bases: DeviceBaseChannel

this is the representative of the DEVICE_INCORRECT_POSITIONED channel

DeviceOperationLockChannel

Bases: DeviceBaseChannel

this is the representative of the DEVICE_OPERATIONLOCK channel

DeviceOperationLockChannelWithSabotage

Bases: DeviceOperationLockChannel

this is the representation of the DeviceOperationLockChannelWithSabotage channel

DevicePermanentFullRxChannel

Bases: DeviceBaseChannel

this is the representative of the DEVICE_PERMANENT_FULL_RX channel

DeviceRechargeableWithSabotage

Bases: DeviceSabotageChannel

this is the representative of the DEVICE_RECHARGEABLE_WITH_SABOTAGE channel

DeviceSabotageChannel

Bases: DeviceBaseChannel

this is the representative of the DEVICE_SABOTAGE channel

Dimmer

Bases: Device

Base dimmer device class

DimmerChannel

Bases: FunctionalChannel

this is the representative of the DIMMER_CHANNEL channel

DinRailBlind4

Bases: Blind

HmIP-DRBLI4 (Blind Actuator for DIN rail mount – 4 channels)

DinRailDimmer3

Bases: Dimmer

HMIP-DRDI3 (Dimming Actuator Inbound 230V – 3x channels, 200W per channel) electrical DIN rail

DinRailSwitch

Bases: FullFlushInputSwitch

HMIP-DRSI1 (Switch Actuator for DIN rail mount – 1x channel)

DinRailSwitch4

Bases: Switch

HMIP-DRSI4 (Homematic IP Switch Actuator for DIN rail mount – 4x channels)

DoorBellButton

Bases: PushButton

HmIP-DBB

DoorBellContactInterface

Bases: Device

HMIP-DSD-PCB (Door Bell Contact Interface)

DoorChannel

Bases: FunctionalChannel

this is the representative of the DoorChannel channel

DoorLockChannel

Bases: FunctionalChannel

This respresents of the DoorLockChannel

async_set_lock_state async

async_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

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

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

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

DoorLockSensor

Bases: Device

HmIP-DLS

DoorLockSensorChannel

Bases: FunctionalChannel

This respresents of the DoorLockSensorChannel

DoorModule

Bases: Device

Generic class for a door module

EnergySensorInterfaceChannel

Bases: FunctionalChannel

EnergySensorInterfaceChannel

EnergySensorsInterface

Bases: Device

HmIP-ESI

ExternalBaseChannel

Bases: FunctionalChannel

this represents the EXTERNAL_BASE_CHANNEL function-channel for external devices

ExternalDevice

Bases: BaseDevice

Represents devices with archtetype EXTERNAL

ExternalUniversalLightChannel

Bases: FunctionalChannel

this represents the EXTERNAL_UNIVERSAL_LIGHT_CHANNEL function-channel for external devices

set_dim_level_async async

set_dim_level_async

Set the dim level of the light channel.

set_dim_level_with_time_async async

set_dim_level_with_time_async

Set the dim level of the light channel with a specified time.

FloorTeminalBlockChannel

Bases: FunctionalChannel

this is the representative of the FLOOR_TERMINAL_BLOCK_CHANNEL channel

FloorTerminalBlock10

Bases: FloorTerminalBlock6

HMIP-FAL24-C10 (Floor Heating Actuator – 10x channels, 24V)

FloorTerminalBlock12

Bases: Device

HMIP-FALMOT-C12 (Floor Heating Actuator – 12x channels, motorised)

set_minimum_floor_heating_valve_position

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

set_minimum_floor_heating_valve_position_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

FloorTerminalBlock6

Bases: Device

HMIP-FAL230-C6 (Floor Heating Actuator - 6 channels, 230 V)

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

Bases: FullFlushShutter, Blind

HMIP-FBL (Blind Actuator - flush-mount)

FullFlushContactInterface

Bases: Device

HMIP-FCI1 (Contact Interface flush-mount – 1 channel)

FullFlushContactInterface6

Bases: Device

HMIP-FCI6 (Contact Interface flush-mount – 6 channels)

FullFlushDimmer

Bases: Dimmer

HMIP-FDT Dimming Actuator flush-mount

FullFlushInputSwitch

Bases: Switch

HMIP-FSI16 (Switch Actuator with Push-button Input 230V, 16A)

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

add_on_channel_event_handler

add_on_channel_event_handler

Adds an event handler to the update method. Fires when a device is updated.

fire_channel_event

fire_channel_event

Trigger the methods tied to _on_channel_event

from_json

from_json

this function will load the functional channel object from a json object and the given groups

Args: js(dict): the json object groups(Iterable[Group]): the groups for referencing

GarageDoorModuleTormatic

Bases: DoorModule

HMIP-MOD-TM (Garage Door Module Tormatic)

GenericInputChannel

Bases: FunctionalChannel

this is the representative of the GENERIC_INPUT_CHANNEL channel

Group

Bases: HomeMaticIPObject

this class represents a group

HeatDemandChannel

Bases: FunctionalChannel

this is the representative of the HEAT_DEMAND_CHANNEL channel

HeatingSwitch2

Bases: Switch

HMIP-WHS2 (Switch Actuator for heating systems – 2x channels)

HeatingThermostat

Bases: OperationLockableDevice

HMIP-eTRV (Radiator Thermostat)

HeatingThermostatChannel

Bases: FunctionalChannel

this is the representative of the HEATING_THERMOSTAT_CHANNEL channel

HeatingThermostatCompact

Bases: SabotageDevice

HMIP-eTRV-C (Heating-thermostat compact without display)

HeatingThermostatEvo

Bases: OperationLockableDevice

HMIP-eTRV-E (Heating-thermostat new evo version)

HoermannDrivesModule

Bases: DoorModule

HMIP-MOD-HO (Garage Door Module for Hörmann)

HomeMaticIPObject

This class represents a generic homematic ip object to make basic requests to the access point

fire_remove_event

fire_remove_event

Trigger the method tied to _on_remove

fire_update_event

fire_update_event

Trigger the method tied to _on_update

from_json

from_json

this method will parse the homematicip object from a json object

Parameters:

Name Type Description Default

js

the json object to parse

required

fromtimestamp

fromtimestamp

internal helper function which will create a datetime object from a timestamp

on_remove

on_remove

Adds an event handler to the remove method. Fires when a device is removed.

on_update

on_update

Adds an event handler to the update method. Fires when a device is updated.

remove_callback

remove_callback

Remove event handler.

set_attr_from_dict

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 dict(dict): the dictionary from which the value should be extracted type(AutoNameEnum): this will call 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

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

Bases: FunctionalChannel

this is the representation of the IMPULSE_OUTPUT_CHANNEL

send_start_impulse

send_start_impulse

Toggle Wall mounted Garage Door Controller.

InternalSwitchChannel

Bases: FunctionalChannel

this is the representative of the INTERNAL_SWITCH_CHANNEL channel

KeyRemoteControl4

Bases: PushButton

HMIP-KRC4 (Key Ring Remote Control - 4 buttons)

KeyRemoteControlAlarm

Bases: Device

HMIP-KRCA (Key Ring Remote Control - alarm)

LightSensor

Bases: Device

HMIP-SLO (Light Sensor outdoor)

LightSensorChannel

Bases: FunctionalChannel

this is the representative of the LIGHT_SENSOR_CHANNEL channel

MainsFailureChannel

Bases: FunctionalChannel

this is the representative of the MAINS_FAILURE_CHANNEL channel

MetaGroup

Bases: Group

a meta group is a "Room" inside the homematic configuration

MotionDetectionChannel

Bases: FunctionalChannel

this is the representative of the MOTION_DETECTION_CHANNEL channel

MotionDetectorIndoor

Bases: SabotageDevice

HMIP-SMI (Motion Detector with Brightness Sensor - indoor)

MotionDetectorOutdoor

Bases: Device

HMIP-SMO-A (Motion Detector with Brightness Sensor - outdoor)

MotionDetectorPushButton

Bases: MotionDetectorOutdoor

HMIP-SMI55 (Motion Detector with Brightness Sensor and Remote Control - 2-button)

MultiIOBox

Bases: Switch

HMIP-MIOB (Multi IO Box for floor heating & cooling)

MultiModeInputBlindChannel

Bases: BlindChannel

this is the representative of the MULTI_MODE_INPUT_BLIND_CHANNEL channel

MultiModeInputChannel

Bases: FunctionalChannel

this is the representative of the MULTI_MODE_INPUT_CHANNEL channel

MultiModeInputDimmerChannel

Bases: DimmerChannel

this is the representative of the MULTI_MODE_INPUT_DIMMER_CHANNEL channel

MultiModeInputSwitchChannel

Bases: SwitchChannel

this is the representative of the MULTI_MODE_INPUT_SWITCH_CHANNEL channel

NotificationLightChannel

Bases: DimmerChannel, SwitchChannel

this is the representative of the NOTIFICATION_LIGHT_CHANNEL channel

async_set_optical_signal async

async_set_optical_signal

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

async_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

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

OpenCollector8Module

Bases: Switch

HMIP-MOD-OC8 ( Open Collector Module )

OpticalSignalChannel

Bases: FunctionalChannel

this class represents the OPTICAL_SIGNAL_CHANNEL

OpticalSignalGroupChannel

Bases: FunctionalChannel

this class represents the OPTICAL_SIGNAL_GROUP_CHANNEL

PassageDetector

Bases: SabotageDevice

HMIP-SPDR (Passage Detector)

PassageDetectorChannel

Bases: FunctionalChannel

this is the representative of the PASSAGE_DETECTOR_CHANNEL channel

PlugableSwitch

Bases: Switch

HMIP-PS (Pluggable Switch), HMIP-PCBS (Switch Circuit Board - 1 channel)

PluggableDimmer

Bases: Dimmer

HMIP-PDT Pluggable Dimmer

PluggableMainsFailureSurveillance

Bases: Device

HMIP-PMFS (Plugable Power Supply Monitoring)

PresenceDetectionChannel

Bases: FunctionalChannel

this is the representative of the PRESENCE_DETECTION_CHANNEL channel

PresenceDetectorIndoor

Bases: SabotageDevice

HMIP-SPI (Presence Sensor - indoor)

PrintedCircuitBoardSwitch2

Bases: Switch

HMIP-PCBS2 (Switch Circuit Board - 2x channels)

PrintedCircuitBoardSwitchBattery

Bases: Switch

HMIP-PCBS-BAT (Printed Circuit Board Switch Battery)

PushButton

Bases: Device

HMIP-WRC2 (Wall-mount Remote Control - 2-button)

PushButton6

Bases: PushButton

HMIP-WRC6 (Wall-mount Remote Control - 6-button)

PushButtonFlat

Bases: PushButton

HmIP-WRCC2 (Wall-mount Remote Control – flat)

RainDetectionChannel

Bases: FunctionalChannel

this is the representative of the TILT_VIBRATION_SENSOR_CHANNEL channel

RainSensor

Bases: Device

HMIP-SRD (Rain Sensor)

RemoteControl8

Bases: PushButton

HMIP-RC8 (Remote Control - 8 buttons)

RemoteControl8Module

Bases: RemoteControl8

HMIP-MOD-RC8 (Open Collector Module Sender - 8x)

RgbwDimmer

Bases: Device

HmIP-RGBW

RoomControlDevice

Bases: WallMountedThermostatPro

ALPHA-IP-RBG (Alpha IP Wall Thermostat Display)

RoomControlDeviceAnalog

Bases: Device

ALPHA-IP-RBGa (ALpha IP Wall Thermostat Display analog)

RotaryHandleChannel

Bases: ShutterContactChannel

this is the representative of the ROTARY_HANDLE_CHANNEL channel

RotaryHandleSensor

Bases: SabotageDevice

HMIP-SRH

Rule

Bases: HomeMaticIPObject

this class represents the automation rule

set_label

set_label

sets the label of the rule

set_label_async async

set_label_async

sets the label of the rule

SecurityEvent

Bases: HomeMaticIPObject

this class represents a security event

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

async_set_shutter_stop

stops the current operation Returns: the result of the _restCall

Shutter

Bases: Device

Base class for shutter devices

set_shutter_level

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

set_shutter_level_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

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

set_shutter_stop_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

async_set_shutter_level

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

async_set_shutter_stop

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

Bases: FunctionalChannel

this is the representative of the SHUTTER_CONTACT_CHANNEL channel

ShutterContactMagnetic

Bases: Device

HMIP-SWDM / HMIP-SWDM-B2 (Door / Window Contact - magnetic )

ShutterContactOpticalPlus

Bases: ShutterContact

HmIP-SWDO-PL ( Window / Door Contact – optical, plus )

SimpleRule

Bases: Rule

This class represents a "Simple" automation rule

disable

disable

disables the rule

disable_async async

disable_async

disables the rule

enable

enable

enables the rule

enable_async async

enable_async

enables the rule

set_rule_enabled_state

set_rule_enabled_state

enables/disables this rule

set_rule_enabled_state_async async

set_rule_enabled_state_async

enables/disables this rule

SingleKeyChannel

Bases: FunctionalChannel

this is the representative of the SINGLE_KEY_CHANNEL channel

SmokeDetector

Bases: Device

HMIP-SWSD (Smoke Alarm with Q label)

SmokeDetectorChannel

Bases: FunctionalChannel

this is the representative of the SMOKE_DETECTOR_CHANNEL channel

Switch

Bases: Device

Generic Switch class

SwitchChannel

Bases: FunctionalChannel

this is the representative of the SWITCH_CHANNEL channel

SwitchMeasuring

Bases: Switch

Generic class for Switch and Meter

SwitchMeasuringChannel

Bases: SwitchChannel

this is the representative of the SWITCH_MEASURING_CHANNEL channel

TemperatureDifferenceSensor2

Bases: Device

HmIP-STE2-PCB (Temperature Difference Sensors - 2x sensors)

TemperatureDifferenceSensor2Channel

Bases: FunctionalChannel

this is the representative of the TEMPERATURE_SENSOR_2_EXTERNAL_DELTA_CHANNEL channel

TemperatureHumiditySensorDisplay

Bases: Device

HMIP-STHD (Temperature and Humidity Sensor with display - indoor)

TemperatureHumiditySensorOutdoor

Bases: Device

HMIP-STHO (Temperature and Humidity Sensor outdoor)

TemperatureHumiditySensorWithoutDisplay

Bases: Device

HMIP-STH (Temperature and Humidity Sensor without display - indoor)

TiltVibrationSensor

Bases: Device

HMIP-STV (Inclination and vibration Sensor)

TiltVibrationSensorChannel

Bases: FunctionalChannel

this is the representative of the TILT_VIBRATION_SENSOR_CHANNEL channel

UniversalActuatorChannel

Bases: FunctionalChannel

this is the representative of the UniversalActuatorChannel UNIVERSAL_ACTUATOR_CHANNEL

UniversalLightChannel

Bases: FunctionalChannel

Represents Universal Light Channel.

set_dim_level_async async

set_dim_level_async

Set the dim level of the light channel.

set_dim_level_with_time_async async

set_dim_level_with_time_async

Set the dim level of the light channel with a specified time.

start_light_scene_async async

start_light_scene_async

Start a light scene.

UniversalLightChannelGroup

Bases: UniversalLightChannel

Universal-Light-Channel-Group.

WallMountedGarageDoorController

Bases: Device

HmIP-WGC Wall mounted Garage Door Controller

send_start_impulse

send_start_impulse

Toggle Wall mounted Garage Door Controller.

send_start_impulse_async async

send_start_impulse_async

Toggle Wall mounted Garage Door Controller.

WallMountedThermostatBasicHumidity

Bases: WallMountedThermostatPro

HMIP-WTH-B (Wall Thermostat – basic)

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

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

WaterSensor

Bases: Device

HMIP-SWD ( Water Sensor )

WaterSensorChannel

Bases: FunctionalChannel

this is the representative of the WATER_SENSOR_CHANNEL channel

WateringActuatorChannel

Bases: FunctionalChannel

this is the representative of the WATERING_ACTUATOR_CHANNEL channel

reset_water_volume_async async

reset_water_volume_async

Resets the water volume counter of the specified device.

set_watering_switch_state_async async

set_watering_switch_state_async

Sets the watering switch state of the specified device.

set_watering_switch_state_with_time_async async

set_watering_switch_state_with_time_async

Sets the watering switch state of the specified device with a specified time.

Parameters:

Name Type Description Default

on

bool

True to turn on, False to turn off.

required

seconds

int

The watering time in seconds.

required

toggle_watering_state_async async

toggle_watering_state_async

Toggles the watering state of the specified device.

WeatherSensor

Bases: Device

HMIP-SWO-B

WeatherSensorChannel

Bases: FunctionalChannel

this is the representative of the WEATHER_SENSOR_CHANNEL channel

WeatherSensorPlus

Bases: Device

HMIP-SWO-PL

WeatherSensorPlusChannel

Bases: WeatherSensorChannel

this is the representative of the WEATHER_SENSOR_PLUS_CHANNEL channel

WeatherSensorPro

Bases: Device

HMIP-SWO-PR

WeatherSensorProChannel

Bases: WeatherSensorPlusChannel

this is the representative of the WEATHER_SENSOR_PRO_CHANNEL channel

WiredCarbonTemperatureHumiditySensorDisplay

Bases: Device

HMIP-STHD-C (Wired Carbon Dioxide, Temperature and Humidity Sensor with display)

WiredDimmer3

Bases: Dimmer

HMIPW-DRD3 (Homematic IP Wired Dimming Actuator – 3x channels)

WiredDinRailBlind4

Bases: Blind

HmIPW-DRBL4

WiredFloorTerminalBlock12

Bases: FloorTerminalBlock12

Implementation of HmIPW-FALMOT-C12

WiredInput32

Bases: FullFlushContactInterface

HMIPW-DRI32 (Homematic IP Wired Inbound module – 32x channels)

WiredInputSwitch6

Bases: Switch

HmIPW-FIO6

WiredMotionDetectorPushButton

Bases: MotionDetectorOutdoor

HmIPW-SMI55

WiredPushButton

Bases: PushButton

HmIPW-WRC6 and HmIPW-WRC2

set_dim_level

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

set_dim_level_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

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

set_optical_signal_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

WiredSwitch4

Bases: Switch

HMIPW-DRS4 (Homematic IP Wired Switch Actuator – 4x channels)

WiredSwitch8

Bases: Switch

HMIPW-DRS8 (Homematic IP Wired Switch Actuator – 8x channels)