tungmeister / hass-blind-card

Blind card for Home Assistant Lovelace UI
Apache License 2.0
32 stars 13 forks source link

Problem #7

Open jcrserve opened 2 years ago

jcrserve commented 2 years ago

Undefined percentage on three different makes of blind motor. I know one is Zemismart, have I missed Something

tungmeister commented 2 years ago

The percentage must not be exposed to home assistant - I use zemismart zigbee blinds with no issues

crhammock commented 2 years ago

I have recently bought some blinds so have done a bit of research, clearly not enough as I have a similar problem. I have Somfy RTS blinds and for starters I wouldn't recommend them to anyone thinking of buying them and integrating with HomeAssistant or any other solutions for a number of reasons.

However that aside and back to the problem at hand, Somfy RTS like some other proprietary blind solutions are unidirectional meaning you can only send commands to the blinds (Open, Close, Stop or Custom Position), the blinds do not report their state back to the client/app nor can you open them a percentage. As such as with my solution the percentage will be undefined as the blind does not provide this or any state.

My thought is the card could maybe have an option to remove the percentage rather than displaying it as undefined. Also while we are asking maybe you could also include a custom present position button (for somfy this would call the service tahoma.set_cover_my_positon). If you wanted to be really cleaver maybe just an Estimate state checkox so if you press open it opens 100% and if you select close it closes 0% or however it is supposed to work (how would I know mine just says undefined.)