peribeir / homeassistant-rademacher

This custom integration provides access to Rademacher Devices connected to a HomePilot (or Start2Smart) bridge.
GNU General Public License v3.0
58 stars 11 forks source link

Rademacher blinds stop by % via HA automation? #5

Closed justaguy79 closed 2 years ago

justaguy79 commented 2 years ago

It’s not an issue, but not sure where to post this elsewhere.

What options do I have via HA to control the blinds?

Can I stop Rademacher blinds by % via HA automation, like 90% closed? And is the blind status pushed back to HA?

Thanks a lot for your work, appreciate it very much!

deltaphi commented 2 years ago

You can set percentages from Home Assistant and the blinds will work as expected.

regarding the state, I think that the HA Integration polls the current state about once every 5 minutes. State updates are not immediate. I don’t know if this also applies when you set the state through HA. My HA does not show the percentages on the dashboard. However, I believe that the Up/Down arrows update correctly when moving the blinds through HA.

peribeir commented 2 years ago

You definitely can. You just need to call the cover.set_cover_position service.

service: cover.set_cover_position
data:
  position: 45
target:
  entity_id: cover.living_room_blinds

As for the current state, it's being polled by HA, not sure what is the polling interval as it is using HA's default value. I believe it should be around 30 sec to 1 min. So you may see some discrepancy in the stat for a few seconds, when you open, close or set position.