I have an LNbits instance connected to a node. I'd like to monitor LNbits wallets or the node itself and get notified automatically if I get a payment.
I tried using BlueWallet and connect it via LNDhub extension. It connects fine. I enable push notifications in BlueWallet and also make sure my phone allows them for the app. Then I send a payment to the LNbits wallet, BlueWallet registers it, but no notification received.
Another way I was thinking about this is to Scrub the wallet into Wallet of Satoshi and this works nicely, but of course, I'd rather just keep everything on my side and not somewhere else. So this is an extra step that should not be needed.
Sentinel won't work with LN (or at least it does not seem to). Zeus and Zap don't seem to have any notifications.
I am not set on getting notified only from LNbits. It could be in general if I receive a payment to my node, I get notified (that is enough).
Thank you for pointing me into the right directon.
Maybe someone has made a thing that lets you send out an event on nostr :D
I know how to write subscribers with the LND API, it's pretty simple gRPC/protobuf programming. Then you just need your contact method. Could even be an email send, that would be better as you could use gnupg to encrypt it to you.
yeah, I know, probably means dicing with some gmail/protonmail API token and such for authing to send through it... to yourself... haha.
Should be something reasonably easy to find to do push notifications on an android app. A chat bot could also be connected up to this sort of thing as a way to get the message push-style without teh complications of push protocols on mobiles, plus you see them on desktop/laptop.
reply
LN Tips on Telegram does that.
Alby will email you max once an hour when you receive sats.
reply
In terms of alby, isn't this only for the nativealby account though?
reply
Nope! If you connect your node directly to your Alby account (not the extension) you still get the notifications plus your Alby lightning address routes to your own node too.
reply
nice one. Did not know that. I just have the extension connected.
reply
I will give one small warning which is that your existing Alby wallet won't be accessible on the website after you do this. It will come back if you remove your node, and it still works on any lightning wallet you connected it to, but best make sure it's connected to your extension, Zeus if you wanna use it on mobile, etc first. Or just transfer the balance to your node before you make the switch.
reply
Use Balance of Satoshi Telegram bot. its the goat! install BoS then create the telegram bot. My phone is always buzzing from payments.
You can use Alex's github. i consolidated it a bit for a simple install here https://github.com/jtymoszczuk/neutrino-guide#optional-balance-of-satoshi
reply
LNBits supports webhooks for LN invoices: As soon a payment is successfully completed, LNBits jumps to the defined webhook URL and submits the payment details to the endpoint. It would be possible to have a service that accepts this data and sends a notification. There is a howto but German (translated) that I saw recently.
reply
Will have to look into that. Thanks. I was also thinking that since most of the stuff in LNbits is in sqlite, perhaps having some cron to check on certain file changes. (not the best solution, but it would probably do the job)
reply
I may add that it is possible to make no-code web hook with make.com account.
You just provide hook from make and set up workflow with all triggers and actions you need.
reply
I chose to create a solution myself using the LNbits API and Telegram bot Perhaps it is useful to someone: https://github.com/swmtr/LNbits-payment-notifications-to-telegram
reply
use bos (balanceofsatoshis) by alex bosworth and connect it to LND. I get thousands of notifications on telegram.
reply
Just to add to that - with the LNBits/Nostr marketplaces - having a notification about an order is quite crucial for a merchant.
reply
I think you better use Zeus for that. Have better ways to get notifications and also I think you could set on Android that the app can push notifications (aka persistent mode).
reply
Have you ever received a notification from Zeus? I have been using Zeus for a long time and have never received a notification. Never.
reply
Me neither
reply
I do have Zeus connected to my node, but have not received any notifications at any point.
Muun and WoS send push notifications, but of course, they are not relevant here.
reply