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

Support for LunaSea #1070

Closed
posixx opened this issue Feb 25, 2024 · 5 comments
Closed

Support for LunaSea #1070

posixx opened this issue Feb 25, 2024 · 5 comments

Comments

@posixx
Copy link

posixx commented Feb 25, 2024

📢 What is the name of the service?

LunaSea support for receiving notifications

🔗 Provide some details about the service that can help with it's development.

  • Homepage:
  • API Reference:

https://docs.lunasea.app/lunasea/notifications/custom-notifications

💡 Anything else?

@littlegraycells
Copy link

Came here looking for LunaSea as well.

Piggybacking on this, it would be great to see a more generic webhook notification support.

@caronc caronc mentioned this issue Mar 3, 2024
8 tasks
@caronc
Copy link
Owner

caronc commented Mar 3, 2024

LunaSea support started, but a bit confused on

  1. how the (FireBase) DeviceID and UserIDs are acquired for use/reference.
  2. I'm also not quite sure if I understand why the ID's need to be in both the Payload and URL (is this intended) as documented here?
    image
  3. what are the message body and title length restrictions?
  4. Are there any throttle limits at all?
  5. Is it safe to assume both the Cloud based solution (on https://lunasea.app) and a locally hosted one use just basic auth to authenticate with. I can see that a local solution doesn't have a login, so notifications through it can also be sent directly?

@posixx
Copy link
Author

posixx commented Mar 4, 2024

  1. The deviceid and/or userid are acquired using the LunaSea application on your device, under settings —> notifications. In order to copy a userid url you need to have a LunaSea cloud login.
  2. I don’t think the deviceid needs to be in the body, only the base url will do
  3. I don’t know..
  4. Again, no idea
  5. Both don’t need authentication as far as I can tell; if you have the required base url you can send notifications

@caronc
Copy link
Owner

caronc commented Mar 8, 2024

I'm done, if you could please click the link and follow the examples, you could verify if it works okay for me.

@caronc
Copy link
Owner

caronc commented Mar 9, 2024

I was able to test this out; closing out ticket as complete 🚀

@caronc caronc closed this as completed Mar 9, 2024
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

3 participants