Skip to content
This repository was archived by the owner on Feb 4, 2024. It is now read-only.

Add support for HmIPW-Devices (DRD3, SPI, DRBL4) #310

Merged
merged 2 commits into from
May 18, 2020
Merged

Add support for HmIPW-Devices (DRD3, SPI, DRBL4) #310

merged 2 commits into from
May 18, 2020

Conversation

p0l0
Copy link
Contributor

@p0l0 p0l0 commented May 17, 2020

Please point your pull request at the devel branch. Also provide some information about the changes.

This pull request:

  • contributes to discussion in issue: #219
  • adds support for HomeMatic IP devices: "HmIPW-DRD3", "HmIPW-SPI" and "HmIPW-DRBL4"
  • New classes: IPWDimmer, IPWMotionDection, IPWKeyBlindMulti

@danielperna84 danielperna84 merged commit 37e4498 into danielperna84:devel May 18, 2020
@danielperna84
Copy link
Owner

Changes required in Home Assistant:

 homeassistant/components/homematic/const.py | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/homeassistant/components/homematic/const.py b/homeassistant/components/homematic/const.py
index cd2d528044a9..f3a27aa46f54 100644
--- a/homeassistant/components/homematic/const.py
+++ b/homeassistant/components/homematic/const.py
@@ -45,6 +45,7 @@
         "SwitchPowermeter",
         "IOSwitch",
         "IPSwitch",
+        "IPWSwitch",
         "RFSiren",
         "IPSwitchPowermeter",
         "HMWIOSwitch",
@@ -61,6 +62,7 @@
         "KeyDimmer",
         "IPKeyDimmer",
         "IPDimmer",
+        "IPWDimmer",
         "ColorEffectLight",
         "IPKeySwitchLevel",
     ],
@@ -105,6 +107,7 @@
         "MotionIPV2",
         "IPMultiIO",
         "IPThermostatWall2",
+        "IPWMotionDection",
     ],
     DISCOVER_CLIMATE: [
         "Thermostat",
@@ -144,8 +147,15 @@
         "TiltIP",
         "IPShutterContactSabotage",
         "IPContact",
+        "IPWMotionDection",
+    ],
+    DISCOVER_COVER: [
+        "Blind",
+        "KeyBlind",
+        "IPKeyBlind",
+        "IPKeyBlindTilt",
+        "IPWKeyBlindMulti",
     ],
-    DISCOVER_COVER: ["Blind", "KeyBlind", "IPKeyBlind", "IPKeyBlindTilt"],
     DISCOVER_LOCKS: ["KeyMatic"],
 }
 

@henningweiler
Copy link
Contributor

I observed similar behavior before; also on raspmatic. I'm using two fully separated Raspies (1x Raspmatic, 1x HomeAssistant). And actually, the Raspmatic one has to be fully started, before I can use anything on HA. Due to the additional stuff that has been put in, I'd recommend the use of Raspmatic as the controller for HM devices.

@p0l0 - wouldn't the IPWDimmer rather be a sensor than an actor? (just for housekeeping reasons; functionally it seems fine)

@p0l0
Copy link
Contributor Author

p0l0 commented May 20, 2020

@henningweiler i think you mean IPWMotionDection? You are right, it should be a sensor, I will change it.

danielperna84 added a commit that referenced this pull request Aug 4, 2020
* Add support for HmIPW-Devices (DRD3, SPI, DRBL4) (#310)

* Added support for HmIPW-DRD3, HmIPW-SPI and HmIPW-DRBL4

* Fix whitespace

Co-authored-by: Daniel Perna <[email protected]>

* support rx_mode (#313)

* support rx_mode

* fix whitespace

* feat: added support for HB-UNI-RGB-LED-CTRL (https://github.com/jp112sdl/HB-UNI-RGB-LED-CTRL) (#315)

Co-authored-by: Lukas Riegel <[email protected]>

* Pyhomematic/add/ipw key blind multi (#318)

* Fixed work around for hm init issue

* added callback call

* remove comments

* removed pmatic

* fixed spacing

* according to alignment in #318, listdevice and interface if statement changed

* removed debug breakpoint setting

* added more generic check: proxy._remoteport == [2010, 32010, 42010]

* fixed proxy._remoteport in [2010, 32010, 42010] statement

* Limit to HmIP

* Remove whitespace

* Home Assistant doesn't use createDeviceObjects

* Change skipping mechanism

* Fix syntax

Co-authored-by: Daniel Perna <[email protected]>

* Add sensornode for HmIP Covers

* Update changelog

* Bump version

* Set https for json #311

Co-authored-by: P0L0 <[email protected]>
Co-authored-by: Steffen Rusitschka <[email protected]>
Co-authored-by: lukasriegel <[email protected]>
Co-authored-by: Lukas Riegel <[email protected]>
Co-authored-by: Matthias Weiss <[email protected]>
weissm pushed a commit to weissm/pyhomematic that referenced this pull request Oct 8, 2020
* Added support for HmIPW-DRD3, HmIPW-SPI and HmIPW-DRBL4

* Fix whitespace

Co-authored-by: Daniel Perna <[email protected]>
danielperna84 added a commit that referenced this pull request Dec 13, 2020
* Add support for HmIPW-Devices (DRD3, SPI, DRBL4) (#310)

* Added support for HmIPW-DRD3, HmIPW-SPI and HmIPW-DRBL4

* Fix whitespace

Co-authored-by: Daniel Perna <[email protected]>

* support rx_mode (#313)

* support rx_mode

* fix whitespace

* feat: add device support for HmIP-DRSI1

Co-authored-by: P0L0 <[email protected]>
Co-authored-by: Daniel Perna <[email protected]>
Co-authored-by: Steffen Rusitschka <[email protected]>
Co-authored-by: Lukas Riegel <[email protected]>
danielperna84 added a commit that referenced this pull request Jan 1, 2021
* Homeassistant/improve/cover (#341)

* enhanced device nameing

* rmeoved unused var

* Device Support for HmIP-DRSI1 (#356)

* Add support for HmIPW-Devices (DRD3, SPI, DRBL4) (#310)

* Added support for HmIPW-DRD3, HmIPW-SPI and HmIPW-DRBL4

* Fix whitespace

Co-authored-by: Daniel Perna <[email protected]>

* support rx_mode (#313)

* support rx_mode

* fix whitespace

* feat: add device support for HmIP-DRSI1

Co-authored-by: P0L0 <[email protected]>
Co-authored-by: Daniel Perna <[email protected]>
Co-authored-by: Steffen Rusitschka <[email protected]>
Co-authored-by: Lukas Riegel <[email protected]>

* Update misc.py (#363)

* Update misc.py

Added support for Wall Mounted Switch WRCC2

* Update misc.py

* Update misc.py

Starting to feel a bit stupid now, but now it should be correct

* Add sensornode for tilt position of HmIP Covers (#365)

* Support for Bat Level and WRCC2 (#366)

Added battery voltage helper to remote HmIP devices
Added WRCC2 remote switch.

All tested and working with WRC2 and WRCC2

* Adds inhibit param to supported devices. (#364)

* Bump version, update changelog

* Lint

* Support for HmIP-FALMOT-C12 #367

* Add HmIP-SRD #347

* Add to dict #347

* Logging cleanup

Co-authored-by: Matthias Weiss <[email protected]>
Co-authored-by: lukasriegel <[email protected]>
Co-authored-by: P0L0 <[email protected]>
Co-authored-by: Steffen Rusitschka <[email protected]>
Co-authored-by: Lukas Riegel <[email protected]>
Co-authored-by: Remko76 <[email protected]>
Co-authored-by: Robin Blöhm <[email protected]>
Co-authored-by: Patrick Hofmann <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants