Zooz ZEN32 Control and Track all in one

Any chance you can update this to support the 3-way button. On newer firmware versions, they added the ability to have the momentary press of the 3-way remote button trigger held and released events for scene 6. Here’s the sample events. I also asked Zooz to make it send a button pressed event when the 3-way switch type is set to Toggle

[54-112-0-26] Scene Control: Remote 3-Way Switch = Enabled
[54-112-0-21] 3-Way Switch Type = Momentary Switch

event_type: zwave_js_value_notification
data:
  domain: zwave_js
  node_id: 54
  home_id: 4142848207
  endpoint: 0
  device_id: bfdc7f71213647edf7161aabcb97d41f
  command_class: 91
  command_class_name: Central Scene
  label: Scene 006
  property: scene
  property_name: scene
  property_key: "006"
  property_key_name: "006"
  value: KeyHeldDown
  value_raw: 2
origin: LOCAL
time_fired: "2024-10-14T20:32:42.617552+00:00"
context:
  id: 01JA6BQB3S674Z37M4E2NZN6G6
  parent_id: null
  user_id: null
event_type: zwave_js_value_notification
data:
  domain: zwave_js
  node_id: 54
  home_id: 4142848207
  endpoint: 0
  device_id: bfdc7f71213647edf7161aabcb97d41f
  command_class: 91
  command_class_name: Central Scene
  label: Scene 006
  property: scene
  property_name: scene
  property_key: "006"
  property_key_name: "006"
  value: KeyReleased
  value_raw: 1
origin: LOCAL
time_fired: "2024-10-14T20:32:43.122352+00:00"
context:
  id: 01JA6BQBKJ66PJFT1AZ2X5TYW3
  parent_id: null
  user_id: null

Try 2024.10.1. I don’t have a 3 way setup to test. So confirm it works.

It works. Can you add an sequence for KeyReleased also? That would let me configure my toggle switches to be able to control the lights properly.

I can’t find the scenes supported, do you know if it’s the same as any other button?

If not, can you test and post the events.

What do you mean? The events for KeyHeld and Released are in my message above. It looks the same as any other button but only keyheld and key released are sent at the moment. I e-mailed Zooz asking them to add a key pressed event when the switch is set to toggle mode and the switch toggles. If you want to test it, set those two parameters that I mentioned and then just connect the 3 way terminal on the back of the ZEN32 to neutral to simulate the button being pressed.

I meant does it support 2x, 3x, 4x, 5x, pressed, like a normal button does?

Ok, so I just tested it and it does support everything a normal button does.

KeyPressed2x
KeyPressed3x
KeyPressed4x
KeyPressed5x
KeyHeldDown
KeyPressed
KeyReleased

Grab 2024.10.2.

I tested KeyPressed and Held. They seem to work fine. I’ll get the rest tested later.

Thanks for the great blueprint! Zooz32’s all over my house now. Much more attractive than the stick on Hue remotes I had before. Question, and apologies if this is covered somewhere else, is there anyway you can disable the out of the box 3x big buttons press to start pairing mode? I’d love to be able to program all the buttons to function the same with 3 presses but I can see my family tuning out when trying to explain they can’t do the ton the big one. Thanks for any advice.

Turn off local programming parameter 22.

1 Like

I’m almost certainly doing something wrong… been tyring to get all of the LEDs to turn off during nighttime. I have on during daytime set for all of the buttons in all states other than unavailable. in the trace for nighttime it looks like the colors are still active. Is there anything else I should be setting to get the LEDs to turn off at night? trace below…

this:
  entity_id: automation.melody_closet_scene_controller
  state: 'on'
  attributes:
    id: '1730213609058'
    last_triggered: '2024-11-06T00:59:48.568546+00:00'
    mode: parallel
    current: 0
    max: 10
    friendly_name: Melody Closet Scene Controller
  last_changed: '2024-11-05T01:39:57.718946+00:00'
  last_reported: '2024-11-06T00:59:48.898899+00:00'
  last_updated: '2024-11-06T00:59:48.898899+00:00'
  context:
    id: 01JBZFR7EQ1F14QFTF3TGK2ZHE
    parent_id: 01JBZFR7ENN82W1GSZP4Q9YXKC
    user_id: null
trigger:
  id: NightTime
  idx: '1'
  alias: NightTime
  platform: time
  now: '2024-11-05T21:00:00.437165-07:00'
  description: time
  entity_id: null
schedule_start: '21:00:00'
schedule_stop: '06:00:00'
schedule_set: true
inputs:
  - button_id: 0
    track_relay: '0'
    off_state: '99'
    off_color: '0'
    off_brightness: '1'
    on_state: '99'
    on_color: '1'
    on_brightness: '1'
    unavail_state: '3'
    unavail_color: '3'
    unavail_brightness: '1'
    trigger_entity: []
  - button_id: 1
    off_state: '99'
    off_color: '6'
    off_brightness: '1'
    on_state: '99'
    on_color: '6'
    on_brightness: '1'
    unavail_state: '3'
    unavail_color: '3'
    unavail_brightness: '1'
    trigger_entity: []
  - button_id: 2
    off_state: '99'
    off_color: '1'
    off_brightness: '1'
    on_state: '99'
    on_color: '1'
    on_brightness: '1'
    unavail_state: '3'
    unavail_color: '3'
    unavail_brightness: '1'
    trigger_entity: []
  - button_id: 3
    off_state: '99'
    off_color: '2'
    off_brightness: '1'
    on_state: '99'
    on_color: '2'
    on_brightness: '1'
    unavail_state: '3'
    unavail_color: '3'
    unavail_brightness: '1'
    trigger_entity: []
  - button_id: 4
    off_state: '99'
    off_color: '4'
    off_brightness: '1'
    on_state: '99'
    on_color: '4'
    on_brightness: '1'
    unavail_state: '3'
    unavail_color: '3'
    unavail_brightness: '1'
    trigger_entity: []
controller_id: 34033c807c2062a438de359007c877a6
input_p19: '1'
input_p20: '1'
input_p23: '1'
input_p24: '0'
toggle_offset: 1
color_offset: 6
brightness_offset: 11
night_led_brightness: '2'
in_nighttime: true

Using the latest version? Can you look in logs for any errors around that time?

@rwalker latest version and no errors. I was able to look at last nights trace this morning, appears hat the brightness is still set to 1 (low) for all buttons. I haven’t been able to determine what off state and on state 99 correlate to…

Edit: figured out 99 in the code. Going to read through and see if there are dependencies I haven’t fulfilled.

trigger_entity: []
  - button_id: 3
    off_state: '99'
    off_color: '2'
    off_brightness: '1'
    on_state: '99'
    on_color: '2'
    on_brightness: '1'
    unavail_state: '3'
    unavail_color: '3'
    unavail_brightness: '1'
    trigger_entity: []
  - button_id: 4
    off_state: