Skip to content

Migrate the mobile_app to the notify platform #71

@jlpouffier

Description

@jlpouffier

Problem statement

The mobile_app integration handles communication with our companion app.
It's the most widely used notification platform and should be a first-class citizen for notification handling, as native notifications are among the most valuable features the companion apps offer.

Sending notifications is very hard for numerous reasons.
Eventually, we want to make notifying someone simple: #14.

Today, it is not possible to notify a person; you need to notify a device/entity.

To allow this easy link between a person and notification-capable devices (your phone, your tablet, your LaMetric clock) in the future, we first need to ensure that the mobile_app integration supports the relatively new notify platform.

Today, the mobile_app integration creates one action for each device, such as notify.mobile_app_jean_loics_iphone.

The goal of the technical enabler would be to migrate this action to a notify entity linked to the mobile_app device.
Notifying the device would then be done via the generic notify.send_message

Once this is done, we will be able to add a link between person and the notify entity, just as we add a link between person and the device_tracker to geolocate you.

Scope & Boundaries

In scope

  • The mobile_app integration exposes a notifty entity for each device

Not in scope

Foreseen solution

No response

Community signals

No response

Risks & open questions

How to deal with all the advanced notification features the mobile app allows today?

Appetite

No response

Execution issues

No response

Decision log

Date Decision Outcome

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Shaping

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions