Author

Topic: Bitcoin Switch: Turn things on with Bitcoin (Read 479 times)

donator
Activity: 4760
Merit: 4323
Leading Crypto Sports Betting & Casino Platform
November 12, 2022, 12:46:39 AM
#21
This project has a huge potential, it could be implemented for streamers to let the viewers change the color lights or change the background song on the stream or do some other crazy stuff to let the viewers interact with the viewers.

Another implementation that would be nice is for gambling, can you imagine a coin pusher working this way and paying the profit to the bettors, that would be something nice to see, and it could be create with this software.

Thanks for sharing it, i will look at the source code.

Ya, I like those ideas. The amount of things this could enable is endless. I hope that this leads to simple devices someday for the technical illiterate. I myself could surely find some sort of use for this. Perhaps when lightning is more popular I’ll play around with some nifty implementations myself. It seems like it could lead to a lot of fun and new ways to interact over the internet.
legendary
Activity: 3346
Merit: 3130
November 06, 2022, 01:20:20 PM
#20
This project has a huge potential, it could be implemented for streamers to let the viewers change the color lights or change the background song on the stream or do some other crazy stuff to let the viewers interact with the viewers.

Another implementation that would be nice is for gambling, can you imagine a coin pusher working this way and paying the profit to the bettors, that would be something nice to see, and it could be create with this software.

Thanks for sharing it, i will look at the source code.
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
November 03, 2022, 12:25:27 PM
#19
@LoyceV

I just used Github to sign into Stacker News. That way I can just log into the wallet later I ever want to withdraw data. Though [actual] work has taken its toll on me and it's been a while since I last browsed that site...
legendary
Activity: 3500
Merit: 6320
Crypto Swap Exchange
November 03, 2022, 08:38:32 AM
#18
Those are both custodial, right? I almost forgot I'm okay with that for small amounts.

If you don't mind custodial then https://www.walletofsatoshi.com/ is probably one of the most popular ones. For the lightningaddress you can only have an @walletofsatoshi.com email that they auto generate but it is what it is. Also, they have a map in the wallet that lets you find nearby places that accept BTC and BATMs.

I think we are drifting a lot from the OT, so someone should probably start a new thread if we want to keep talking about lightningaddress.

-Dave

hero member
Activity: 1008
Merit: 960
November 03, 2022, 06:48:10 AM
#17
~snip~
Those are both custodial, right? I almost forgot I'm okay with that for small amounts.
Both are custodial by default, yes. With alby you can connect to your own node, and I think that's also planned with Stacker News in the near future.

I don't like that it wants me to install a browser plugin:
It's not needed, it's just a better experience but I don't have it installed and everything works just fine.

https://stacker.news
First impression: That's better, .onion available!
On second thought: after entering my email address:
It works after I try again, but it's a weird system: it doesn't let me create a password, I have to click a link in my email every time to login. And the link brings me to the non-onion site again. Even if I manually edit the link, it doesn't allow me to login on the .onion domain. Also, the login link expires after each click, so I have to copy/paste my email address to get a new link each time. Not a very convenient website, unfortunately.
I haven't used the onion service, but personally it just works great, it logins once from email and then you're always logged in. You could try use a lightning wallet for login, no need for email. Have a look here for wallets: https://stacker.news/items/88811
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
November 03, 2022, 06:25:15 AM
#16
Just in case someone wants to have some ready to use lightning addresses
Those are both custodial, right? I almost forgot I'm okay with that for small amounts.

https://stacker.news
This is a news website that uses sats as the native upvoting system. When you create an account you end up with a working lightning wallet and a lightning address like this: [email protected]
First impression: That's better, .onion available!
On second thought: after entering my email address:
Error

stacker.news
It works after I try again, but it's a weird system: it doesn't let me create a password, I have to click a link in my email every time to login. And the link brings me to the non-onion site again. Even if I manually edit the link, it doesn't allow me to login on the .onion domain. Also, the login link expires after each click, so I have to copy/paste my email address to get a new link each time. Not a very convenient website, unfortunately.
hero member
Activity: 1008
Merit: 960
November 02, 2022, 05:14:39 PM
#15
Just in case someone wants to have some ready to use lightning addresses, here are two services that work great for this:

https://getalby.com
This is a website dedicated to help creators get paid in sats through their content. They have a plugin that makes payment in websites extremely easy. You end up with a lightning address like this: [email protected]

https://stacker.news
This is a news website that uses sats as the native upvoting system. When you create an account you end up with a working lightning wallet and a lightning address like this: [email protected]

You can use those wallets and lightning addresses in other services of course, and it all works like a charm.

If you only want one, I would go with stacker news since it's actually a great website anyway.
legendary
Activity: 3500
Merit: 6320
Crypto Swap Exchange
November 02, 2022, 01:52:03 PM
#14
https://lightningaddress.com/
You can actually send me money just by sending to [email protected] from a service that supports it.
I'm happily surprised Phoenix Wallet supports this! I would have sent you a few sats, but my wallet is currently empty.
How does this work though? Do funds go to your Bitrefill account?

Yes, it just goes into my bitrefill balance.

And, as I said before and since I admit I didn't think it through when I 1st tested and gave it out, If you are going to do this yourself instead of using a hosted service you really should create a new / vanity email instead of using one that you use as your normal email. Otherwise you do wind up with even more spam / junk then normal coming in.

-Dave

legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
November 02, 2022, 07:35:31 AM
#13
https://lightningaddress.com/
You can actually send me money just by sending to [email protected] from a service that supports it.
I'm happily surprised Phoenix Wallet supports this! I would have sent you a few sats, but my wallet is currently empty.
How does this work though? Do funds go to your Bitrefill account?

Quote
I also have one that is running on my own node but since it's tied to a personal email I don't want to put it out here since I get enough spam / junk as it is :-)
Is the link between the email address and your server custodial? In other words: is there someone who can change where funds go by changing where your email address sends the funds?
I found it, it looks like it's doesn't need any third parties:


Quote
Don't know how many people are actually using it or want to use it but it does work.
I haven't used LN for a while, but this looks good.
legendary
Activity: 3500
Merit: 6320
Crypto Swap Exchange
November 02, 2022, 06:36:03 AM
#12
For example, you could have a lightning address such as [email protected]
Did I miss a LN-update that allows to send funds to an email address instead of an invoice?

https://lightningaddress.com/

Don't know how many people are actually using it or want to use it but it does work.

You can actually send me money just by sending to [email protected] from a service that supports it.
I also have one that is running on my own node but since it's tied to a personal email I don't want to put it out here since I get enough spam / junk as it is :-)

Since I have been giving both email address out I have gotten, do some math...carry the 1....yeah 1 payment that way. (not including my tests)

-Dave
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
November 02, 2022, 06:21:56 AM
#11
I would still prefer the sat selection idea for that use case.

Send 1001 sats for chocolate bar.

Send 2103 sats for soda can.
I think this is terrible Tongue Not only does the number of sats fluctuate when Bitcoin goes up and down, you'll also need to show the price for each individual item. And if you show the price anyway, why not give each item their own QR-code to pay to? Then the QR code selects the item, instead of the paid amount.

For example, you could have a lightning address such as [email protected]
Did I miss a LN-update that allows to send funds to an email address instead of an invoice?
hero member
Activity: 1008
Merit: 960
November 01, 2022, 05:06:26 PM
#10
~snip~
Kudos for suggesting that. I was thinking maybe we could slap a Raspberry Pi controller inside a vending machine skeleton, that is connected to a small pixel screen that displays QR codes and also to an NFC scanner, the point being so that users can scan a Lightning invoice once they press a button for their snack which they can pay with any wallet - including their apps, and they get their snack.

It would be completely theft-proof as there are no private keys in the vending machines, just the snacks (and the machine itself, but you could just put a Kensington lock and bullet-proof glass on it to deter theft).

I'm going off a tangent but perhaps there could be a way for it to scan Cash App/Venmo/... invoices as well.

I would still prefer the sat selection idea for that use case.

Send 1001 sats for chocolate bar.

Send 2103 sats for soda can.

Etc...

And having a lightning address makes this extremely simple. Just sent X amount to Y address.

That way you only need to interact once, just sending the money also selects the item you want.
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
November 01, 2022, 12:36:52 PM
#9
First, it can replace basically all the current vending machines that require cash or credit cards.

Kudos for suggesting that. I was thinking maybe we could slap a Raspberry Pi controller inside a vending machine skeleton, that is connected to a small pixel screen that displays QR codes and also to an NFC scanner, the point being so that users can scan a Lightning invoice once they press a button for their snack which they can pay with any wallet - including their apps, and they get their snack.

It would be completely theft-proof as there are no private keys in the vending machines, just the snacks (and the machine itself, but you could just put a Kensington lock and bullet-proof glass on it to deter theft).

