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

Integrate HMIP-SAM Acceleration Sensor #237

Closed
FlavorFx opened this issue Sep 6, 2019 · 15 comments · Fixed by #242
Closed

Integrate HMIP-SAM Acceleration Sensor #237

FlavorFx opened this issue Sep 6, 2019 · 15 comments · Fixed by #242

Comments

@FlavorFx
Copy link

FlavorFx commented Sep 6, 2019

Please integrate HMIP-SAN sensor into the homematicip-rest-api so that I can use it as garage door sensor.

@coreGreenberet
Copy link
Collaborator

Please post your HMIP configuration. See #114 for details

@FlavorFx
Copy link
Author

FlavorFx commented Sep 8, 2019

Ok, I posted my HMIP config with gist.

@coreGreenberet
Copy link
Collaborator

I'm currently working on this. Does the HMIP-SAM have any configurable elements, or will it just alert if it got moved?

@FlavorFx
Copy link
Author

FlavorFx commented Sep 21, 2019 via email

@coreGreenberet
Copy link
Collaborator

in the API there is a method for setting the notificationSoundType with the option for HighToLow or LowToHigh which looks like you could do either of them but not both. The JSON on the other side has both values written in it.
How is it in the app? Can you configure both?

@FlavorFx
Copy link
Author

FlavorFx commented Sep 23, 2019 via email

@coreGreenberet
Copy link
Collaborator

I couldn't see the screenshot here on github, but I think that this should do it.

@FlavorFx
Copy link
Author

FlavorFx commented Sep 23, 2019 via email

@SukramJ
Copy link
Contributor

SukramJ commented Oct 4, 2019

@FlavorFx What would you expect if HmIP-SAM is implemented in HA?

I checked the api and currently there is only on attribute (accelerationSensorTriggered) that could be used for a binary_sensor.
Could you post some more configs with this sensor to get a better understanding of it.

  • sensor in horizontal position
  • sensor in vertical position
  • sensor moving from vertical to horizontal position or vice versa.

Thanks

@FlavorFx
Copy link
Author

FlavorFx commented Oct 4, 2019 via email

@SukramJ
Copy link
Contributor

SukramJ commented Oct 4, 2019

Thanks, i meant the hmip config you posted in #114.

@SukramJ
Copy link
Contributor

SukramJ commented Oct 4, 2019

I start with a binary_sensor that displays accelerationSensorTriggered.
Device_class will be DEVICE_CLASS_MOVING.

Additional values displayed as attributes:

  • accelerationSensorNeutralPosition
  • accelerationSensorMode
  • accelerationSensorSensitivity
  • accelerationSensorTriggerAngle

I am not sure about the additional attributes, if they give a useful info to support the accelerationSensorTriggered value.

I don't own a HmIP-SAM, so i am unsure about useful combinations.

@FlavorFx
Copy link
Author

FlavorFx commented Oct 4, 2019 via email

@SukramJ
Copy link
Contributor

SukramJ commented Oct 4, 2019

Thanks a lot.

@SukramJ
Copy link
Contributor

SukramJ commented Oct 5, 2019

The PR is already merged to dev. HmIP-SAM will be available in HA with 0.101.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants