ha-tahoma: Wrong state for Velux Shutters with Tahoma Switch & home assistant

Did you read the instructions?

The problem

I use Velux shutters as well as Somfy shutters connected to a Tahoma switch box. Home assistant is using the Tahoma switch through ha-tahoma integration.

Everything works well, except the state of two Velux shutters. Even if closed, they are reported as open in the history. Somfy shutters are well reported as closed.

The activated controls in the panel work well though : can only open if they the shutters are closed.

Home assistant runs on a raspberry pi 4. Home assistant in a docker container.

Thanks for all the very impressive work done so far !

What version of this integration (ha-tahoma) has the issue?

2.6.3

What version of Home Assistant Core has the issue?

core-2021.8.8

Which gateway / hub do you use?

Somfy Tahoma Switch

Device model

PositionableTiltedRollerShutter

Device type

io:RollerShutterVeluxIOComponent

Additional information

In the development tools interface, one can see that despite a current_position of 0, the reported state its open and core:OpenClosedState is open.

Relevant log output

current_position: 0
rssi_level: 40
core:Manufacturer: VELUX
core:NameState: Volet Bureau
core:PriorityLockTimerState: 0
core:StatusState: available
core:DiscreteRSSILevelState: low
core:RSSILevelState: 40
core:ClosureState: 100
core:OpenClosedState: open
core:Memorized1PositionState: 0
io:PriorityLockOriginatorState: null
io:PriorityLockLevelState: null
friendly_name: Volet Bureau
supported_features: 527
device_class: shutter

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 25 (3 by maintainers)

Most upvoted comments

Somfy support was nice, and tested in their lab. They reported me the io:RollerShutterVeluxIOComponent works fine and returned closed state as expected. If there is an issue, it’s not linked to their service.

So we have to continue the investigation.

Can you please close your cover, and restart HA. Do you still have the open state?

Can you also enable the debug mode (don’t forget to restart)? See https://github.com/iMicknl/ha-tahoma#enable-debug-logging

Open your cover, then close it. Wait at least 30s, and go to the logs page. Click on the Load full HA logs button.

Paste here all the logs you will see related to our component.