I'm going off a tangent but perhaps there could be a way for it to scan Cash App/Venmo/... invoices as well.
hero member
Activity: 1008
Merit: 960
November 01, 2022, 01:52:32 AM
#8
This can actually open up a whole new industry, if you can implement this successfully. The "Pay per use" concept can work well, in a student village for example, where people can charge students to use their appliances. (Microwave)

You can also implement this in a Guesthouse to charge people to use the Jacuzzi or the vibrating bed for instance... so it is a very cool idea.  Wink  The question remains..... Is the LN matured enough to get enough business to pay for this.  Roll Eyes

I think this has a huge potential.

First, it can replace basically all the current vending machines that require cash or credit cards.

But it can also create new types of interactions in which you pay wirelessly with sats and you see/get the effect in the real world.

For example, you could have a lightning address such as [email protected] and the amount of sats you send there select the song, say 101 sats for song 1, 104 sats for song 4, etc.
legendary
Activity: 3542
Merit: 1965
Leading Crypto Sports Betting & Casino Platform
November 01, 2022, 01:31:42 AM
#7
This can actually open up a whole new industry, if you can implement this successfully. The "Pay per use" concept can work well, in a student village for example, where people can charge students to use their appliances. (Microwave)

You can also implement this in a Guesthouse to charge people to use the Jacuzzi or the vibrating bed for instance... so it is a very cool idea.  Wink  The question remains..... Is the LN matured enough to get enough business to pay for this.  Roll Eyes
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
October 10, 2022, 10:24:58 AM
#6
C'mon man... just pull off the lamp electric plug from wall socket  Grin
Then you can't use your LN-switch.
legendary
Activity: 2212
Merit: 7064
October 10, 2022, 10:14:44 AM
#5
Here's an interesting project I found that makes it easy to accept bitcoin through lightning on any ESP32 microcontroller.
Cool stuff and I know about this guy Ben Arc from LNbits very well, he made a bunch of Bitcoin related things based on cheap ESP32 devices.
He made hardware wallet signing device Bowser I wrote before, and I also wrote about his LNURLPoS device that is using Lightning Network, and about his cheap offline ATM machine.
He is going to be a speaker in upcoming El Salvador Adoption conference, so that is worth checking out.

One drawback is the energy consumption. Paying your own lamp per hour is fun, but paying for the lamp to be off sucks.
C'mon man... just pull off the lamp electric plug from wall socket  Grin
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
October 10, 2022, 08:45:26 AM
#4
I think some people here would be interested in playing around with something like this, so wanted to share.
It reminds me of the Scrooge McDuck comic in which there's a payment machine for everything. This is so cool! I see so many possibilities to annoy the kids: watch TV? 5 sats! Charge your tablet? 5 sats! Allowance? In sats Cheesy

Nice find. I thought it will allow my smart lamp to accept Bitcoin, but it looks like it requires a specific microcontroller so any led/smart device is not going to cut it.
Turn on your light: 5 sats Cheesy

It's an interesting / fun idea but with the abundance of smart home products out there and the fact that you are dealing with 'real' voltages I would not want to do it with an off the shelf controller.
With a decent quality relay, I wouldn't worry about switching 230V, but it does need more precautions. Especially the housing should be safe.
legendary
Activity: 3500
Merit: 6320
Crypto Swap Exchange
October 10, 2022, 06:50:01 AM
#3
There are a lot of smart home devices that have public APIs. the TP-Link Kasa is one that I know of. Although you would now be relying on their service to take care of the on & off or whatever other control you want building a front end to deal with the lightning payments should not be that hard.

It's an interesting / fun idea but with the abundance of smart home products out there and the fact that you are dealing with 'real' voltages I would not want to do it with an off the shelf controller.

-Dave
legendary
Activity: 2170
Merit: 1789
October 10, 2022, 06:43:13 AM
#2
Nice find. I thought it will allow my smart lamp to accept Bitcoin, but it looks like it requires a specific microcontroller so any led/smart device is not going to cut it. The microcontroller itself looks cheap though, just $5 in my local market, half the price of most smart lamps in the market. The problem is probably preparing the device itself.
hero member
Activity: 1008
Merit: 960
October 09, 2022, 08:45:25 PM
#1
Here's an interesting project I found that makes it easy to accept bitcoin through lightning on any ESP32 microcontroller.

https://github.com/lnbits/bitcoinSwitch

That means you can accept sats with any kind of device:



The setup is pretty simple:



"ToTheMoon" is of course the default password  Grin

I think some people here would be interested in playing around with something like this, so wanted to share.

Here's a video of it in action: https://www.youtube.com/watch?v=FeoIwTjv3YM
Jump to: