homematicip package¶
Subpackages¶
Submodules¶
homematicip.EventHook module¶
homematicip.HomeMaticIPObject module¶
homematicip.auth module¶
homematicip.class_maps module¶
homematicip.device module¶
-
class
homematicip.device.
AccelerationSensor
(connection)[source]¶ Bases:
homematicip.device.Device
HMIP-SAM (Contact Interface flush-mount – 1 channel)
-
accelerationSensorEventFilterPeriod
= None¶ type: float
-
accelerationSensorMode
= None¶ type: AccelerationSensorMode
-
accelerationSensorNeutralPosition
= None¶ type: AccelerationSensorNeutralPosition
-
accelerationSensorSensitivity
= None¶ type: AccelerationSensorSensitivity
-
accelerationSensorTriggerAngle
= None¶ type: int
-
accelerationSensorTriggered
= None¶ type: bool
-
from_json
(js)[source]¶ this method will parse the homematicip object from a json object
Parameters: js – the json object to parse
-
notificationSoundTypeHighToLow
= None¶ type: NotificationSoundType
-
notificationSoundTypeLowToHigh
= None¶ type: NotificationSoundType
-
set_acceleration_sensor_mode
(mode: homematicip.base.enums.AccelerationSensorMode, channelIndex=1)[source]¶
-
set_acceleration_sensor_neutral_position
(neutralPosition: homematicip.base.enums.AccelerationSensorNeutralPosition, channelIndex=1)[source]¶
-
-
class
homematicip.device.
AlarmSirenIndoor
(connection)[source]¶ Bases:
homematicip.device.SabotageDevice
HMIP-ASIR (Alarm Siren)
-
class
homematicip.device.
AlarmSirenOutdoor
(connection)[source]¶ Bases:
homematicip.device.AlarmSirenIndoor
HMIP-ASIR-O (Alarm Siren Outdoor)
-
class
homematicip.device.
Blind
(connection)[source]¶ Bases:
homematicip.device.Shutter
Base class for blind devices
-
class
homematicip.device.
BlindModule
(connection)[source]¶ Bases:
homematicip.device.Device
HMIP-HDM1 (Hunter Douglas & erfal window blinds)
-
class
homematicip.device.
BrandBlind
(connection)[source]¶ Bases:
homematicip.device.FullFlushBlind
HMIP-BBL (Blind Actuator for brand switches)
-
class
homematicip.device.
BrandDimmer
(connection)[source]¶ Bases:
homematicip.device.Dimmer
HMIP-BDT Brand Dimmer
-
class
homematicip.device.
BrandPushButton
(connection)[source]¶ Bases:
homematicip.device.PushButton
HMIP-BRC2 (Remote Control for brand switches – 2x channels)
-
class
homematicip.device.
BrandSwitchMeasuring
(connection)[source]¶ Bases:
homematicip.device.SwitchMeasuring
HMIP-BSM (Brand Switch and Meter)
-
class
homematicip.device.
BrandSwitchNotificationLight
(connection)[source]¶ Bases:
homematicip.device.Switch
HMIP-BSL (Switch Actuator for brand switches – with signal lamp)
-
set_rgb_dim_level
(channelIndex: int, rgb: homematicip.base.enums.RGBColorState, dimLevel: float)[source]¶ sets the color and dimlevel of the lamp
Parameters: - 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
(channelIndex: int, rgb: homematicip.base.enums.RGBColorState, dimLevel: float, onTime: float, rampTime: float)[source]¶ sets the color and dimlevel of the lamp
Parameters: - 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
-
-
class
homematicip.device.
ContactInterface
(connection)[source]¶ Bases:
homematicip.device.SabotageDevice
HMIP-SCI (Contact Interface Sensor)
-
class
homematicip.device.
Device
(connection)[source]¶ Bases:
homematicip.base.HomeMaticIPObject.HomeMaticIPObject
this class represents a generic homematic ip device
-
from_json
(js)[source]¶ this method will parse the homematicip object from a json object
Parameters: js – the json object to parse
-
-
class
homematicip.device.
Dimmer
(connection)[source]¶ Bases:
homematicip.device.Device
Base dimmer device class
-
class
homematicip.device.
DinRailBlind4
(connection)[source]¶ Bases:
homematicip.device.Blind
HmIP-DRBLI4 (Blind Actuator for DIN rail mount – 4 channels)
-
class
homematicip.device.
DinRailDimmer3
(connection)[source]¶ Bases:
homematicip.device.Dimmer
HMIP-DRDI3 (Dimming Actuator Inbound 230V – 3x channels, 200W per channel) electrical DIN rail
-
class
homematicip.device.
DinRailSwitch
(connection)[source]¶ Bases:
homematicip.device.FullFlushInputSwitch
HMIP-DRSI1 (Switch Actuator for DIN rail mount – 1x channel)
-
class
homematicip.device.
DinRailSwitch4
(connection)[source]¶ Bases:
homematicip.device.Switch
HMIP-DRSI4 (Homematic IP Switch Actuator for DIN rail mount – 4x channels)
-
class
homematicip.device.
DoorModule
(connection)[source]¶ Bases:
homematicip.device.Device
Generic class for a door module
-
class
homematicip.device.
FloorTerminalBlock10
(connection)[source]¶ Bases:
homematicip.device.FloorTerminalBlock6
HMIP-FAL24-C10 (Floor Heating Actuator – 10x channels, 24V)
-
class
homematicip.device.
FloorTerminalBlock12
(connection)[source]¶ Bases:
homematicip.device.Device
HMIP-FALMOT-C12 (Floor Heating Actuator – 12x channels, motorised)
-
class
homematicip.device.
FloorTerminalBlock6
(connection)[source]¶ Bases:
homematicip.device.Device
HMIP-FAL230-C6 (Floor Heating Actuator - 6 channels, 230 V)
-
class
homematicip.device.
FullFlushBlind
(connection)[source]¶ Bases:
homematicip.device.FullFlushShutter
,homematicip.device.Blind
HMIP-FBL (Blind Actuator - flush-mount)
-
class
homematicip.device.
FullFlushContactInterface
(connection)[source]¶ Bases:
homematicip.device.Device
HMIP-FCI1 (Contact Interface flush-mount – 1 channel)
-
class
homematicip.device.
FullFlushContactInterface6
(connection)[source]¶ Bases:
homematicip.device.Device
HMIP-FCI6 (Contact Interface flush-mount – 6 channels)
-
class
homematicip.device.
FullFlushDimmer
(connection)[source]¶ Bases:
homematicip.device.Dimmer
HMIP-FDT Dimming Actuator flush-mount
-
class
homematicip.device.
FullFlushInputSwitch
(connection)[source]¶ Bases:
homematicip.device.Switch
HMIP-FSI16 (Switch Actuator with Push-button Input 230V, 16A)
-
class
homematicip.device.
FullFlushShutter
(connection)[source]¶ Bases:
homematicip.device.Shutter
HMIP-FROLL (Shutter Actuator - flush-mount) / HMIP-BROLL (Shutter Actuator - Brand-mount)
-
class
homematicip.device.
FullFlushSwitchMeasuring
(connection)[source]¶ Bases:
homematicip.device.SwitchMeasuring
HMIP-FSM, HMIP-FSM16 (Full flush Switch and Meter)
-
class
homematicip.device.
GarageDoorModuleTormatic
(connection)[source]¶ Bases:
homematicip.device.DoorModule
HMIP-MOD-TM (Garage Door Module Tormatic)
-
class
homematicip.device.
HeatingSwitch2
(connection)[source]¶ Bases:
homematicip.device.Switch
HMIP-WHS2 (Switch Actuator for heating systems – 2x channels)
-
class
homematicip.device.
HeatingThermostat
(connection)[source]¶ Bases:
homematicip.device.OperationLockableDevice
HMIP-eTRV (Radiator Thermostat)
-
from_json
(js)[source]¶ this method will parse the homematicip object from a json object
Parameters: js – the json object to parse
-
valveState
= None¶ the current state of the valve
Type: ValveState
-
-
class
homematicip.device.
HeatingThermostatCompact
(connection)[source]¶ Bases:
homematicip.device.SabotageDevice
HMIP-eTRV-C (Heating-thermostat compact without display)
-
from_json
(js)[source]¶ this method will parse the homematicip object from a json object
Parameters: js – the json object to parse
-
valveState
= None¶ the current state of the valve
Type: ValveState
-
-
class
homematicip.device.
HeatingThermostatEvo
(connection)[source]¶ Bases:
homematicip.device.OperationLockableDevice
HMIP-eTRV-E (Heating-thermostat new evo version)
-
from_json
(js)[source]¶ this method will parse the homematicip object from a json object
Parameters: js – the json object to parse
-
valveState
= None¶ the current state of the valve
Type: ValveState
-
-
class
homematicip.device.
HoermannDrivesModule
(connection)[source]¶ Bases:
homematicip.device.DoorModule
HMIP-MOD-HO (Garage Door Module for Hörmann)
-
class
homematicip.device.
HomeControlAccessPoint
(connection)[source]¶ Bases:
homematicip.device.Device
-
class
homematicip.device.
KeyRemoteControl4
(connection)[source]¶ Bases:
homematicip.device.PushButton
HMIP-KRC4 (Key Ring Remote Control - 4 buttons)
-
class
homematicip.device.
KeyRemoteControlAlarm
(connection)[source]¶ Bases:
homematicip.device.Device
HMIP-KRCA (Key Ring Remote Control - alarm)
-
class
homematicip.device.
LightSensor
(connection)[source]¶ Bases:
homematicip.device.Device
HMIP-SLO (Light Sensor outdoor)
-
class
homematicip.device.
MotionDetectorIndoor
(connection)[source]¶ Bases:
homematicip.device.SabotageDevice
HMIP-SMI (Motion Detector with Brightness Sensor - indoor)
-
class
homematicip.device.
MotionDetectorOutdoor
(connection)[source]¶ Bases:
homematicip.device.Device
HMIP-SMO-A (Motion Detector with Brightness Sensor - outdoor)
-
class
homematicip.device.
MotionDetectorPushButton
(connection)[source]¶ Bases:
homematicip.device.MotionDetectorOutdoor
HMIP-SMI55 (Motion Detector with Brightness Sensor and Remote Control - 2-button)
-
class
homematicip.device.
MultiIOBox
(connection)[source]¶ Bases:
homematicip.device.Switch
HMIP-MIOB (Multi IO Box for floor heating & cooling)
-
class
homematicip.device.
OpenCollector8Module
(connection)[source]¶ Bases:
homematicip.device.Switch
HMIP-MOD-OC8 ( Open Collector Module )
-
class
homematicip.device.
OperationLockableDevice
(connection)[source]¶ Bases:
homematicip.device.Device
-
class
homematicip.device.
PassageDetector
(connection)[source]¶ Bases:
homematicip.device.SabotageDevice
HMIP-SPDR (Passage Detector)
-
class
homematicip.device.
PlugableSwitch
(connection)[source]¶ Bases:
homematicip.device.Switch
HMIP-PS (Pluggable Switch), HMIP-PCBS (Switch Circuit Board - 1 channel)
-
class
homematicip.device.
PlugableSwitchMeasuring
(connection)[source]¶ Bases:
homematicip.device.SwitchMeasuring
HMIP-PSM (Pluggable Switch and Meter)
-
class
homematicip.device.
PluggableDimmer
(connection)[source]¶ Bases:
homematicip.device.Dimmer
HMIP-PDT Pluggable Dimmer
-
class
homematicip.device.
PluggableMainsFailureSurveillance
(connection)[source]¶ Bases:
homematicip.device.Device
HMIP-PMFS (Plugable Power Supply Monitoring)
-
class
homematicip.device.
PresenceDetectorIndoor
(connection)[source]¶ Bases:
homematicip.device.SabotageDevice
HMIP-SPI (Presence Sensor - indoor)
-
class
homematicip.device.
PrintedCircuitBoardSwitch2
(connection)[source]¶ Bases:
homematicip.device.Switch
HMIP-PCBS2 (Switch Circuit Board - 2x channels)
-
class
homematicip.device.
PrintedCircuitBoardSwitchBattery
(connection)[source]¶ Bases:
homematicip.device.Switch
HMIP-PCBS-BAT (Printed Circuit Board Switch Battery)
-
class
homematicip.device.
PushButton
(connection)[source]¶ Bases:
homematicip.device.Device
HMIP-WRC2 (Wall-mount Remote Control - 2-button)
-
class
homematicip.device.
PushButton6
(connection)[source]¶ Bases:
homematicip.device.PushButton
HMIP-WRC6 (Wall-mount Remote Control - 6-button)
-
class
homematicip.device.
PushButtonFlat
(connection)[source]¶ Bases:
homematicip.device.PushButton
HmIP-WRCC2 (Wall-mount Remote Control – flat)
-
class
homematicip.device.
RainSensor
(connection)[source]¶ Bases:
homematicip.device.Device
HMIP-SRD (Rain Sensor)
-
from_json
(js)[source]¶ this method will parse the homematicip object from a json object
Parameters: js – the json object to parse
-
rainSensorSensitivity
= None¶ type: float
-
raining
= None¶ type: bool
-
-
class
homematicip.device.
RemoteControl8
(connection)[source]¶ Bases:
homematicip.device.PushButton
HMIP-RC8 (Remote Control - 8 buttons)
-
class
homematicip.device.
RemoteControl8Module
(connection)[source]¶ Bases:
homematicip.device.RemoteControl8
HMIP-MOD-RC8 (Open Collector Module Sender - 8x)
-
class
homematicip.device.
RoomControlDevice
(connection)[source]¶ Bases:
homematicip.device.WallMountedThermostatPro
ALPHA-IP-RBG (Alpha IP Wall Thermostat Display)
-
class
homematicip.device.
RoomControlDeviceAnalog
(connection)[source]¶ Bases:
homematicip.device.Device
ALPHA-IP-RBGa (ALpha IP Wall Thermostat Display analog)
-
class
homematicip.device.
RotaryHandleSensor
(connection)[source]¶ Bases:
homematicip.device.SabotageDevice
HMIP-SRH
-
class
homematicip.device.
SabotageDevice
(connection)[source]¶ Bases:
homematicip.device.Device
-
class
homematicip.device.
Shutter
(connection)[source]¶ Bases:
homematicip.device.Device
Base class for shutter devices
-
class
homematicip.device.
ShutterContact
(connection)[source]¶ Bases:
homematicip.device.SabotageDevice
HMIP-SWDO (Door / Window Contact - optical) / HMIP-SWDO-I (Door / Window Contact Invisible - optical)
-
class
homematicip.device.
ShutterContactMagnetic
(connection)[source]¶ Bases:
homematicip.device.Device
HMIP-SWDM / HMIP-SWDM-B2 (Door / Window Contact - magnetic )
-
class
homematicip.device.
ShutterContactOpticalPlus
(connection)[source]¶ Bases:
homematicip.device.ShutterContact
HmIP-SWDO-PL ( Window / Door Contact – optical, plus )
-
class
homematicip.device.
SmokeDetector
(connection)[source]¶ Bases:
homematicip.device.Device
HMIP-SWSD (Smoke Alarm with Q label)
-
class
homematicip.device.
Switch
(connection)[source]¶ Bases:
homematicip.device.Device
Generic Switch class
-
class
homematicip.device.
SwitchMeasuring
(connection)[source]¶ Bases:
homematicip.device.Switch
Generic class for Switch and Meter
-
class
homematicip.device.
TemperaturDifferenceSensor2
(connection)[source]¶ Bases:
homematicip.device.Device
HmIP-STE2-PCB (Temperature Difference Sensors - 2x sensors)
-
from_json
(js)[source]¶ this method will parse the homematicip object from a json object
Parameters: js – the json object to parse
-
temperatureExternalDelta
= None¶ type: float
-
temperatureExternalOne
= None¶ type: float
-
temperatureExternalTwo
= None¶ type: float
-
-
class
homematicip.device.
TemperatureHumiditySensorDisplay
(connection)[source]¶ Bases:
homematicip.device.Device
HMIP-STHD (Temperature and Humidity Sensor with display - indoor)
-
class
homematicip.device.
TemperatureHumiditySensorOutdoor
(connection)[source]¶ Bases:
homematicip.device.Device
HMIP-STHO (Temperature and Humidity Sensor outdoor)
-
class
homematicip.device.
TemperatureHumiditySensorWithoutDisplay
(connection)[source]¶ Bases:
homematicip.device.Device
HMIP-STH (Temperature and Humidity Sensor without display - indoor)
-
class
homematicip.device.
TiltVibrationSensor
(connection)[source]¶ Bases:
homematicip.device.Device
HMIP-STV (Inclination and vibration Sensor)
-
accelerationSensorEventFilterPeriod
= None¶ type: float
-
accelerationSensorMode
= None¶ type: AccelerationSensorMode
-
accelerationSensorSensitivity
= None¶ type: AccelerationSensorSensitivity
-
accelerationSensorTriggerAngle
= None¶ type: int
-
accelerationSensorTriggered
= None¶ type: bool
-
from_json
(js)[source]¶ this method will parse the homematicip object from a json object
Parameters: js – the json object to parse
-
set_acceleration_sensor_mode
(mode: homematicip.base.enums.AccelerationSensorMode, channelIndex=1)[source]¶
-
-
class
homematicip.device.
WallMountedThermostatBasicHumidity
(connection)[source]¶ Bases:
homematicip.device.WallMountedThermostatPro
HMIP-WTH-B (Wall Thermostat – basic)
-
class
homematicip.device.
WallMountedThermostatPro
(connection)[source]¶ Bases:
homematicip.device.TemperatureHumiditySensorDisplay
,homematicip.device.OperationLockableDevice
HMIP-WTH, HMIP-WTH-2 (Wall Thermostat with Humidity Sensor) / HMIP-BWTH (Brand Wall Thermostat with Humidity Sensor)
-
class
homematicip.device.
WaterSensor
(connection)[source]¶ Bases:
homematicip.device.Device
HMIP-SWD ( Water Sensor )
-
from_json
(js)[source]¶ this method will parse the homematicip object from a json object
Parameters: js – the json object to parse
-
set_acoustic_water_alarm_trigger
(acousticWaterAlarmTrigger: homematicip.base.enums.WaterAlarmTrigger)[source]¶
-
-
class
homematicip.device.
WeatherSensor
(connection)[source]¶ Bases:
homematicip.device.Device
HMIP-SWO-B
-
class
homematicip.device.
WeatherSensorPlus
(connection)[source]¶ Bases:
homematicip.device.Device
HMIP-SWO-PL
-
class
homematicip.device.
WeatherSensorPro
(connection)[source]¶ Bases:
homematicip.device.Device
HMIP-SWO-PR
-
class
homematicip.device.
WiredDimmer3
(connection)[source]¶ Bases:
homematicip.device.Dimmer
HMIPW-DRD3 (Homematic IP Wired Dimming Actuator – 3x channels)
-
class
homematicip.device.
WiredInput32
(connection)[source]¶ Bases:
homematicip.device.FullFlushContactInterface
HMIPW-DRI32 (Homematic IP Wired Inbound module – 32x channels)
-
class
homematicip.device.
WiredSwitch8
(connection)[source]¶ Bases:
homematicip.device.Switch
HMIPW-DRS8 (Homematic IP Wired Switch Actuator – 8x channels)
homematicip.functionalHomes module¶
-
class
homematicip.functionalHomes.
FunctionalHome
(connection)[source]¶ Bases:
homematicip.base.HomeMaticIPObject.HomeMaticIPObject
homematicip.group module¶
-
class
homematicip.group.
AlarmSwitchingGroup
(connection)[source]¶ Bases:
homematicip.group.Group
-
from_json
(js, devices)[source]¶ this method will parse the homematicip object from a json object
Parameters: js – the json object to parse
-
set_signal_acoustic
(signalAcoustic=<AcousticAlarmSignal.FREQUENCY_FALLING: 'FREQUENCY_FALLING'>)[source]¶
-
set_signal_optical
(signalOptical=<OpticalAlarmSignal.BLINKING_ALTERNATELY_REPEATING: 'BLINKING_ALTERNATELY_REPEATING'>)[source]¶
-
-
class
homematicip.group.
EnvironmentGroup
(connection)[source]¶ Bases:
homematicip.group.Group
-
class
homematicip.group.
ExtendedLinkedShutterGroup
(connection)[source]¶ Bases:
homematicip.group.Group
-
class
homematicip.group.
ExtendedLinkedSwitchingGroup
(connection)[source]¶
-
class
homematicip.group.
Group
(connection)[source]¶ Bases:
homematicip.base.HomeMaticIPObject.HomeMaticIPObject
this class represents a group
-
class
homematicip.group.
HeatingChangeoverGroup
(connection)[source]¶ Bases:
homematicip.group.Group
-
class
homematicip.group.
HeatingCoolingDemandBoilerGroup
(connection)[source]¶ Bases:
homematicip.group.Group
-
class
homematicip.group.
HeatingCoolingDemandGroup
(connection)[source]¶ Bases:
homematicip.group.Group
-
class
homematicip.group.
HeatingCoolingDemandPumpGroup
(connection)[source]¶ Bases:
homematicip.group.Group
-
class
homematicip.group.
HeatingCoolingPeriod
(connection)[source]¶ Bases:
homematicip.base.HomeMaticIPObject.HomeMaticIPObject
-
class
homematicip.group.
HeatingCoolingProfile
(connection)[source]¶ Bases:
homematicip.base.HomeMaticIPObject.HomeMaticIPObject
-
class
homematicip.group.
HeatingCoolingProfileDay
(connection)[source]¶ Bases:
homematicip.base.HomeMaticIPObject.HomeMaticIPObject
-
class
homematicip.group.
HeatingDehumidifierGroup
(connection)[source]¶ Bases:
homematicip.group.Group
-
class
homematicip.group.
HeatingExternalClockGroup
(connection)[source]¶ Bases:
homematicip.group.Group
-
class
homematicip.group.
HeatingFailureAlertRuleGroup
(connection)[source]¶ Bases:
homematicip.group.Group
-
from_json
(js, devices)[source]¶ this method will parse the homematicip object from a json object
Parameters: js – the json object to parse
-
heatingFailureValidationResult
= None¶ the heating failure value
Type: HeatingFailureValidationType
-
lastExecutionTimestamp
= None¶ last time of execution
Type: datetime
-
-
class
homematicip.group.
HeatingGroup
(connection)[source]¶ Bases:
homematicip.group.Group
-
class
homematicip.group.
HeatingHumidyLimiterGroup
(connection)[source]¶ Bases:
homematicip.group.Group
-
class
homematicip.group.
HeatingTemperatureLimiterGroup
(connection)[source]¶ Bases:
homematicip.group.Group
-
class
homematicip.group.
HotWaterGroup
(connection)[source]¶ Bases:
homematicip.group.Group
-
class
homematicip.group.
HumidityWarningRuleGroup
(connection)[source]¶ Bases:
homematicip.group.Group
-
from_json
(js, devices)[source]¶ this method will parse the homematicip object from a json object
Parameters: js – the json object to parse
-
humidityValidationResult
= None¶ the current humidity result
Type: HumidityValidationType
-
lastExecutionTimestamp
= None¶ last time of execution
Type: datetime
-
lastStatusUpdate
= None¶ last time the humidity got updated
Type: datetime
-
-
class
homematicip.group.
InboxGroup
(connection)[source]¶ Bases:
homematicip.group.Group
-
class
homematicip.group.
LinkedSwitchingGroup
(connection)[source]¶ Bases:
homematicip.group.Group
-
class
homematicip.group.
LockOutProtectionRule
(connection)[source]¶ Bases:
homematicip.group.Group
-
class
homematicip.group.
MetaGroup
(connection)[source]¶ Bases:
homematicip.group.Group
a meta group is a “Room” inside the homematic configuration
-
class
homematicip.group.
OverHeatProtectionRule
(connection)[source]¶ Bases:
homematicip.group.Group
-
class
homematicip.group.
SecurityGroup
(connection)[source]¶ Bases:
homematicip.group.Group
-
class
homematicip.group.
SecurityZoneGroup
(connection)[source]¶ Bases:
homematicip.group.Group
-
class
homematicip.group.
ShutterProfile
(connection)[source]¶ Bases:
homematicip.group.Group
-
class
homematicip.group.
ShutterWindProtectionRule
(connection)[source]¶ Bases:
homematicip.group.Group
-
class
homematicip.group.
SmokeAlarmDetectionRule
(connection)[source]¶ Bases:
homematicip.group.Group
-
class
homematicip.group.
SwitchGroupBase
(connection)[source]¶ Bases:
homematicip.group.Group
-
class
homematicip.group.
SwitchingGroup
(connection)[source]¶
-
class
homematicip.group.
SwitchingProfileGroup
(connection)[source]¶ Bases:
homematicip.group.Group
homematicip.home module¶
-
class
homematicip.home.
AccessPointUpdateState
(connection)[source]¶ Bases:
homematicip.base.HomeMaticIPObject.HomeMaticIPObject
-
class
homematicip.home.
Client
(connection)[source]¶ Bases:
homematicip.base.HomeMaticIPObject.HomeMaticIPObject
A client is an app which has access to the access point. e.g. smartphone, 3th party apps, google home, conrad connect
-
clientType
= None¶ the type of this client
Type: ClientType
-
-
class
homematicip.home.
Home
(connection=None)[source]¶ Bases:
homematicip.base.HomeMaticIPObject.HomeMaticIPObject
this class represents the ‘Home’ of the homematic ip
-
accessPointUpdateStates
= None¶ a map of all access points and their updateStates
Type: Map
-
activate_absence_with_duration
(duration: int)[source]¶ activates the absence mode for a given time
Parameters: duration (int) – the absence duration in minutes
-
activate_absence_with_period
(endtime: datetime.datetime)[source]¶ activates the absence mode until the given time
Parameters: endtime (datetime) – the time when the absence should automatically be disabled
-
activate_vacation
(endtime: datetime.datetime, temperature: float)[source]¶ activates the vatation mode until the given time
Parameters: - endtime (datetime) – the time when the vatation mode should automatically be disabled
- temperature (float) – the settemperature during the vacation mode
-
delete_group
(group: homematicip.group.Group)[source]¶ deletes the given group from the cloud
Parameters: group (Group) – the group to delete
-
download_configuration
() → str[source]¶ downloads the current configuration from the cloud
- Returns
- the downloaded configuration or an errorCode
-
from_json
(js_home)[source]¶ this method will parse the homematicip object from a json object
Parameters: js – the json object to parse
-
functionalHomes
= None¶ a collection of all functionalHomes in the home
-
get_current_state
(clearConfig: bool = False)[source]¶ downloads the current configuration and parses it into self
Parameters: - clearConfig (bool) – if set to true, this function will remove all old objects
- self.devices, self.client, .. to have a fresh config instead of reparsing them (from) –
-
get_functionalHome
(functionalHomeType: type) → homematicip.functionalHomes.FunctionalHome[source]¶ gets the specified functionalHome
Parameters: functionalHome (type) – the type of the functionalHome which should be returned Returns: the FunctionalHome or None if it couldn’t be found
-
get_security_zones_activation
() -> (<class 'bool'>, <class 'bool'>)[source]¶ returns the value of the security zones if they are armed or not
- Returns
- internal
- True if the internal zone is armed
- external
- True if the external zone is armed
-
on_create
(handler)[source]¶ Adds an event handler to the create method. Fires when a device is created.
-
search_client_by_id
(clientID) → homematicip.home.Client[source]¶ searches a client by given id
Parameters: clientID (str) – the client to search for - Returns
- the client object or None if it couldn’t find a client
-
search_device_by_id
(deviceID) → homematicip.device.Device[source]¶ searches a device by given id
Parameters: deviceID (str) – the device to search for - Returns
- the Device object or None if it couldn’t find a device
-
search_group_by_id
(groupID) → homematicip.group.Group[source]¶ searches a group by given id
Parameters: groupID (str) – groupID the group to search for - Returns
- the group object or None if it couldn’t find a group
-
search_rule_by_id
(ruleID) → homematicip.rule.Rule[source]¶ searches a rule by given id
Parameters: ruleID (str) – the rule to search for - Returns
- the rule object or None if it couldn’t find a rule
-
set_intrusion_alert_through_smoke_detectors
(activate: bool = True)[source]¶ activate or deactivate if smoke detectors should “ring” during an alarm
Parameters: activate (bool) – True will let the smoke detectors “ring” during an alarm
-
set_pin
(newPin: str, oldPin: str = None) → dict[source]¶ sets a new pin for the home
Parameters: Returns: the result of the call
-
set_security_zones_activation
(internal=True, external=True)[source]¶ this function will set the alarm system to armed or disable it
Parameters: 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)
-
set_timezone
(timezone: str)[source]¶ sets the timezone for the AP. e.g. “Europe/Berlin” :param timezone: the new timezone :type timezone: str
-
set_zones_device_assignment
(internal_devices, external_devices) → dict[source]¶ sets the devices for the security zones :param internal_devices: the devices which should be used for the internal zone :type internal_devices: List[Device] :param external_devices: the devices which should be used for the external(hull) zone :type external_devices: List[Device]
Returns: the result of _restCall
-
start_inclusion
(deviceId)[source]¶ start inclusion mode for specific device :param deviceId: sgtin of device
-
update_home
(json_state, clearConfig: bool = False)[source]¶ parse a given json configuration into self. This will update the whole home including devices, clients and groups.
Parameters: - clearConfig (bool) – if set to true, this function will remove all old objects
- self.devices, self.client, .. to have a fresh config instead of reparsing them (from) –
-
update_home_only
(js_home, clearConfig: bool = False)[source]¶ parse a given home json configuration into self. This will update only the home without updating devices, clients and groups.
Parameters: - clearConfig (bool) – if set to true, this function will remove all old objects
- self.devices, self.client, .. to have a fresh config instead of reparsing them (from) –
-
-
class
homematicip.home.
Location
(connection)[source]¶ Bases:
homematicip.base.HomeMaticIPObject.HomeMaticIPObject
This class represents the possible location
-
class
homematicip.home.
OAuthOTK
(connection)[source]¶ Bases:
homematicip.base.HomeMaticIPObject.HomeMaticIPObject
-
class
homematicip.home.
Weather
(connection)[source]¶ Bases:
homematicip.base.HomeMaticIPObject.HomeMaticIPObject
this class represents the weather of the home location
-
from_json
(js)[source]¶ this method will parse the homematicip object from a json object
Parameters: js – the json object to parse
-
weatherCondition
= None¶ the current weather
Type: WeatherCondition
-
weatherDayTime
= None¶ the current datime
Type: datetime
-
homematicip.rule module¶
-
class
homematicip.rule.
Rule
(connection)[source]¶ Bases:
homematicip.base.HomeMaticIPObject.HomeMaticIPObject
this class represents the automation rule
-
class
homematicip.rule.
SimpleRule
(connection)[source]¶ Bases:
homematicip.rule.Rule
This class represents a “Simple” automation rule
homematicip.securityEvent module¶
-
class
homematicip.securityEvent.
SecurityEvent
(connection)[source]¶ Bases:
homematicip.base.HomeMaticIPObject.HomeMaticIPObject
this class represents a security event
-
class
homematicip.securityEvent.
SecurityZoneEvent
(connection)[source]¶ Bases:
homematicip.securityEvent.SecurityEvent
This class will be used by other events which are just adding “securityZoneValues”