Smart access to Guest-Wifi

Hello!

Do you also know the question of your guests for the wifi-key? I found a litte but nice solution for sharing access to the guest-wifi of my fritzbox.

After configuring the guest-wifi at the fritz!os i just took a screenshot of the qr-code that includes the accessdata and saved it to the html-folder of openhab.

Then i just added the following lines into my sitemap:

    Frame label="Netzwerk" {
    	Text item=Netzwerk_Details label="Details" icon="line" {
    		Frame label="WLAN-Netzwerke" {
			Switch item=fboxWifi24 label="Wifi 2,4 GHz" icon="network"
			Switch item=fboxWifi50 label="Wifi 5,0 GHz" icon="network"
			Switch item=fboxGuestWifi  label="Gäste-WLAN" icon="network"
			}
			
			Frame label="Zugang Gast-WLAN" visibility=[fboxGuestWifi==ON] {
			Image url="http://192.168.178.11:8080/static/gwlan/qr.png" 
			}

The result:

Hope you enjoy it!

Yours, Alex

1 Like

Hello @e36Alex
is there an option to get the source url of the WLAN QR code picture? I checked the element it with dev tools of my browser, but I did not get any url.

Regards.

Hi,

i am not sure, if i understood your question right. The picture source is saved to /etc/openhab/html/

Hello,
I know where to store the data localy :wink:
I mean if you know, where the location of the qr code on the fitzbox is. The data folder on the filesystem on the fritzbox. At this time I use a picture of the qr code saved on the filesystem of my raspberry. I would rather use the linked picture as destination target of the qr code.

Regards.

oh, know i got what you mean. but i cant help in this case. i saved the qr-codes to my openhab folders and today i dont use the fritzbox anymore.