BUT now I just want to make the password placeholders bigger, so that it’s clearer how many digits are entered on my wall mounted phone I’m using as a panel. I can make the change in dev tools, but no matter what I do I can’t get the style to apply.
After reading up on Polymer, my best guess is adding the below to the js code itself, just before the paper-input, but no dice. Any clues?
No. I have that problem a lot, I just don’t think the viewer pane handles every case.
You only need to use the ?v= parameter if you change the js file. It doesn’t matter what number you use, just that it’s different every time you update the js file.
This is using the custom card, not the stock alarm panel card. Save the code I pasted in the www folder as alarm_control_panel-card.js, then in your ui-loavelace.yaml add the following to the top of the file:
Add scale: 15px. I think that’s the default scale. It seems like something in the latest update has broken this. I had to add both states and scale to my lovelace config to get it to work.
Now that html isn’t supported anymore for bwalarm in 0.115, I’m trying to use the manual alarm and standard alarm control panel card, but its buttons/numbers are way too small for my wall tablet.
Is the custom card posted above still expected to work? I’m on 0.114.3. This is my first time trying a custom card, and I see “Custom element doesn’t exist: alarm_control_panel-card.”
I added the Javascript module, /local/alarm_control_panel-card?v=7 in the Lovelace Dashboards > Resources, and then made a new empty dashboard and view and added a Manual card, and entered this into the editor, but I see the following error:
I also tried card-mod with the standard alarm panel card, and with that I can increase the font size, but not the button size, so it still looks pretty bad.
I’m with ya. Moving away from bwalarm and on Amazon Fire 7 tablet the alarm buttons way too small. So much space available to make them bigger. Stuck with card-mod and bigger font but still trying to get the buttons bigger…
Thanks DaveTX for the update. I’m not sure what’s different this time, but yeah, it works now!
Maybe I made some copy/paste mistake when I prepared the previous alarm_control_panel-card.js.
Cool- this should be much easier to play with, versus card mod!
-John
I followed your instructions on github and am getting the same message as you had in post 37. My setup is almost identical to yours : Home Assistant 0.117.5, running on Hass.io, on a Raspberry Pi 3b+, a wall-mounted 7" Amazon Fire Tablet, running Fully Kiosk, the iOS Home Assistant Companion, and an alarm panel kit from Konnected.io. Any advice ??
Hi Michael,
Assuming you’ve installed the alarm_control_panel-card.js in the right place in the file system, and specified the path correctly in Configuration > Lovelace Dashboards > Resources, then that message usually means there’s a coding mistake or typo in alarm_control_panel-card.js. Did you make any modifications to it? Often there’s evidence of a syntax error / etc in the HA logs (under Configuration > Logs).
-John
Hi John, I would love to use your amazing card together with bwalarm, instead of manual.
I prefer your custom card over the standard HA lovelace card, because it will look much bigger on my 8" Lenovo wall tablet with Fully Kiosk.
When the bwalarm is armed it shows the card perfectly with buttons and keypad like your screenshot, but when the alarm is disarmed it doesn’t show anything.
Force reloading the page doesn’t help.
Hi Bart-
I found an issue in my card code that could cause this.
I wasn’t able to successfully resurrect my old bwalarm setup to test, but I was able to reproduce your issue with the manual alarm by turning on hide_keypad in the card config.
Try pulling the updated alarm_control_panel-card.js from https://github.com/jcooper-korg/AlarmPanel and let me know how it goes.
Cheers,
John