danielperna84 / hahomematic

Python 3 Interface for Home Assistant to interact with HomeMatic devices
MIT License
130 stars 22 forks source link

Issues with HmIP-MOD-HO #1608

Closed stefangries closed 2 months ago

stefangries commented 2 months ago

I agree to the following

The problem

Unfortunately, there are problems with my HmIP-MOD-HO garage door control unit. The open/close buttons in the HA UI unfortunately become disabled at inappropriate times. This is the current situation:

image The Up/Stop/Down Buttons control the door. The switch controls its light.

When closed, the state is "closed" and the the open and stop button are active. This is nearly correct, as the stop button could be disabled. During opening, the state is "unknown" and the the close and stop button are active. This is wrong, as all buttons should be active. When opened, the state is "open" and the the close and stop button are active. This is nearly correct, as the stop button could be disabled. During closing, the state ist "unknown" and the the open and stop button are active. This is wrong, as all buttons should be active. When stopped during closing, the state is "unknown" and the the close and stop button are active. This is wrong, as close and open buttons should be active. When stopped during opening, the state is "unknown" and the the close and stop button are active. This is wrong, as close and open buttons should be active.

By the way, in the CCU UI, all the buttons (open/close/stop) are clickable all the time. Additonally, the "Lüften"-Button (Opens the door just a bit to allow ventilation) is only available in the CCU UI and not via HA.

image

What version of HomematicIP (local) has the issue?

1.63.1

What was the last working version of HomematicIP (local)?

No response

What type of installation are you running?

Home Assistant OS

What type of installation are you running for your homematic backend?

RaspberryMatic HA-Addon

Which version of your homematic backend are you running?

3.75.7.20240601

What hardware are you running for your system?

Intel NUC

Which config details do you use

Which interfaces do you use?

Diagnostics information (no logs here)

No response

Log file extract. Anything in the logs that might be useful for us? The log (Setting/System/Logs -> load full log) is the best source to support trouble shooting!

No response

Additional information

No response

SukramJ commented 2 months ago

This integration is not controlling the button activation/deactivation. This is part of the HA frontend. Open an issue in their repository if you don't like it.

By the way, in the CCU UI, all the buttons (open/close/stop) are clickable all the time. Additonally, the "Lüften"-Button (Opens the door just a bit to allow ventilation) is only available in the CCU UI and not via HA.

Lüften is not supported by the HA cover entity model. If you want "Lüften" to be added, then you should start a discussion in the HA architecture repo.

stefangries commented 2 months ago

Thank you for your answer!

This integration is not controlling the button activation/deactivation.

I had assumed that the HA UI decides which buttons are active based on a status transmitted by the integration. For example, if the integration reports that the door is open, only the close button is active.

With roller shutters, for example, if you stop them halfway, both the open and close buttons are displayed as active in HA. In general, it is therefore possible to display both as active. I assume this happens when current_position is somewhere between 0% and 100%. In the case of the garage door, the current_position attribute simply disappears during the movement and reappears with a value of 0 or 100 at the end of the movement.

I could imagine that there is a problem here, as the Homematic integration does not know the position of the garage door, it reports it as unknown. This may lead to the strange display of the buttons in the Home Assistant.

SukramJ commented 2 months ago

The garage doors only have the states OPEN, VENT and CLOSED. Everthing in between is UNKNOWN for HA.

If you use the slider to control the garage door then 0-10 means closed, 11-50 is vent and 51-100 is open.

I think this issue can be closed.