Last Updated:

Enhance Package Monitoring with AfterShip Sensor

S.C.O.R.E.ConvenienceDeviceControl

Overview

The AfterShip sensor allows homeowners to track their incoming packages seamlessly, providing real-time updates on delivery status. This capability enhances convenience by notifying users immediately when a package arrives, reducing the uncertainty associated with deliveries.

Convenience icon

Benefits

  • Receive instant notifications for package arrivals, keeping homeowners informed.
  • Reduce the risk of missed deliveries with timely updates.
  • Improve home security by being aware of package status and location.

Intent

The purpose of integrating the AfterShip sensor is to automate package tracking and notifications within the home. This results in a more informed and secure living environment, allowing users to stay updated on their deliveries effortlessly.

Preconditions

  • Home Assistant installed and configured.
  • AfterShip account for package tracking.
  • ESPHome integration to connect the sensor.
  • Integration available and authenticated: Zigbee2MQTT.
  • Device installed and reachable: Energy Monitoring.

Actors

  • Homeowner monitoring package deliveries
  • Family members receiving notifications
  • Guests inquiring about package arrivals

Trigger

The capability is triggered when the AfterShip sensor detects a change in package status, such as ‘delivered’ or ‘in transit.’

Workflow Diagram

flowchart TD
    A[Package Status Change] -->|check status| B{{Is Package Delivered?}}
    B -->|Yes| C[Send Notification to Homeowner]
    C --> D[Update Package Status in Home Assistant]
    B -->|No| E[Wait for Next Status Update]

Workflow Description

1. Monitor Package Status

AfterShip continuously tracks the status of incoming packages using the user’s tracking information.

2. Detect Status Change

When a package status changes (e.g., from ‘in transit’ to ‘delivered’), the sensor captures this event.

3. Send Notification

Upon detecting a delivery, a notification is sent to the homeowner’s preferred communication channel.

4. Update Home Assistant

The package status is updated in Home Assistant, allowing for easy monitoring and management.

5. Log Delivery History

Each delivery is logged, providing a history of package arrivals for future reference.

Postconditions

The homeowner receives an update about the package delivery status, ensuring they are informed and can act accordingly.

Optional Enhancements

  • Integrate with smart doorbell for visual confirmation of package delivery.
  • Setup voice notifications via smart speakers when a package arrives.
  • Create capabilities for lights to flash upon package delivery.

Recommended Components

Recommended ApplicationsRecommended IntegrationsRecommended Devices
Home AssistantZigbee2MQTT, ESPHomeEnergy Monitoring, Temperature Sensors

Source Examples