ljmerza / ha-email-sensor

Email Sensor for collecting tracking numbers from over 40 providers.
MIT License
88 stars 23 forks source link

Config Check Email Sensor error #11

Closed CMaxim77 closed 1 year ago

CMaxim77 commented 5 years ago

Hello, I installed this using HACS but I can’t set the sensors because HA says it can’t find platform email. I did install the extras via terminal as suggested in the repo. Is there Anything anybody knows what I could try?

Stephan296 commented 5 years ago

I have got the same problem.

CMaxim77 commented 5 years ago

Platform email not found.

Have you figured out how to get this to work @Stephan296?

ljmerza commented 5 years ago

where did you put files/folder in the email folder in this repo?

Stephan296 commented 5 years ago

i put the files and folder in /custom_components/email. Like anyother custom component.

CMaxim77 commented 5 years ago

I installed using HACS, but my files are in the same folder as Stephan’s

CMaxim77 commented 5 years ago

Is there any suggestions that might be causing the email platform to not be found? Im running hassio docker.

I did install

pip install beautifulsoup4==4.7.1 imapclient==2.1.0 mail-parser==3.9.3, but i had to change pip to pip3 for it to install.

CMaxim77 commented 5 years ago

I forced reset and the sensors now appear, no information yet so I’m not sure if they are working or not but it’s a good start!

ljmerza commented 5 years ago

do you see any logs about timing out? If the folder you specificed (indox by default) is too big then it takes a while to load and HA doesn't like that and just moves on.

ljmerza commented 5 years ago

Is this still an issue?

razzam21 commented 5 years ago

I am not experiencing the issue.

--Eric Turner

On Mon, Sep 2, 2019 at 7:21 PM Leonardo Merza notifications@github.com wrote:

Is this still an issue?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ljmerza/ha-email-sensor/issues/11?email_source=notifications&email_token=AALGBUMO77ADRQUACHLARTTQHW3X5A5CNFSM4IG7LDW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5WXZYI#issuecomment-527269089, or mute the thread https://github.com/notifications/unsubscribe-auth/AALGBUNPZCRPTM7NW4JJZLLQHW3X5ANCNFSM4IG7LDWQ .

carlostico commented 5 years ago

With the latest update 0.99

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 261, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 441, in async_device_update
    await self.hass.async_add_executor_job(self.update)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/email/sensor.py", line 131, in update
    dict.fromkeys(self._attr[ATTR_TRACKING_NUMBERS][ATTR]))
KeyError: 'ups'
ljmerza commented 5 years ago

try in v2.0.1

ljmerza commented 4 years ago

is this still an issue?

CMaxim77 commented 4 years ago

I never got this to work properly, unfortunately. I did get a sensor to show up after force restarting HA but it never found any tracking numbers. I might eventually give it another go. But feel free to close this issue if you would like too! I do as always appreciate all of your and other devs work on this community! I would have given up by now if it wasn’t for all the help you all provide!

FaserF commented 3 years ago

Just installed it with hacs.

Platform error sensor.email - No module named 'custom_components.email.parsers.home_depot'
Platform error sensor.email - cannot import name 'CONF_SSL' from 'custom_components.email.const' (/config/custom_components/email/const.py)
ljmerza commented 3 years ago

fixed in 2.13.1