Home Assistant release with the issue:
dev branch
Last working Home Assistant release (if known):
I already had a working implementation about 2 years ago, but did not merge it. Back then I could just read the values from HA (with a modified open-zwave library).
Operating environment:
- Linux, Python 3.7
- open-zwave, python-ozw: hass branch (from the HA repository)
Component/platform:
zwave.cover
Description of problem:
I want to extend the zwave.cover
component to support the proprietary zwave command class “MANUFACTURER_PROPRIETARY” (145 dec, 0x91 hex). This enables an extended support for venetian blinds, where you can set the tilt angle of the blinds.
My steps:
- I implemented the changes on open-zwave https://github.com/home-assistant/open-zwave/pull/6,
- I reconfigured the dependencies to use a local python-ozw version with my modified open-zwave as per instructions.
- ozw_shell and MinOZW show the data from this command class. So the open-zwave changes seem to be working.
- The new
libopenzwave.cpython-37m-x86_64-linux-gnu.so
also contains the symbols that I added. HA is using this library. - When I try to read the new values in HA, they do not exist. Also the
zwave.nodes.ZWaveNode.command_classes()
does not list the command class I added.
It looks like this command class is somehow filtered when passing the data from open-zwave to HA. I looked through the code, but I did not find it.
The modified zwave.cover component is here:
Can anyone tell my why I cannot access the added command_class?
Does anyone know if HA is filtering the list of command_classes for a node?
Best,
Christian