KeyMaster Z-Wave lock manager and scheduler

Did you rename those by adding sidedoor to the end?

You are using zwave so you shouldnā€™t have that.

Yes _sidedoor added

Right but the automation to run the script.system_startup_cleanup will not run without binary_sensor.ozw_network_status set to on

Iā€™ll have to take a look at @ptdalenā€™s setup and see if we can compare those codes.

Is there a way to install Lock-Manager without HACS?

I seem to be stuck with HACS saying ā€œHACS is waiting for Home Assistant to finish startup before starting startup tasksā€ forever (20 minutes so farā€¦running on a VM x86_64 Xeon 3.7GHz server 4 CPU cores, 2GB RAM, SSD backed diskā€¦). Everything else looks like its alive and well, no idea why or what it means.

EDIT: Nevermindā€¦after 30 minutes it finally started. No idea why. I am still curious if HACS is actually required.

Not required but it makes it tons easier to manage updates.

I have tried to follow the instructions and search the form but it is not generating the input_text for the pins

Update to 0.0.23, that was some of my testing code that slipped in. Once you update go through the Options and just hit Submit itā€™ll generate the needed bits. Then you can head to Server Controls and reload Input Text and you should be all set.

I must have done something wrong. It doesnā€™t seem to work. I added the code and restarted HA. binary_sensor.allow_automation is set to off. I change a code from disconnected /connected but it doesnā€™t change. If I go to automations and manually execute open_zwave_network_up it works and changes it to on. There are no error messages.

- alias: homeassistant start-up
  initial_state: true
  trigger:
    platform: homeassistant
    event: start
  action:
    - service: input_boolean.turn_off
      entity_id: input_boolean.system_ready
    - service: input_boolean.turn_off
      entity_id: input_boolean.allow_automation_execution


- alias: open_zwave_network_down
  initial_state: true
  trigger:
    - platform: state
      entity_id: binary_sensor.ozw_network_status
      to: "off"
  action:
    - service: homeassistant.turn_off
      entity_id: input_boolean.allow_automation_execution
    
- alias: open_zwave_network_up
  initial_state: true
  trigger:
    - platform: homeassistant
      event: start
    - platform: state
      entity_id: binary_sensor.ozw_network_status
      to: "on"
  action:
    - service: homeassistant.turn_on
      entity_id: input_boolean.allow_automation_execution

In dev-tools -> States what does binary_sensor.ozw_network_status show? On or Off?

I restarted HA and binary_sensor.allow_automation is set to off. binary_sensor.ozw_network_status shows on.

Check your log for errors.

Version 0.0.22 - 0.0.23

:sparkles: Changes :sparkles:

  1. Removed ā€œConfirmationā€ dialog the package will now get regenerated after you hit the submit buttons
  2. Reverted change of input_number back to input_text for the PINs (this was testing code shouldnā€™t have been there)

:bug: Bug Fix :bug:

  1. Fix small bug with config flow not triggering the regeneration

Reminder: If you have any feature requests or found a bug, feel free to report them on the Github Repoā€™s Issue page.

I am missing the service binary_sensor.ozw_network_status I am running zwave not open zwave.

Youā€™ll need a different automation to toggle the input_boolean when Home Assistant starts up.
Let me see what I can find.

EDIT (for zwave something like this should work):

- alias: open_zwave_network_down
  initial_state: true
  trigger:
    platform: event
    event_type: zwave.network_stop
  action:
    - service: homeassistant.turn_off
      entity_id: input_boolean.allow_automation_execution

- alias: open_zwave_network_up
  initial_state: true
  trigger:
    platform: event
    event_type: zwave.network_start
  action:
    - service: homeassistant.turn_on
      entity_id: input_boolean.allow_automation_execution

(there may be indention errors)

I restarted my virtual machine and HA and binary_sensor.allow_automation is set to off. binary_sensor.ozw_network_status shows off. There are no errors in the logs.

This is my configuration.yaml.

homeassistant:
  packages: !include_dir_named packages

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Text to speech
tts:
  - platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

http:
  ssl_certificate: /ssl/fullchain.pem
  ssl_key: /ssl/privkey.pem

input_boolean:
  allow_automation_execution:
    name: 'Allow Automation'
    initial: off

  system_ready:
    name: 'System Ready'
    initial: off

binary_sensor:
  - platform: template
    sensors:
      allow_automation:
        friendly_name: "Allow Automation"
        value_template: "{{ is_state('input_boolean.allow_automation_execution', 'on') }}"

      system_ready:
        friendly_name: "System ready"
        value_template: "{{ is_state('input_boolean.system_ready', 'on') }}"
        device_class: moving

  - platform: mqtt
    name: ozw_network_status
    state_topic: OpenZWave/1/status/
    value_template: >
      {{ "ON" if value_json.Status in ["driverAwakeNodesQueried", "driverAllNodesQueriedSomeDead", "driverAllNodesQueried"] else "OFF" }}
    json_attributes_topic: OpenZWave/1/status/
    device_class: "connectivity"

This is my automations.yaml.

- alias: homeassistant start-up
  initial_state: true
  trigger:
    platform: homeassistant
    event: start
  action:
    - service: input_boolean.turn_off
      entity_id: input_boolean.system_ready
    - service: input_boolean.turn_off
      entity_id: input_boolean.allow_automation_execution


- alias: open_zwave_network_down
  initial_state: true
  trigger:
    - platform: state
      entity_id: binary_sensor.ozw_network_status
      to: "off"
  action:
    - service: homeassistant.turn_off
      entity_id: input_boolean.allow_automation_execution
    
- alias: open_zwave_network_up
  initial_state: true
  trigger:
    - platform: homeassistant
      event: start
    - platform: state
      entity_id: binary_sensor.ozw_network_status
      to: "on"
  action:
    - service: homeassistant.turn_on
      entity_id: input_boolean.allow_automation_execution

Thereā€™s your problem.

Hello, is this app compatible with zigbee keypads? or could it be?

Thanks in advance

Iā€™m sure it could be made to.