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 support for XMPP notifications #449

Open
gdt opened this issue Jul 21, 2021 · 3 comments
Open

Add support for XMPP notifications #449

gdt opened this issue Jul 21, 2021 · 3 comments

Comments

@gdt
Copy link

gdt commented Jul 21, 2021

Currently notifications are only via Signal and this has multiple issues: Signal needs to have a primary phone-type mobile device, Signal needs a phone number to register, Signal is a singleton non-federated service, and there is no clear path to connecting notifications delivered via Signal into other machine-processable systems (e.g. to become states in Home Assistant).

This issue is a feature request to send notifications via XMPP, a relatively simple federated and therefore self-hostable protocol described by open standards with multiple independent interoperable implementation.

The implementation should support

  • configured JID and password, and the usual server discovery via SRV
  • TLS connection (and arguably TLS only)
  • a JID to transmit alert messages to
  • queuing of messages locally and retrying the server connection (while it's true that if the device isn't online during an intrusion, some of the value is lost, that's not an argument against robust networking)
  • optional heartbeat messages at a configurable interval, to an alternate JID, so that one can get alerts (from that receiver) on connection failure). Or perhaps this should use XMPP keepalives so that "haven device is connected with presence" is an indicator that it is working and connected. The real requrement is to be able to tell (and get alerts) when the haven device has been offline for a while.
@gdt
Copy link
Author

gdt commented Jul 21, 2021

Further, OMEMO would be nice, even if it is entirely TOFU.

@gdt
Copy link
Author

gdt commented Jul 21, 2021

This is related to #370, which is more than notifications and might not be XMPP.

@zarmaali
Copy link

720x1280.png

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

No branches or pull requests

2 participants