Zigbee2MQTT - Control Alarmo via keypad

Thanks for pointing that out. I missed that post. I just tested it and it is acting goofy on my XHK1-UE. When disarmed, the keypad temporally goes into arm_night_zones, and I think it went into that mode briefly when arming away.

1 Like

your edit is what i was looking for. I don’t mine not setting an exit delay for night mode.

1 Like

This blueprint works great for me, but my Alarmo state is not represented on my Xfinity XHK1-UE keypad. Are you on the dev branch of z2m

no. I’m on the main production branch of z2m… I just updated the blueprint with some tweeks I did. It shouldn’t fix your problem though. Yours should sync in it’s previous state.

This works on the Centralite 3400 keypad, but it never lets the keypad know that it is indeed armed.

For example, the keypad remains with 2 green lights (disarmed state), and doesn’t have any of the armed mode buttons lit.

The keypad is able to arm/disarm Alarmo though.

Any idea what could be wrong?

Same. I can arm/disarm the alarm from the keypad, but the keypad always shows green LED’s like it’s disarmed. I’m not sure if Z2M has the ability to manage the “state” of the keypad. Anyone else figure this out? I know Centralite 3400 keypad works fine under ST and Hubitat, but not HomeAssistant… HA is supposed to be better, but it fails to work with a ridiculously old keypad, kinda sad.

Hi,
My keypad (KEYZB-110 from Frient/Develco) works - but not always. I also see a lot of errors which I believe come from this blueprint (or are the result of a wrong configuration somewhere?).

My set-up:

  • HA, zigbee2mqtt, mosquitto: all running in docker (so no HA supervised). Should all be latest versions.
  • Alarmo set-up and running

I have the feeling it was running more stable when on HA supervised - but that might just be a feeling…

A subset of the errors. Anyone can give me ideas where to look at?

2023-03-08 16:22:31.682 WARNING (MainThread) [homeassistant.components.mqtt.mixins] Erroneous JSON: pending
2023-03-08 16:22:31.683 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'value_json' is undefined when rendering '{{ value_json.battery }}'
2023-03-08 16:22:31.685 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'value_json' is undefined when rendering '{{ value_json.voltage }}'
2023-03-08 16:22:31.687 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'value_json' is undefined when rendering '{{ value_json.action_code }}'
2023-03-08 16:22:31.689 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'value_json' is undefined when rendering '{{ value_json.action_transaction }}'
2023-03-08 16:22:31.691 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'value_json' is undefined when rendering '{{ value_json.action_zone }}'
2023-03-08 16:22:31.693 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'value_json' is undefined when rendering '{{ value_json.action }}'
2023-03-08 16:22:31.695 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'value_json' is undefined when rendering '{{ value_json.linkquality }}'
2023-03-08 16:22:31.697 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'value_json' is undefined when rendering '{{ value_json.last_seen }}'
2023-03-08 16:22:31.699 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'value_json' is undefined when rendering '{{ value_json.battery_low }}'
2023-03-08 16:22:31.701 ERROR (MainThread) [homeassistant.helpers.template] Error parsing value: 'value_json' is undefined (value: pending, template: {{ value_json.battery_low }})
2023-03-08 16:22:31.703 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'value_json' is undefined when rendering '{{ value_json.tamper }}'
2023-03-08 16:22:31.704 ERROR (MainThread) [homeassistant.helpers.template] Error parsing value: 'value_json' is undefined (value: pending, template: {{ value_json.tamper }})
2023-03-08 16:22:31.706 ERROR (MainThread) [homeassistant.helpers.template] Error parsing value: 'value_json' is undefined (value: pending, template: {{ value_json['update']['state'] == "available" }})
2023-03-08 16:22:31.708 ERROR (MainThread) [homeassistant.helpers.template] Error parsing value: 'value_json' is undefined (value: pending, template: {{ value_json['update']['installed_version'] }})
2023-03-08 16:22:31.709 ERROR (MainThread) [homeassistant.helpers.template] Error parsing value: 'value_json' is undefined (value: pending, template: {{ value_json['update']['latest_version'] }})
2023-03-08 16:22:31.723 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'dict object' has no attribute 'payload_json' when rendering '{{ trigger.payload_json.action == "disarm"  }}'
2023-03-08 16:22:31.726 WARNING (MainThread) [homeassistant.helpers.script] Error in 'choose[0]' evaluation: In 'template' condition: UndefinedError: 'dict object' has no attribute 'payload_json'
2023-03-08 16:22:31.729 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'dict object' has no attribute 'payload_json' when rendering '{{ trigger.payload_json.action == "arm_all_zones"  }}'
2023-03-08 16:22:31.731 WARNING (MainThread) [homeassistant.helpers.script] Error in 'choose[0]' evaluation: In 'template' condition: UndefinedError: 'dict object' has no attribute 'payload_json'
2023-03-08 16:22:31.732 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'dict object' has no attribute 'payload_json' when rendering '{{ trigger.payload_json.action == "arm_day_zones"  }}'
2023-03-08 16:22:31.736 WARNING (MainThread) [homeassistant.helpers.script] Error in 'choose[0]' evaluation: In 'template' condition: UndefinedError: 'dict object' has no attribute 'payload_json'
2023-03-08 16:22:45.220 WARNING (MainThread) [custom_components.alarmo.alarm_control_panel] Wrong code provided.
2023-03-08 16:22:51.608 WARNING (MainThread) [homeassistant.components.mqtt.mixins] Erroneous JSON: triggered
2023-03-08 16:22:51.613 WARNING (MainThread) [homeassistant.components.mqtt.mixins] Erroneous JSON: triggered
2023-03-08 16:22:51.617 WARNING (MainThread) [homeassistant.components.mqtt.mixins] Erroneous JSON: triggered
2023-03-08 16:22:51.619 WARNING (MainThread) [homeassistant.components.mqtt.mixins] Erroneous JSON: triggered
2023-03-08 16:22:51.620 WARNING (MainThread) [homeassistant.components.mqtt.mixins] Erroneous JSON: triggered
2023-03-08 16:22:51.621 WARNING (MainThread) [homeassistant.components.mqtt.mixins] Erroneous JSON: triggered

I just started using this (bought a new zigbee dongle just to be able to add linkind kp as zigbee2mqtt).

Two nice features would be:

  • to have the delay in/out bips - I made them with a speaker, but not the same thing
  • to have the device light up once the delay entry is triggered
1 Like

Do you know if there is a current keyboard that works with this blueprint? I can’t find any for sale.

Thanks.

Hive KEYPAD001 works well

Thanks for the warning, I’ve been looking for it but it’s not sold in Europe, let’s see if one appears on AliExpress.

I bought mine from Ebay a few days ago. Only cost me £19

1 Like

It’s amazing, no zigbee keyboard is sold in Europe! I am looking for one too…

Plenty of Hive KEYPAD001’s on eBay …

Please could you send me the link privately? Thank you

Sent you some links as requested. All I did was search for “hive keypad”

Hi I am new to this stuff and very in experienced with home assistant. I have Zigbee2mqtt install and running and the keypad paired plus the blueprint imported but how do I get the keypad to use it have clicked on blueprint setup automation but have no clue what info to but in the boxes

I have it set up like this:

The ‘Keypad’ part of the topic should be the same as the name for the device in zigbee2mqtt.
You can also find this topic in HA by going into Settings → Devices, looking up your keypad device and clicking the ‘MQTT info’ button.

Thanks for the help have got it working to a fashion but the keypad keeps going to sleep and doesn’t all ways reconnect.

Wow. This I great!
One request though…
I have enabled the panic button via a automation so that the alarm will trigger if the “panic” action is enwoked.
However when disarming the alarm via other sources than the keypad, the keypad does not go from “panic” to “disarmed”. Would it be possible to add this automation in this script?