Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement premium subscription management #1

Open
ivelin opened this issue Feb 9, 2021 · 3 comments
Open

feat: implement premium subscription management #1

ivelin opened this issue Feb 9, 2021 · 3 comments
Assignees

Comments

@ivelin
Copy link
Contributor

ivelin commented Feb 9, 2021

Is your feature request related to a problem? Please describe.
One of the earliest requested features for ambianic was SMS notifications. Over time it has become clear that users expect ambianic to promptly alert them about a detected incident such as a person fallen down.

As it turns out sending alerts via e-mail, SMS or another channel, requires using commercial cloud APIs that take care of spam and ensure that alerts come across without being lost or blocked.

We implemented a notification feature on the edge via apprise. It requires the user to edit config.yaml and provide their credentials for a corresponding cloud API of choice.

We also discussed at length options for free and reliable alerts that do not require cloud APIs and the closest solution we came across was to send alerts to a local Home Assistant Hub ambianic/ambianic-ui#515 . We are pursuing this as a viable approach for DYI users who have Home Assistant at home.

However majority of end users who interact via the UI PWA still ask for a more convenient option. An easy to use, general purpose notification mechanism that can alert family, caregivers, friends or neighbors in case of an high priority incident.

In order to offer this type of general purpose alerting, we would have to charge users a subscription fee that covers underlying infrastructure and cloud API costs. This in turn requires user identity, subscription and billing management.

Describe the solution you'd like
Implement user identity, subscription and billing management based on the Netlify Identity + Stripe blueprint:

Describe alternatives you've considered
There are many user identity and subscription management solutions. We just need to pick one of the good ones and do it.
Apart from being a good hosting brand, Netlify has also been a great supporter of ambianic via their free hosting tier for open source projects. They have been hosting ui.ambianic.ai since the beginning of the project in 2020. It is only natural to choose them as a partner for our premium subscription services.

@vickywane
Copy link
Contributor

@ivelin

I assume this is still subject to further discussions before implementation.

@ivelin ivelin changed the title Implement premium subscription management feat: implement premium subscription management Feb 9, 2021
@ivelin
Copy link
Contributor Author

ivelin commented Feb 9, 2021

Sure. What are your thoughts?

@vickywane
Copy link
Contributor

vickywane commented Feb 9, 2021

I dont have any yet. I would take a careful look at it later.

It's currently 3:30 AM my time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants