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

Add Home Assistant Notification Support #350

Closed
ivelin opened this issue Feb 1, 2021 · 9 comments
Closed

Add Home Assistant Notification Support #350

ivelin opened this issue Feb 1, 2021 · 9 comments

Comments

@ivelin
Copy link

ivelin commented Feb 1, 2021

💡 The Idea

Home Assistant is a popular smart home system. It's a top 10 github project for 2020.

It allows notifications from IoT devices to a local home hub via REST API or MQTT and sends them to the end user on the Home Assistant mobile app. This allows IoT devices to only communicate locally on the home network without reaching out to cloud services, which is a big privacy topic for smart home devices.

When apprise is used in IoT applications such as ambianic-edge, it is desirable to minimize dependency on cloud services.

@caronc
Copy link
Owner

caronc commented Feb 4, 2021

I use Home Assistant myself for my own home. I love it. But I never quite understood how external notifications would work with it.
I've integrated Apprise already the other way (it's part of HA) and you can send notifications outbound from it.

How would you expect the notifications to work?

@ivelin
Copy link
Author

ivelin commented Feb 4, 2021 via email

@caronc
Copy link
Owner

caronc commented Feb 4, 2021

Done! 👍 🙂 It seems to work in my environment really well, but maybe you wouldn't mind checking out the branch and giving it a go for yourself?

I directly integrated with HA through their REST interface. I do like the idea of adding a mqtt:// URL down the road though!

EDIT: Follow the link to the Pull Request above to see the syntax

@ivelin
Copy link
Author

ivelin commented Feb 4, 2021

Wow, you are fast!! Let me test and report back.

@caronc caronc changed the title Local network notifications via Home Assistant Add Home Assistant Notification Support Feb 5, 2021
@ivelin
Copy link
Author

ivelin commented Feb 5, 2021

@caronc In case you want to track progress of the Ambianic Edge integration with HA through the new apprise feature.
ambianic/ambianic-ui#515

@caronc
Copy link
Owner

caronc commented Feb 14, 2021

I've gone ahead and merged the branch as it's still working great for me. With 100% code coverage, I'm confident others will be able to leverage it without issue. 👍

Thanks again for the great suggestion!

@caronc caronc closed this as completed Feb 14, 2021
@ivelin
Copy link
Author

ivelin commented Feb 14, 2021

Fantastic! Thanks, again @caronc for the great addition! Sorry we are not matching your lightning speed, but we will get there.

@ivelin
Copy link
Author

ivelin commented Feb 14, 2021

I will keep an eye for the official release announcement with this feature so we can make noise on our channels.

@ivelin
Copy link
Author

ivelin commented Feb 14, 2021

Linking to your PR that closes this issue. For some reason, I don't see it in the issue timeline above:
#354

UPDATE: Never mind. I just saw it tucked in the timeline between comments.

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

No branches or pull requests

2 participants