moralmunky / Home-Assistant-Mail-And-Packages

Home Assistant integration providing day of package counts and USPS informed delivery images.
MIT License
630 stars 78 forks source link

ISSUE: 0 packages for amazon.fr #865

Closed Seidel76 closed 11 months ago

Seidel76 commented 11 months ago

Describe the bug There is no package found even though there is a package sent...

Environment (please complete the following information):

Logs

2023-11-17 22:59:53.253 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] email_search value: ('OK', [b'3 4']) 2023-11-17 22:59:53.254 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon emails found: 2 2023-11-17 22:59:53.346 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Email Multipart: True 2023-11-17 22:59:53.346 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Content Type: multipart/alternative 2023-11-17 22:59:53.346 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon Subject: Votre commande Amazon.fr de « SwitchBot Panneau Solaire... » a été expédiée. 2023-11-17 22:59:53.347 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Looking for: will arrive: 2023-11-17 22:59:53.347 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Looking for: estimated delivery date is: 2023-11-17 22:59:53.347 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Looking for: guaranteed delivery date is: 2023-11-17 22:59:53.347 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Looking for: Arriving: 2023-11-17 22:59:53.347 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Looking for: Arriverà: 2023-11-17 22:59:53.347 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Looking for: arriving: 2023-11-17 22:59:53.347 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Looking for: Dostawa: 2023-11-17 22:59:53.347 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Looking for: Zustellung: 2023-11-17 22:59:53.347 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Looking for: Entrega: 2023-11-17 22:59:53.347 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Looking for: A chegar: 2023-11-17 22:59:53.347 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Looking for: Arrivée : 2023-11-17 22:59:53.407 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Email Multipart: True 2023-11-17 22:59:53.407 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Content Type: multipart/alternative 2023-11-17 22:59:53.407 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon Subject: Votre commande Amazon.fr de « Hutchinson - Courroie de... » a été expédiée. 2023-11-17 22:59:53.409 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Looking for: will arrive: 2023-11-17 22:59:53.409 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Looking for: estimated delivery date is: 2023-11-17 22:59:53.409 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Looking for: guaranteed delivery date is: 2023-11-17 22:59:53.409 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Looking for: Arriving: 2023-11-17 22:59:53.409 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Looking for: Arriverà: 2023-11-17 22:59:53.409 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Looking for: arriving: 2023-11-17 22:59:53.409 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Looking for: Dostawa: 2023-11-17 22:59:53.409 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Looking for: Zustellung: 2023-11-17 22:59:53.409 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Looking for: Entrega: 2023-11-17 22:59:53.409 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Looking for: A chegar: 2023-11-17 22:59:53.409 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Looking for: Arrivée : 2023-11-17 22:59:53.409 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon email search address: ['shipment-tracking@amazon.ae', 'conferma-spedizione@amazon.ae', 'confirmar-envio@amazon.ae', 'versandbestaetigung@amazon.ae', 'confirmation-commande@amazon.ae'] 2023-11-17 22:59:53.409 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG subject: None 2023-11-17 22:59:53.409 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR OR OR OR FROM "shipment-tracking@amazon.ae" FROM "conferma-spedizione@amazon.ae" FROM "confirmar-envio@amazon.ae" FROM "versandbestaetigung@amazon.ae" FROM "confirmation-commande@amazon.ae" SINCE 14-Nov-2023) 2023-11-17 22:59:53.438 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] email_search value: ('OK', [b'']) 2023-11-17 22:59:53.438 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon emails found: 0 2023-11-17 22:59:53.438 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon email search address: ledies@live.fr 2023-11-17 22:59:53.438 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG subject: None 2023-11-17 22:59:53.438 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (FROM "ledies@live.fr" SINCE 14-Nov-2023) 2023-11-17 22:59:53.465 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] email_search value: ('OK', [b'']) 2023-11-17 22:59:53.465 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon emails found: 0 2023-11-17 22:59:53.466 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Amazon order: ['171-6979511-9897907', '171-9968230-6783546'] 2023-11-17 22:59:53.466 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Sensor: amazon_packages Count: 0 2023-11-17 22:59:53.466 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Sensor: mail_updated Count: 2023-11-17 21:59:53.466339+00:00 2023-11-17 22:59:53.466 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Sensor: zpackages_delivered Count: 0 2023-11-17 22:59:53.466 DEBUG (SyncWorker_1) [custom_components.mail_and_packages.helpers] Sensor: zpackages_transit Count: 0 2023-11-17 22:59:53.468 DEBUG (MainThread) [custom_components.mail_and_packages] Finished fetching Mail and Packages (outlook.office365.com) data in 4.490 seconds (success: True) 2023-11-17 22:59:53.468 DEBUG (MainThread) [custom_components.mail_and_packages.binary_sensor] USPS Check: True 2023-11-17 22:59:53.470 DEBUG (MainThread) [custom_components.mail_and_packages.binary_sensor] USPS Image hash: a0f0065114d47d9e9e24b938f6461ecdb5166368 2023-11-17 22:59:53.470 DEBUG (MainThread) [custom_components.mail_and_packages.binary_sensor] USPS None hash: a0f0065114d47d9e9e24b938f6461ecdb5166368 2023-11-17 22:59:53.471 DEBUG (MainThread) [custom_components.mail_and_packages.binary_sensor] Amazon Check: True 2023-11-17 22:59:53.472 DEBUG (MainThread) [custom_components.mail_and_packages.binary_sensor] Amazon Image hash: 0e7c4b3558ab5b356a6aca738ebc0c973846701d 2023-11-17 22:59:53.472 DEBUG (MainThread) [custom_components.mail_and_packages.binary_sensor] Amazon None hash: 0e7c4b3558ab5b356a6aca738ebc0c973846701d 2023-11-17 22:59:53.473 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Updating system image path to: custom_components/mail_and_packages/images/ 2023-11-17 22:59:53.473 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] External URL not set in configuration. 2023-11-17 23:00:09.682 DEBUG (MainThread) [custom_components.mail_and_packages.camera] Camera Update: usps_camera 2023-11-17 23:00:09.682 DEBUG (MainThread) [custom_components.mail_and_packages.camera] Custom No Mail: None 2023-11-17 23:00:09.683 DEBUG (MainThread) [custom_components.mail_and_packages.camera] Camera Update: amazon_camera 2023-11-17 23:00:09.683 DEBUG (MainThread) [custom_components.mail_and_packages.camera] Custom No Mail: None 2023-11-17 23:00:39.683 DEBUG (MainThread) [custom_components.mail_and_packages.camera] Camera Update: usps_camera 2023-11-17 23:00:39.683 DEBUG (MainThread) [custom_components.mail_and_packages.camera] Custom No Mail: None 2023-11-17 23:00:39.687 DEBUG (MainThread) [custom_components.mail_and_packages.camera] Camera Update: amazon_camera 2023-11-17 23:00:39.688 DEBUG (MainThread) [custom_components.mail_and_packages.camera] Custom No Mail: None 2023-11-17 23:01:09.683 DEBUG (MainThread) [custom_components.mail_and_packages.camera] Camera Update: usps_camera 2023-11-17 23:01:09.684 DEBUG (MainThread) [custom_components.mail_and_packages.camera] Custom No Mail: None 2023-11-17 23:01:09.684 DEBUG (MainThread) [custom_components.mail_and_packages.camera] Camera Update: amazon_camera 2023-11-17 23:01:09.684 DEBUG (MainThread) [custom_components.mail_and_packages.camera] Custom No Mail: None 2023-11-17 23:01:39.684 DEBUG (MainThread) [custom_components.mail_and_packages.camera] Camera Update: usps_camera 2023-11-17 23:01:39.684 DEBUG (MainThread) [custom_components.mail_and_packages.camera] Custom No Mail: None 2023-11-17 23:01:39.685 DEBUG (MainThread) [custom_components.mail_and_packages.camera] Camera Update: amazon_camera 2023-11-17 23:01:39.685 DEBUG (MainThread) [custom_components.mail_and_packages.camera] Custom No Mail: None

Screenshots

Capture d’écran 2023-11-17 à 23 03 11
firstof9 commented 11 months ago

This is going to be an issue as the containers have a weird issue parsing non-english dates for some reason.

github-actions[bot] commented 11 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.