iParcelBox Card by @gadget-man
This Lovelace custom card requires the iParcelBox custom integration, available at https://github.com/gadget-man/iparcelboxHA.
iParcelBox Card is available from HACS as a custom repository.
In your HA HACS dashboard, select 'Frontend', then select the 3 dots in the top right corner of the screen and choose 'Custom Repositories'.
Enter https://github.com/gadget-man/iparcelbox-card
and select Lovelace
as the category.
If you don't have HACS installed, follow the manual installation instructions.
You can configure this custom-card using the UI. Simply select the device from the list and update any of the optional settings.
Alternatively you can manually add the integration and provide the relevant Device name (note it should be an underscore, not dash), Device ID and other settings:
type: custom:iparcelbox-card
device_name: iParcelBox_XXXXXXXX
device_id: XXXXXXXX
name: Front Driveway
show_header: true
show_status: true
show_attributes: true
show_buttons: true
image: /hacsfiles/iparcelbox-card/iparcelbox-card.png
By default, the custom-card will display a generic background. Select your own background by providing the file path, or enter 'none' in the image field to remove the background image.
Name | Type | Requirement | Description | Default |
---|---|---|---|---|
type | string | Required | custom:iparcelbox-card |
|
device_name | string | Required | iParcelBox Integration device name | none |
device_id | string | Required | iParcelBox Integration device ID. | none |
name | string | Optional | Card name - will appear at the top | none |
image | string | Optional | Path to image file - set 'none' for blank | iParcelBox image |
show_header | boolean | Optional | Show boxStatus in header | true |
show_status | boolean | Optional | Show status icons on left | true |
show_attributes | boolean | Optional | Show attributes on rigt side | true |
show_buttons | boolean | Optional | Show allowDelivery, emptyBox, lockBox | true |
An iParcelBox Premium subscription is required to connect your iParcelBox device to Home Assistant. More details can be found at https://www.iparcelbox.com/faqs/#premium
- Download
iparcelbox-card.js
andiparcelbox-card.png
from the [latest release][releases] and move these files to a newconfig/www/community/iparcelbox-card
folder. - Ensure you have advanced mode enabled (accessible via your username in the bottom left corner)
- Go to Configuration -> Lovelace Dashboards -> Resources.
- Add
/local/community/iparcelbox-card/iparcelbox-card.js
with type JS module. - Refresh the page? Or restart Home Assistant? The card should eventually be there.
If you want to contribute to this please read the Contribution guidelines