Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding MotionIP to BinarySensors for HMIP-SMI #11268

Merged
merged 2 commits into from Dec 21, 2017
Merged

Adding MotionIP to BinarySensors for HMIP-SMI #11268

merged 2 commits into from Dec 21, 2017

Conversation

ghost
Copy link

@ghost ghost commented Dec 21, 2017

My HmIP-SMI (Homematic IP Motion Sensor) only shows "ILLUMINATION" and no MOTION, because the binary values are not recognized. The "old" homematic-motion detectors are working well showing motion, too.
I found out that "MotionIP" was missing at the binary_sensors - after adding "Motion" and "Motion Detection Activated" are shown.

Example entry for configuration.yaml (if applicable):

homematic:
  interfaces:
    ip:
      host: 192.168.1.9
      port: 2010
      resolvenames: xml

Checklist:

If user exposed functionality or configuration variables are added/changed:

If the code communicates with devices, web services, or third-party tools:

  • [tested on locally raspi - ok] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
  • [none] New dependencies have been added to the REQUIREMENTS variable (example).
  • [none] New dependencies are only imported inside functions that use them (example).
  • [none] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
  • [none] New files were added to .coveragerc.

If the code does not interact with devices:

  • Local tests with tox run successfully. Your PR cannot be merged unless tests pass
  • Tests have been added to verify that the new code works.

My HmIP-SMI (Homematic IP Motion Sensor) only shows "ILLUMINATION" and no MOTION, because the binary values are not recognized. The "old" homematic-motion detectors are working well showing motion, too. 
I found out that "MotionIP" was missing at the binary_sensors - after adding "Motion" and "Motion Detection Activated" are shown.
@homeassistant
Copy link
Contributor

Hi @schnoetz,

It seems you haven't yet signed a CLA. Please do so here.

Once you do that we will be able to review and accept this pull request.

Thanks!

'PresenceIP'],
'ShutterContact', 'Smoke', 'SmokeV2', 'Motion', 'MotionV2',
'MotionIP', 'RemoteMotion', 'WeatherSensor', 'TiltSensor',
'IPShutterContact', 'HMWIOSwitch', 'MaxShutterContact', 'Rain',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

trailing whitespace

'HMWIOSwitch', 'MaxShutterContact', 'Rain', 'WiredSensor',
'PresenceIP'],
'ShutterContact', 'Smoke', 'SmokeV2', 'Motion', 'MotionV2',
'MotionIP', 'RemoteMotion', 'WeatherSensor', 'TiltSensor',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

trailing whitespace

'RemoteMotion', 'WeatherSensor', 'TiltSensor', 'IPShutterContact',
'HMWIOSwitch', 'MaxShutterContact', 'Rain', 'WiredSensor',
'PresenceIP'],
'ShutterContact', 'Smoke', 'SmokeV2', 'Motion', 'MotionV2',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

trailing whitespace

removed trailing blanks from my previous change
Copy link
Member

@fabaff fabaff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🐦

@fabaff fabaff merged commit c94cc34 into home-assistant:dev Dec 21, 2017
pvizeli added a commit that referenced this pull request Dec 21, 2017
pvizeli added a commit that referenced this pull request Dec 21, 2017
* Revert "Adding MotionIP to BinarySensors for HMIP-SMI (#11268)"

This reverts commit c94cc34.

* Revert "Bugfix: 10509 - http is hard coded in plex sensor (#11072)"

This reverts commit 901d4b5.

* Revert "Fix handling zero values for state_on/state_off (#11264)"

This reverts commit 2e4e3a4.

* Revert "Fix inverted sensors on the concord232 binary sensor component (#11261)"

This reverts commit b866687.

* Revert "Proper Steam game names and small fixes (#11182)"

This reverts commit 7faa940.

* Revert "Bugfix homematic available modus (#11256)"

This reverts commit 1d57958.

* Revert "Fix detection of if a negative node is in use (#11255)"

This reverts commit b28bfad.

* Revert "added myself to become code owner for miflora and plant (#11251)"

This reverts commit e068204.

* Revert "Add workaround for running tox on Windows platforms (#11188)"

This reverts commit 81f1a65.

* Revert "Upgrade to new miflora version 0.2.0 (#11250)"

This reverts commit 8efc4b5.

* Revert "homematic: add username and password to interface config schema (#11214)"

This reverts commit b4e2537.

* Revert "Backup configuration files before overwriting (#11216)"

This reverts commit 90e25a6.
@ghost ghost deleted the patch-1 branch December 22, 2017 06:49
@balloob balloob mentioned this pull request Jan 11, 2018
@home-assistant home-assistant locked and limited conversation to collaborators Mar 30, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants