Git Product home page Git Product logo

alarmo-card's Introduction

alarmo-card

hacs_badge

Introduction

This is a Lovelace card for Home Assistant that can be used to control your Alarmo security system.

The card works on top of the alarmo custom component. You will need it this as well.

This card is only suitable for controlling entities (of type alarm_control_panel) which are generated by the Alarmo integration, you cannot use it with any other alarm integration in HA.

Preview:

alt text

Features

The alarmo-card is similar to the Lovelace alarm panel card, but brings some extra functions.

Countdown timer

A countdown timer is displayed when the alarm is in arming or pending state. The countdown timer will show the remaining time of the configured exit / entry delay. This gives you an indication of how much time you have left for leaving the house / disarming the alarm.

Diagnostics messages

The card will give you an indication in the following conditions:

  • A wrong code (or no code) was entered.
  • The alarm could not be armed (due to one or more sensors).
  • The alarm was triggered (due to one or more sensors).

In the second and third case you will see a message in the card with the sensors that caused the issue. The state of these sensors is visible in the message, such that you have feedback in case the issue is resolved.

Arming options

When the alarm is disabled, an icon is shown in the top-right corner of the card. By clicking it a menu is revealed with the advanced arming options:

  • Skip delay: setting this option will cause the exit delay to be skipped, so arming the alarm will be effective immediately. This is practical in case you want to arm the alarm after you already left the house.
  • Bypass open sensors: this option forces the alarm to be armed. In case sensors are blocking the arming, they will be automatically bypassed (temporarily eliminated from the alarm).

The arming options are only applied on the next time you arm the alarm.

Card customization

The card allows the following customization options:

  • Increasing the size of the buttons in the card.
  • Choose which buttons for arming modes are visible.
  • Change the texts visible on the arming mode buttons and the text visible when the alarm is in this state.
  • Change the title of the alarm.

Installation

click to show installation instructions

HACS installation:

Note: Ensure you have a www folder created as in config/www or the installation will succeed but fails silently

  1. Click the Orange + button bottom right and search for Alarmo Card
  2. Click on "Install" under the new card that just popped up.

Note: Ensure to install https://github.com/nielsfaber/alarmo and add the integration in order for the card to work properly.

Manual installation

  1. Download the latest release of alarmo-card.js here and place it into www/alarmo-card.

  2. Use the GUI; Configuration -> Lovelace Dashboards -> Resources Tab to add /local/alarmo-card/alarmo-card.js?v=0, or add a reference to the card in the resources section of configuration.yaml:

resources:
  - url: /local/alarmo-card/alarmo-card.js?v=0
    type: module

Updating

click to show updating instructions

Updating via HACS: HACS should auto-remind you in the HACS tab when an update is available.

Updating manually:

Use git pull for manual installation updates.

Since most browsers will cache the Lovelace card code, you can force a refresh of the browser by editing the entry in the resources: section in ui-lovelace.yaml, by updating the version to ?v=(n+1) (where n the current value).


Configuration

For setting up the card, you need to assign the correct entity to the card. All settings regarding delay times, arming modes, code settings are automatically detected.

Example YAML configuration:

type: 'custom:alarmo-card'
entity: alarm_control_panel.alarmo

Configuration using UI mode:

  1. Go to the Lovelace page where you want to add the card
  2. Click "Edit Dashboard" on the right (under the button with the 3 dots)
  • Click the "Add card" button on the bottom
  • Choose "Custom: Alarmo Card" and pick the correct entity.

Options

Name Type Requirement Description Default
type string Required custom:alarmo-card
entity string Required Alarm_control_panel entity
name string Optional Displayed name (next to icon) (Take from entity)
keep_keypad_visible boolean Optional Keep the keypad always visible, also when no code input is required.
Only useful if numerical code is used.
false
button_scale_actions number Optional Scaling factor to apply to the size of the action buttons (between 1.0 and 2.5) 1.0
button_scale_keypad number Optional Scaling factor to apply to the size of the keypad buttons (between 1.0 and 2.5) 1.0
use_clear_icon boolean Optional Show icon (instead of text) in keypad for clearing code input.
Only useful if numerical code is used.
false
show_messages boolean Optional Show diagnostic messages in the card when alarm is triggered or cannot be armed. true
show_ready_indicator boolean Optional Adds ready/not ready indicators to the arm mode buttons. true
show_bypassed_sensors boolean Optional Show a warning message when the alarm is armed with bypassed sensors. true
states object Optional Customize the display of states in the card.
See state configuration.

