OpenZWave / qt-openzwave

QT5 Wrapper for OpenZWave
GNU Lesser General Public License v3.0
105 stars 30 forks source link

Fibaro FGWD111 Walli Dimmer malfunction #137

Closed simulot closed 4 years ago

simulot commented 4 years ago

Hi,

Let me know if this is the right place for opening the issue.

I used to use z-wave implementation provided by home assistant. Since I have moved the noisy nas to the basement, I have moved the zwave stack to a raspberry pi running a dockerized ozwdaemon and communicate to HA through mqtt.

It works as expected, except for all of 3 FGWD111 Walli Dimmers which aren't responsive. Before the move to ozwdaemon, it was some latency, but it was tolerable.

Other devices are working great:

The dimmers are powered on the main, and very closed to the zwave dongle. Other devices are doing well. So, I don't think this is a problem with radio network.

Versions: USB dongle: UZB3 Z-Wave USB Adapter by Sigma Designs OpenZWave Version 1.6.1232 qt-openzwave Version: 1.2.0 Docker image: 46506bc87a9dcb19222a3a222718e32db8ba1ed736d0a0c9d680e830d2fb0fd9

Let me know of to get OZWAdmin logs in a file.

Thanks a lot ++ simulot

kpine commented 4 years ago

Problem was an API incompatibility, fixed in HA. https://github.com/home-assistant/core/issues/38068

simulot commented 4 years ago

Thanks for the information.

Indeed, calling the turn_on service with transition = 0 works as intended. Apparently, the fix is on is way.
Is it some workaround?

simulot commented 4 years ago

Here is my workaround while waiting the official release: 1- Create an helper script for setting the brightness of any light:

light_dimmer:
  alias: Light Dimmer
  max: 10
  mode: parallel
  fields:
    entity_id:
      description: The entity
      example: the id
    brightness:
      description: the desired brightness
      example: "128"
  sequence:
    - data_template:
        brightness: "{{ brightness }}"
        entity_id: "{{ entity_id }}"
        transition: 0
      service: light.turn_on

2 -Create an input_number helper that will be placed on the room card for each light 3- Create an automation to link the input_number to the actual light:

- id: '1596000897984'
  alias: Dimmer salon
  description: ''
  trigger:
  - entity_id: input_number.proxy_salon
    platform: state
  condition: []
  action:
  - data_template:
      brightness: '{{ states("input_number.proxy_salon") | int }}'
      entity_id: light.fgwd111_walli_dimmer_level
    service: script.light_dimmer
  mode: queued
  max: 10
simulot commented 4 years ago

In have installed latest beta version of Home Assistant. It solves the issue. Thanks, Simulot