joBr99 / nspanel-lovelace-ui

Custom Firmware for NsPanel with the design of HomeAssistant's lovelace UI in mind, works with Tasmota.
GNU General Public License v3.0
877 stars 190 forks source link

[Feature Request] - Second QR Code for URL Links #303

Closed diginfo closed 2 years ago

diginfo commented 2 years ago

FEATURE DESCRIPTION

Add a second QR Code for url link

ADDITIONAL CONTEXT

I realise that memory is limited and that QR codes are a memory behemoth, but It would be really helpful to be able to display a QR Code with a url link in a card to a web page.

I am preparing my house for AirBNB and the ability to have QRcodes on the panel where the guest could access more information, to me would be invaluable.

PANEL / FIRMWARE VERION

EU

joBr99 commented 2 years ago

What do you mean? You don't have to display an wifi qr code on that page you can use it for any qr code

diginfo commented 2 years ago

Oh, I thought it was hard-coded to setup wifi ?

diginfo commented 2 years ago

OK, great what's the syntax for this to display a web page ?

"WIFI:S:guest@home;T:WPA;P:guest1234;;"
diginfo commented 2 years ago

I just found this: https://en.wikipedia.org/wiki/MeCard_(QR_code)

so I am guessing that this should work:

"URL:https://www.johndoe.com/"
diginfo commented 2 years ago

Yes it works - excellent

:-)

Maybe you can add this to the documentation page ?

joBr99 commented 2 years ago

I guess you don't even need the URL: The variable just contains the text for the QR-Code. I guess it's enough to prefix it with https:// for qrcode readers to recognize it as url.

diginfo commented 2 years ago

Great, this is really neat feature, I thought it was hard-coded to WIFI, solves several problems for me.

I can allow guests to access web pages without them manually having to enter them as a url.

Nice.