State configuration

State configuration allows users to modify the displayed texts and buttons (where applicable) in the card corresponding to certain states.

Note that the alarm entity may not support all armed_xxx states. States which are not supported will not show up in the card and cannot be configured.

Name Type Applicable states Description Default
hide boolean armed_away
armed_home
armed_night
armed_vacation
armed_custom_bypass
Hides the button corresponding to the state. false
button_label string disarmed
armed_away
armed_home
armed_night
armed_vacation
armed_custom_bypass
Overwrites the text on the button.
Only useful if the button is not hidden.
(Use translation from HA)
state_label string disarmed
triggered
arming
pending
armed_away
armed_home
armed_night
armed_vacation
armed_custom_bypass
Overwrites the text displayed in the card when the alarm is in this state. (Use translation from HA)

Example of using state configuration

The example below hides the armed_home button (although the alarm supports it), and renames the armed_away / disarmed options.

type: custom:alarmo-card
entity: alarm_control_panel.alarmo
states:
  armed_away:
    hide: false
    button_label: "Turn on"
    state_label: "Enabled"
  armed_home:
    hide: true
  disarmed:
    hide: false
    button_label: "Turn off"
    state_label: "Disabled"
# ... rest of card config

Result:

example result


Say thank you

If you want to make donation as appreciation of my work, you can do so via PayPal or buy me a coffee. Thank you!

alarmo-card's People

Contributors

cayossarian avatar faintghost avatar g1za avatar markus-gitdev avatar mathias-petersen avatar mattexpa avatar nielsfaber avatar patrick44fr avatar rodolfomenardi avatar taixmiguel avatar veldik avatar wardpieters avatar wrt54g avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

alarmo-card's Issues

Control Panel Code

Checklist

  • I checked for similar existing requests (both open and closed) before posting.
  • My request is generic, other users may benefit from it too.

Proposal

  • Clear the Code from the panel after long time being inactive to prevent the code from being left pushed in.

Additional info

[some example of how the new functionality should look like]

No support prior IOS 11.1

On IOS devices running IOS lower than 11.1 HASS isn't able to display the custom element card.

Checklist

  • [ x ] I checked for similar existing issues (both open and closed) before posting.
  • [ x ] I am running the latest version.

Expected behavior

Display the card normally just like any other native cards.

Actual behavior

Red box is being displayed stating that the custom element doesn't exist.

Steps to Reproduce

Try to access the card on a IOS device running IOS <11.1

Tried to fix it myself and found this post in a similar Issue report (might be the solution as far as i can tell?)
gurbyz/power-wheel-card#11 (comment)

[Card Settings Panel] Part of the text is hidden with preview

I am sorry to report the bug, as it really is a front error that does not prevent the use of the card.

Checklist

  • I checked for similar existing issues (both open and closed) before posting.
  • I am running the latest version. (v1.4.0)

Expected behavior

Layer widths should be defined so that when a layer changes (the alarm preview becomes larger) no hidden text is left behind

Actual behavior

The text explaining the scaling of the buttons looks incomplete due to the alarm panel overlapping a layer above
Captura de pantalla de 2022-05-07 09-10-35
Captura de pantalla de 2022-05-07 09-11-02

Steps to Reproduce

In the editing of the user interface, when registering an alarmo card you can see the error. In my case, I have a resolution of 1600x900 and I use the browser Firefox

Alarmo card - Invalid configuration provided for entity

Hi.
I am running Home Assistant 2022.4.7 on a virtual machine on a Synology NAS, Alarmo V.1.8.7 and Alarmo Card 1.2.3.
I have the Alarmo card instaled in \config\www\community\alarmo-card

image

but when I add the card to the dashboard it doesn't work. I get an error message "Invalid configuration provided for entity"

image

Thanks for your help. And thank you for the great work you do!

Feature Request: Allow renaming of "Custom Bypass" in the UI card

Checklist

  • I checked for similar existing requests (both open and closed) before posting.
  • My request is generic, other users may benefit from it too.

Proposal

Custom bypass in the lovelace card is not a very descriptive name for what it does. Allow renaming the label of the button using configuration.

Additional info

For example, I use "custom bypass" for "away, but dog is home". Renaming this would allow me to keep the system intuitive for the intended users.

Changing Mode Names on Alarmo Card Freezes Web Browser

Alarmo Version

v1.9.8

HA Version

2023.4.0

Bug description

I can edit all the fields on the Alarmo card but when I attempt to change the name of the modes the web page freezes as soon as I click the edit icon.

Steps to reproduce

Editing the Alarmo card on any of my Dashboards produces the same issue.

Relevant log output

No response

Different scaling options for Arm buttons and keypad

Checklist

  • I checked for similar existing requests (both open and closed) before posting.
  • My request is generic, other users may benefit from it too.

Proposal

I use the card on a Fire 7 in landscape mode. Would be great to have some more formatting options, e.g. bigger ARM buttons, spacing above the button, etc. and have these separate to scaling for the keypad.

Additional info

Pure visual enhancements

circles around the icon are not aligned when changing browser zoom in safari.

Checklist

  • [ x] I checked for similar existing issues (both open and closed) before posting.
  • [ x] I am running the latest version.

Expected behavior

card to properly scale when browser zoom is adjusted when using safari

Actual behavior

circles around the icon are not aligned

Steps to Reproduce

change the browser zoom level in safari macOS Monterey 12.0.1, see picture
Screenshot 2021-12-15 at 20 30 05

--- UPDATE ---
I think I found the culprit: the .remaining class has a transfer:rotate(90deg). if removed or set to 0 it aligns with the white circle

Keypad always visible

Alarmo 1.8.7
Alarmo Card 1.3.0
Home Assistant 2022.4.5

Problem:
when the alarm is disarmed, the keypad is always visible.
I use a numeric code (4 digits) to activate the alarm system.

type: custom:alarmo-card entity: alarm_control_panel.alarmo keep_keypad_visible: false button_scale_actions: 1 use_clear_icon: false name: ALLARME button_scale: 1 states: armed_away: hide: false disarmed: hide: false button_scale_keypad: 1 show_messages: true

E98F37F8-2F75-410C-B927-E314828C7955

Alarmo Card does not reflect Alarmo state if Alarmo state is set via MQTT

