Thanks for the information. I checked that out yesterday but I was not sure it would working in a HASSIO in Proxmox using the command line.
Itās a custom component, works with all versions of Home Assistant installs.
Iāve got everything installed and working except the lovelace card. I have the individual sensors but no lovelace and it breaks the lovelace page when I try to save the custom card. Any ideas where to go? Running Hassio in Docker with an Ubuntu machine.
Many hours later and a few daysā¦
had not added a camera to the configuration.yaml file (see below)
Also I was using Apple email and could not for the life of me figure out why it wouldnāt work and I switched to Google email and an app specific password and no issues. If anyone can get an apple IMAP email and app specific password to function Iād love to learn how.
camera:
platform: mail_and_packages
markpuls: Can you quickly write up the changes you did? I just switched to hassio and I have the same behavior. Adding the camera does not help.
Edit: I think I got it. It look reading a lot of threads to know you need to do the setup via the integrations menu in configuration
I followed Adrianās YouTube channel/video @ https://www.youtube.com/watch?v=-sVwEco28zc
And he broke it down very nicely in steps and the only area that got me was not adding the camera integration to the configuration.yaml file. I was similar to his install being a Hassio in docker. I gave up on iCloud email address and changed everything gmail and had no problems.
Sure wish this was a supported integration with login capability- need USPS and all to have an API some day to help with that!
Finally! mystery solved- I got the GIF to work. hen adding the integration from the āconfigurationā left menu bar, then selecting āintegrationsā and selecting the āmail and packagesā integration, you probably copied and pasted the if using in docker path wrong. You must include the / forward slash at the end of the path: /config/www/mail_and_packages/ DO NOT /config/www/mail_and_packages without a foward slash at the end. As soon as I did that it worked- total rookie mistake I made and haunted me for days and hours of research!
@moralmunky I got this new version setup from your redesign (https://github.com/moralmunky/Home-Assistant-Mail-And-Packages) version. Question I have is there a way to add title icons on the cards you show in the instructions? Is there a place under Lovelace section here that shows more ways to create the cards? Looking for some other ideas on lovelace cards. I would love to add the delivery companies logos next to theirs names using the FontAwesome Icons they have but only the enitry card allows you to add icons for titles no luck with other cards.
@moralmunky is working on a new custom lovelace card.
Keep your eyes on this thread for itās release.
@gdreelin Released a new mail and packages love lace card a few days ago. I used the custom weather card as a base and built it up from there.
Thank you so much that is great!!
Could somebody help me get past this point.
Iām currently running hassio version 0.106.1
I added the component using HACS, Set the sensors and automation as per the github page. And also setup the Lovelace view.
I just canāt figure out how to properly config this part.
What are we supposed to put as host?
I get emails daily for usps on a icloud account and a gmail account. (both send the same information and images)
I assume Username is what I would logon as on the web site as well as the password I use.
I use hassio so the path is set as. /config/www/mail_and_packages/
any advice you could give?
Host is your imap server, like imap.gmail.com
username is your email username
password is your password: if you use 2factor, you need to make a app password, not your normal password
yes, you got the path correct for hassio
Be sure with hassio to install imagemagick.You can do an apt-add manually, but it will go away when you update. Best to make an automation to install it every restart, if needed:
in automations.yaml:
- id: '1580959847740'
alias: install imagemagick on restart
description: ''
trigger:
- event: start
platform: homeassistant
condition: []
action:
- delay: 0:0:20
- service: shell_command.install_imagemagick
in configuration.yaml
shell_command:
install_imagemagick: "/share/mailandpackages/install_imagemagick.sh"
then put this code in /share/mailandpackages/install_imagemagick.sh
#!/bin/bash
file="/usr/bin/convert"
if [ -f "$file" ]
then
echo "Imagemagik found."
else
echo "Re-Installing Imagemagik:"
apk add --update imagemagick
fi
Thank You, there is zero chance I would have figured that out.
Great explanation and examples. That should be added to the readme.
Imagemaick is no longer used or required for this custom component.
Oh, thanks. I am a version behind. Thanks for the add on.
@moralmunky I got this setup and itās working great. Thanks for sharing it. I had to turn off the notifications, because I was getting 2 notifications every five minutes. I get one notification that just says, Here is the mail with the gif, and the other gives the details of which packages and mail is coming, this repeats every five minutes. Is it possible to tone this down, so it will only go if there is a change?
Are you using the example automation from https://github.com/moralmunky/Home-Assistant-Mail-And-Packages/blob/bb07d8c8b5472b40aeb151e048a2c59d3d7a144d/README.md?
It should only be firing when there is a change in the number for the sensors in the trigger section. Can you share what you have for the notifications?
I think the attributes of the sensor getting updated triggers it somehow. Might be a bug in HA, might be by design Iām not sure yet.