FS20Z-1 and HASS

I have FS20Z-1 momentary relay switch I’m trying to use for my garage door opener. I’m able to add the device to home assistant, but when I turn the device on from HASS i can hear the device turn on, and after about half a second, it’ll turn off and back on again. With my garage door this will cause the door to start to open, and then stop. I can also hear the FS20Z turn on and back off again when i restart Z-Wave JS. I’m migrating from Smartthings and with Smartthings it does not do this.

I’m using a Aeotec Z-Stick Gen 5 on a v4 PI.

I realize HASS doesn’t really have a momentary switch, so i’m prepared to use a script or automation to turn the FS20Z back off after its turned on.

Any ideas why this device is turning on, then off and back on?

Thanks in advance for any help!

I just transitioned from Vera to Home Assistant and I’m seeing the same thing with my FS20Z; when you command the relay closed, it closes but then maybe a second or two later it momentarily opens and then goes back to the close state until you command it open again. I paired the device back with Vera and ran the same test many times and when the relay is commanded closed, it stays closed, no momentary open, so it’s definitely something “baked” into Home Assistant. Any updates on your end? Thanks…

@RobKob @Roy454EWB

I had this working for years, where I was using a FS20Z-1 soldered to a garage door remote and the script below to open and close my garage door. I copied the idea from what I think was a post on this forum so credit to that person(s).

It stopped working this spring and started exhibiting the behavior you describe above: the garage door starts moving and then two seconds later it stops (so partially opened or partially closed). I didn’t use it over the winter but I think it’s related to finally upgrading to Zwave JS + zwavejs2mqtt.

I finally had a chance to troubleshoot it today and discovered that if I drop the script delay from 2s to 1s it works again. This is the script I’m using (again, credit to the original author(s)). The delay had always been 2s until today when I dropped it to 1s.

alias: Garage Door Opener
sequence:
  - data:
      entity_id: switch.linear_fs20z_isolated_contact_fixture_module_switch
    service: switch.turn_on
  - delay:
      hours: 0
      minutes: 0
      seconds: 1
      milliseconds: 0
  - service: switch.turn_off
    data: {}
    target:
      entity_id: switch.linear_fs20z_isolated_contact_fixture_module_switch
mode: single