Checklist

  • [ X I checked for similar existing issues (both open and closed) before posting.
  • I am running the latest version.

Expected behavior

Node Red User: I use Alexa in to arm alarm, that pushed the state change to MQTT...
When I send "arming" via MQTT to alarmo/state, I would expect the Alarmo Card to update to arming, show keypad, etc.

Actual behavior

When I put the state change to MQTT, the Alarmo Card stays on it's "disarmed" iew

Steps to Reproduce

Push "arming" to MQTT:alarmo/state

ability to change which zone is triggered by alarmo-card-buttons

Checklist

  • I checked for similar existing requests (both open and closed) before posting.
  • My request is generic, other users may benefit from it too.

Proposal

ability to change which zone is triggered by alarmo-card-buttons

Additional info

additional zone-setting in alarmo-card-settings, for which zone should be triggered by that specific alarmo-card.

This way we can assign a lovelace-view for "backdoor-panel" and one for "frontdoor-panel" (like many do already) and each one could have different alarmo-cards triggering different zones.

for example
lovelace-frontdoor-view -> alarmo-card enables only zone1 (with frontdoor-exit-delay)
lovelace-backdoor-view -> alarmo-card enables only zone2 (with backdoor-exit-delay)

or one is using a display for triggering only zone3, which is the garage or something...

Add a button or a pop up to force the alarm

Checklist

  • I checked for similar existing requests (both open and closed) before posting.
  • My request is generic, other users may benefit from it too.

Proposal

[clear description of what you want to see changed or added]
I'm looking for a simple way to force the alarm when some doors or windows are open on Lovelace. We can achieve that with clicking on the 3 points menu, ticking the "bypass opened sensors" and click again on activate the alarm, which is a bit long and ask some manipulations I can't ask my grandfather to do (Home automation should be simple otherwise he will not use it...)

I wish ther was a way to display a new specific button to force the alarm activation while displaying the list of opened sensors, or a pop-up asking to confirm the decision to force the alarm, like what we have in the actionnable notification (ALARMO_FORCE_ARM) .
It would be a really nice addition to Alarmo and its card!

Additional info

May add some mockup later

Skip delay and Force

First, thanks a lot for developing Alarmo! Really appreciate it!

When I am arming from the alarmo card I am always away from home, which makes the delay unnecessary and just an extra period of waiting until the arming is confirmed.

Checklist

  • I checked for similar existing requests (both open and closed) before posting.
  • My request is generic, other users may benefit from it too.

Proposal

I think it would be nice to be able to skip the delay and force bypassing of the open sensors when arming from the card, similar to the options available when arming from an automation.

Additional info

Would be enough with tick boxes when you edit the display of a certain arming mode.

Invalid config in version 2022.1.0

Checklist

  • I checked for similar existing issues (both open and closed) before posting.
  • I am running the latest version.

Expected behavior

I've updated to last version and HA notifies an error.

Actual behavior

The notification:

Invalid config
The following integrations and platforms could not be set up:
irrigation_unlimited
Please check your config and logs.

And the logs gives three errors with this information:

Error adding entities for domain irrigation_unlimited with platform irrigation_unlimited
11:46:09 – (ERROR) Irrigation Unlimited (custom integration)
Logger: custom_components.irrigation_unlimited
Source: custom_components/irrigation_unlimited/entity.py:111
Integration: Irrigation Unlimited (documentation, issues)
First occurred: 11:46:09 (1 occurrences)
Last logged: 11:46:09
Error adding entities for domain irrigation_unlimited with platform irrigation_unlimited
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 613, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 747, in add_to_platform_finish
await self.async_added_to_hass()
File "/config/custom_components/irrigation_unlimited/entity.py", line 111, in async_added_to_hass
data = IUAdjustment(zne[ATTR_ADJUSTMENT]).to_dict()
KeyError: 'adjustment'

Error during setup of component irrigation_unlimited
11:46:09 – (ERROR) Irrigation Unlimited (custom integration)
Logger: homeassistant.setup
Source: custom_components/irrigation_unlimited/entity.py:111
Integration: Irrigation Unlimited (documentation, issues)
First occurred: 11:46:09 (1 occurrences)
Last logged: 11:46:09
Error during setup of component irrigation_unlimited
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 229, in _async_setup_component
result = await task
File "/config/custom_components/irrigation_unlimited/init.py", line 251, in async_setup
await component.async_add_entities([IUComponent(coordinator)])
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 613, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 747, in add_to_platform_finish
await self.async_added_to_hass()
File "/config/custom_components/irrigation_unlimited/entity.py", line 111, in async_added_to_hass
data = IUAdjustment(zne[ATTR_ADJUSTMENT]).to_dict()
KeyError: 'adjustment'

Exception in <file.irrigation_unlimited_service_shim.irrigation_unlimited_list_config> line 39: data = json.loads(irrigation_unlimited.coordinator.configuration) ^ AttributeError: 'StateVal' object has no attribute 'configuration'
11:46:51 – (ERROR) Pyscript Python scripting (custom integration) - message first occurred at 11:46:49 and shows up 2 times
Logger: custom_components.pyscript.file.irrigation_unlimited_service_shim.irrigation_unlimited_list_config
Source: custom_components/pyscript/eval.py:480
Integration: Pyscript Python scripting (documentation, issues)
First occurred: 11:46:49 (2 occurrences)
Last logged: 11:46:51
Exception in <file.irrigation_unlimited_service_shim.irrigation_unlimited_list_config> line 39: data = json.loads(irrigation_unlimited.coordinator.configuration) ^ AttributeError: 'StateVal' object has no attribute 'configuration'

Steps to Reproduce

Just updating to last version and restarting HA.

Icon colour changes to help colour blindness

Checklist

  • I checked for similar existing requests (both open and closed) before posting.
  • My request is generic, other users may benefit from it too.

Proposal

Allow the background colour to be changed by the user, or a more colour blind friendly colour scheme chosen.

Additional info

Like around 10% of the population, I'm red/green colour-blind. This means I can't actually distinguish between the armed and disarmed icons easily (or at all in some light). If user chosen colour scheme wouldn't be possible, then a (hopefully) simple change to say blue for disarmed and red for armed would make it extremely clear. I realise this is this sounds trivial, however the difference between red and blue to me, is the same as the difference between red and green to you and the other 90%.

Can not add an entity in the alarmo-card

I can not use the alarmocard.

I always get

" Invalid configuration provided for entity error.
type: custom:alarmo-card"

Checklist

  • I checked for similar existing issues (both open and closed) before posting.
  • I am running the latest version, both alarmo-card and home-assistant (2022.11)

Expected behavior

Be able to add an entity when adding a card.

Actual behavior

Field to add does not appear

See the attached screenshot.
screenshot

Missing functions in alarm card

Checklist

  • I checked for similar existing issues (both open and closed) before posting.
  • I am running the latest version.

Expected behavior

[What you expected to happen]
I expected to be able to pick the alarm entity from an entity picker
I expected to be able to se available options
I expected to se a preview of the card
image

Actual behavior

[What actually happened]
I was missing the entity picker, the available options and the card preview

I have tried this in both Chrome and Safari, with same result (cache deleted in both before retry)
image

I have also removed and reinstalled the Card integration
I have tried restarting HA

Steps to Reproduce

[Explain how to see the behaviour]
Install Alarmo
Install Alarmo-card
Add Alarmo-card to a dashboard
Configure Alarmo Card

Option for just displaying diagnostic messages in card (no keypad, title, or other buttons)

Checklist

  • [x ] I checked for similar existing requests (both open and closed) before posting.
  • [x ] My request is generic, other users may benefit from it too.

Proposal

I would like the option to remove everything from the card except the diagnostic messages. I intend to use the armed home state to monitor the house as part of a wall panel display that is always on.

Additional info

[some example of how the new functionality should look like]

Ability to customize state badge/icon

Checklist

  • I checked for similar existing requests (both open and closed) before posting.
  • My request is generic, other users may benefit from it too.

Proposal

There is a great deal of ability to customize the buttons and I would love to see similar capabilities added to the state badge/icon. Right now, the icon shows armed/disarmed shields and the badge turns red when armed and green when disarmed. Being able to change those colours and perhaps icons would be helpful.

Additional info

Right now I have an Alarmo instance that is monitoring my aquarium. When the water leak detector is triggered, the temperature is wrong, etc, the alarm is tripped and the associated notifications occur. The alarmo-card is used to enable and disable monitoring when alarms are not desirable, such as when doing water changes, changing the plantscape, etc. Unfortunately, that means the icon is red when monitoring (armed) and green when not monitoring (disarmed). Intuitively, the correlation of armed=red and disarmed=green makes perfect sense in the context of an alarm system, but for a monitoring system, the correlation is reversed, the opposite of what one intuitively expect. Intuitively, green should indicate the system is being monitored and red should indicate the system is off and not being monitored. The ability to change colors and perhaps icons would make this card ideally suited to a system built for monitoring.

See illustrative screenshots below:
snip1
Snip2

Portuguese Brazilian (PT-BR) Translate

Hi @nielsfaber
I have translate this card to my main language, if you want to add do this project feel free to do so.

{
"arm_options": {
"heading": "Opções para Arme",
"skip_delay": "Ignorar tempo de saída",
"force": "Ignorar sensores abertos"
},
"editor": {
"keep_keypad_visible": "Manter teclado sempre visível, mesmo quando nenhuma senha for necessária.",
"button_scale_actions": "Escala a ser aplicada ao ajustar tamanho dos botões de ação.",
"button_scale_keypad": "Escala a ser aplicada ao ajustar tamanho dos botões do teclado de senha.",
"use_clear_icon": "Mostrar ícone (ao invés de texto) no teclado para limpa a senha digitada.",
"show_messages": "Mostar mensagem de diagnostico quando o alarme for acionado ou quando não pode ser armado.",
"available_actions": "Ações disponíveis:",
"action_dialog": {
"title": "Customizar visualização da ação '{action}'",
"button_label": "Sobrescrever nome do botão",
"state_label": "Sobrescrever nome do estado"
}
},
"errors": {
"blocking_sensors": "Não é possivel realizar o arme devido aos seguintes sensores",
"triggered_sensors": "Alarme foi acionado pelos seguintes sensores"
}
}

[FR] Use new color states

Checklist

  • I checked for similar existing requests (both open and closed) before posting.
  • My request is generic, other users may benefit from it too.

Proposal

Use the new theme's color states:

  state-alarm-armed-color: '#F44336' # Red
  state-alarm-arming-color: '#FF9800' # Orange
  state-alarm-disarmed-color: '#4CAF50' # Green
  state-alarm-pending-color: '#FF9800' # Orange
  state-alarm-triggered-color: '#F44336' # Red

Additional info

[some example of how the new functionality should look like]

Alarmo under RTL Languages

Alarmo Version

v1.9.7

HA Version

2023.1.2

Bug description

The Alarmo card has a bug when working with RTL (Hebrew in my case).

  1. The Entity field does not show. Moving to English shows it and enables defining it. Moving back to Hebrew and I guess any other RTL Language keeps the Entity field in place.
  2. The pin field is set to the right hand side and not placed in the middle.
  3. On some of the setup pages (actions for instance) menus are not aligned properly and are one over the other.
  4. I did try to add the entity entry in the code editor but it did not work. This needs double verification but if nielsfaber/alarmo#1 is fixed, this will not be an issue anymore.

Steps to reproduce

Just add an new Alarmo Card under to the dashboard while under Hebrew and I guess Arabic.

Relevant log output

No need

Keypad not shown in HA Companion App

Checklist

  • I checked for similar existing issues (both open and closed) before posting.
  • I am running the latest version.

Expected behavior

Keypad is shown when armed and needed when option 'Keep the keypad always visible, also when no code input is required.' is inactive.

Actual behavior

Since version 1.2.0 the keypad in the HA Companion App (Android) is not shown, when Alarmo is armed and a pincode is needed.
It only appears, when option 'Keep the keypad always visible, also when no code input is required.' is activated.
It works like expected when using a webbrowser like Chrome and Firefox.

Steps to Reproduce

  • Install official HA Companion App (Android)
  • Login to HA
  • Configure Alarmo to require a pincode to disarm
  • Disable card setting 'Keep the keypad always visible, also when no code input is required.'
  • Arm Alarmo
  • Try to disarm using the card in the HA Companion App

Screenshot_20211128-180335_Home Assistant

Icon state still blinking

Hello,

It's seems there is a little bug with state icon.

Steps to reproduce :
Arm alarm, then a sensor is triggered, alarm is triggered. The state icon is blink red. Then after click to disarm, state icon return to green color but still blinking.

Demo on video below

alarmo_blink.mov

Exit Delay doesn't match the configured time

Alarmo Version

v1.8.6

HA Version

2022.3.5

Bug description

Starting in the last month or so, the configured exit delay in Alarmo doesn't match the count down timer given on the Alarmo card. For Arm Away, it is configured for 30 seconds exit and 30 seconds entry.

For example, when leaving home, I press 'Arm Away' it is showing a 4 second countdown timer in the alarmo card. Returning home and entering the house yield a short timeout as well.

I have noticed this is happening on the wall panel tablet (Fire Tablet) w/ Fully Browser but not on my phone running the native app.

I reported this in the discussion thread a week ago or so and it was suggested to raise a ticket.

Today, I spent a little more time looking at the issue. It appears the countdown is very short, but the alarm itself doesn't actually arm until the appropriate time. It is starting the countdown at 4 seconds, gets to 0, and then just sits there until the 30 second configured time is reached and then it shows armed as expected. So it may be more related to the countdown on the card being wrong, but Alarmo itself using the right value.

What information would be helpful in debugging?

Steps to reproduce

For example, when leaving home, I press 'Arm Away' it is showing a 4 second countdown timer in the alarmo card. Returning home and entering the house yield a short timeout as well.

Relevant log output

No response

bring back the native browser number pad for pincodes on Android

Checklist

  • I checked for similar existing requests (both open and closed) before posting.
  • My request is generic, other users may benefit from it too.

Proposal

When the code format is set to pincode in the Alarmo configuration, and the user is on Android, and the Code field is displayed for disarming, and the user clicks on the Code field, have the native browser number pad display, which would be achieved by setting the code field in the alarmo-card to accept only numbers (on stackoverflow this seems achievable by setting inputmode="numeric" in the input field). I have found the native mobile browser keypad is a much more reliable way for users to enter the pin than the HTML keypad. This behavior existed in alarmo-card until v1.2.3. To minimize user confusion, I use card_mod to entirely suppress the HTML keypad, but a setting to entirely suppress the HTML keypad would be a nice extra.

Additional info

With the above setup, the HTML keypad would never display

Arm-Icons instead of Text

Checklist

  • I checked for similar existing requests (both open and closed) before posting.
  • My request is generic, other users may benefit from it too.

Proposal

would love to have an option for icons for arming, instead of text

Changing the button "Arm/Disarm" position?!

Checklist

  • I checked for similar existing requests (both open and closed) before posting.
  • My request is generic, other users may benefit from it too.

Proposal

[clear description of what you want to see changed or added]
There is any way to change the "ARM/DISARM" button position?

Additional info

[some example of how the new functionality should look like]
I would like to put the button "ARM/DISARM" to the left of button "0" (zero). In this way, I will have a more compact design

Alarmo-Card cannot establish connection

Checklist

  • [x ] I checked for similar existing issues (both open and closed) before posting. (Similar to staled Issue #30 )
  • [ x] I am running the latest version.

Expected behavior

The alarmo-card to function

Actual behavior

Card outputs "Could not establish a connection with the alarmo integration. Please check if it is installed and the correct entity is selected in the card settings." Triple checked over and the correct entity is being used, and the alarmo integration is indeed installed.

Steps to Reproduce

Issue occurs both using the HACS add-on to install and the manual method. Both create the same exact issue.

Countdown Timer

The countdown timer starts from the beginning when i close/reopen pop up or i refresh the browser.

Possible to have a persistent timer?

Button color text to hard to see in dark mode.

Checklist

  • I checked for similar existing issues (both open and closed) before posting.
  • I am running the latest version.

Expected behavior

Bring back the old button collor text in dark mode templates.
I prefer white color text in dark mode.

Actual behavior

keypad
default dark mode

keypad custom template
custom theme

Steps to Reproduce

To reproduce change theme to dark or a custom theme.

State badge color

Hi, I would like to propose this new feature.

  • Customize the color of the status badge
  • Armed: GREEN (now)
  • Disarmed: GRAY (now)

Actually you can customize the text and other parameters, but not the color of the status badge.

I didn't find the way to change these badge colors in the theme .yaml file (Google Dark Theme).

IMG_4505

Badge colors screwed-up with 1.5.0 update

Checklist

  • I checked for similar existing issues (both open and closed) before posting.
  • I am running the latest version.

Expected behavior

Badge green when disactivated, red when activated

Actual behavior

Badge grey when disactivated, green when activated

Steps to Reproduce

Upgrade to latest version.
This new behavior is against logic and creates confusion.

Circle around icon missing on iOS Safari / Companion app

Checklist

  • I checked for similar existing issues (both open and closed) before posting.
  • I am running the latest version.

Expected behavior

A circle should appear around the Alarmo icon (which will also be used to indicate countdown status) in all browsers.

Actual behavior

No circle is displayed around the icon, even when a countdown is active, on iOS in both Safari and the Companion app. The circle does appear on Safari on Mac. The latest iOS and Mac versions are in use.

6DEFE45A-5507-4B2D-BE42-B13D12997FE0_1_201_a

Steps to Reproduce

  • Add the card to any lovelace view
  • Open and view the card on iOS

Show devices blocking arming by their Alarmo name

Checklist

  • I checked for similar existing requests (both open and closed) before posting.
  • My request is generic, other users may benefit from it too.

Proposal

Devices blocking arming should be shown by their Alarmo name instead of the corresponding entity name. (Just like how Notifications work in Alarmo)

Additional info

Currently the popup showing the devices blocking arming are shown by their entity name, not their (renamed) Alarmo name.

Better support for horizontal displays

Checklist

  • [x ] I checked for similar existing requests (both open and closed) before posting.
  • [x ] My request is generic, other users may benefit from it too.

Proposal

Provide better viewing support for horizontal displays such as a 7 inch pi display.

Additional info

When using the alarm card on a horizontal display it forces a user to scroll down in order to type the pin for disarming, then scroll up to click disarm.
image
It would be nice to have dynamic button layouts so there could be 4 or 5 columns instead of 30% hardcoded for 3 columns of buttons.

Even better would be to have the keypad appear to the right of the status/name/action button when the keypad is shown, like this
image
but have the alarm status/name/actions centered when the keypad is not shown (like it is now)

Keypad never visible

Checklist

  • I checked for similar existing issues (both open and closed) before posting.
  • I am running the latest version.

Expected behavior

Keypad should be visible when disarming or when selecting keypad always visible

Actual behavior

Keypad is never visible when disarming or when enabling keypad always visible. Also unable to enable keep keypad visible from GUI as it is greyed out.

Steps to Reproduce

Arm alarm and keypad never appears or enable keep keypad visible and it never appears.

Screen Shot 2022-05-01 at 4 56 26 PM

Setting for hiding sensors blocking alarm activation

Using Alarmo with small tablets (ex. Fire HD), when some sensor is blocking alarm activation, they pop-up above the alarmo panel lowering it (and getting it outside of the screen if it is big enough to be usable on such tablets).

Is it possible to have a configuration option to disable this (I show sensors by myself with custom buttons in another card) or a configuration to hide icon and showing only the name of the sensor (so that less space is wasted)?

Thank you

States not shown

Checklist

  • I checked for similar existing issues (both open and closed) before posting.
  • I am running the latest version.

Expected behavior

State of the Alarmo entity shown in card.
(State label)

Actual behavior

No state shown in card (except the icon) since HA Core 2023.4.4.
Cause might be the new translation change in Home Assistant.

Steps to Reproduce

  • Arm/disarm Alarmo entity

keep_keypad_visible no longer working

Checklist

  • I checked for similar existing issues (both open and closed) before posting.
  • I am running the latest version.

Expected behavior

With keep_keypad_visible set to true, the keypad should be visible when the system is disarmed.

Actual behavior

The keypad is not visible when the system is disarmed. It does show up when the system is armed. This is the case on my iPad (Safari), iPhone (Home Assistant app) and two Amazon Fire HD 8s (Fully Kiosk).

Steps to Reproduce

Update to the latest Alarmo Card.

Code is not cleared when using "code for arming" - disarm is possible without entering a new code.

Checklist

  • [x ] I checked for similar existing issues (both open and closed) before posting.
  • [ x] I am running the latest version.

Expected behavior

I expect that the entered code is cleared after successfully arming so that to disarm you need to enter a code again.

Actual behavior

The entered code is not cleared after arming hence it is possible to just click "disarm" without entering a code.

Steps to Reproduce

  1. Enable "use code to arm"
  2. Use pincode as code-type (unsure if is a problem for passwords as well)
  3. Arm the alarm using a code - be sure not to touch anything after arming
  4. Verify that the alarm is armed and that the "code" fields are still filled with dots
  5. Press disarm without entering a code
  6. verify that the alarm is disarmed..
alarmo-card-bug.mp4

Countdown not shown

Since Alarmo release 1.9.1 the countdown isn't shown anymore.
Neither Alarmo-Card version 1.4.0, nor 1.3.0 do.
I suppose, those try to get the countdown time from websockets.

The possibility to change the button text of the items for "Available actions" into icons.

Checklist

  • I checked for similar existing requests (both open and closed) before posting.
  • My request is generic, other users may benefit from it too.

Proposal

The possibility to change the button text of the items for "Available actions" into icons.

Schermafbeelding 2021-11-01 1856062

Additional info

You can choose to use text or only an icon

Schermafbeelding 2021-11-01 193740

Because i only want to use an icon instead of text.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.