I Automated Changing My Guest WiFi Password And You Can Too!!

  Рет қаралды 6,504

Fast How To

Fast How To

Күн бұрын

Пікірлер: 87
@Donhanichak
@Donhanichak Жыл бұрын
I have also been in IT for 20 years. Love the videos. IM just getting in to HA and learning a lot from you. Keep the Videos coming.
@fasthowto
@fasthowto Жыл бұрын
That's awesome! Glad to hear that my content isn't too basic for everyone. I sometimes wonder if I'm boiling things down too much - or in some cases, enough. Lol it's a fine line! I actually just celebrated 25 years! March, 1998 was my first professional IT job. Yikes, I feel old now. Lol thank you for the kind words, and thanks for watching!!
@clevercompiler
@clevercompiler Жыл бұрын
The contest is over but I wanted to say this video was great and I'll be incorporating this in my Airbnb.
@fasthowto
@fasthowto Жыл бұрын
Actually, it's not.. I have to redraw since I never heard from the 500 or 750 winners, so make sure to subscribe if you're not so you don't miss it if you are drawn. Also, there's another draw coming uo, chosen a bit differently - check out a later video for info. Regarding the video - thank you for the kind words, and I'm glad you liked it. Thanks for watching!!!
@branch407nalc7
@branch407nalc7 2 жыл бұрын
I don’t know what 90% of that tech stuff means but I get the big picture. Easy guest access with a protection against unintentional bandwidth bleeding is a brilliant idea. Nicely Done!
@fasthowto
@fasthowto 2 жыл бұрын
Thank you! Not all content on the channel will end up being tech stuff, that's just sort of the streak I'm presently on. If you enjoyed the production & delivery, be sure to subscribe so you don't miss any future videos that may be about topics you are more interested in. :) Thanks for watching!
@johnvbanta
@johnvbanta Жыл бұрын
Nice solution to the “what’s your guest password” scenario. Going to have to try this.
@fasthowto
@fasthowto Жыл бұрын
Thanks! My guests all seem to like it, and it accomplished my security goal. Win/win! Thanks for watching!
@tmc5601
@tmc5601 2 жыл бұрын
Fricken Awesome!!! Well done and walked through. Implemented in less than an hour. Only gotcha I ran into was the Cam entity name, and resolved in a minute. Thanks for the solution, and yes, my guest wifi was terrible.
@fasthowto
@fasthowto 2 жыл бұрын
Thanks!! I'm glad to hear you were able to set it up quickly and easily. Thank you so much for watching!
@samlongnecker7250
@samlongnecker7250 2 жыл бұрын
This is way cool! It took me way longer to realize that the IP Address in the configuration.yaml was suppose to be the IP Address of my Home Assistant instance and of course the SSID name needed to be replaced by in the still_image_url path but once I did that it worked great. I subscribed to your channel, please keep the Home Assistant content coming.
@fasthowto
@fasthowto 2 жыл бұрын
Awesome! Thank you for the kind words, and thanks for watching!
@Lonestar101
@Lonestar101 2 жыл бұрын
Great idea. Thanks for the instructions. How do you handle adding a guest on a laptop or device without a camera to scan QR Code?
@fasthowto
@fasthowto 2 жыл бұрын
That's a wonderful question - and to be honest, I haven't had anyone bring anything to my house other than a cell phone. I'll have to put some thought into that one. Thanks for watching, and if I come up with a solution to your question, I'll be sure to post a video about it!
@crgarciamg
@crgarciamg 2 жыл бұрын
@@fasthowto Maybe you can try generating 3 random words from a BIP39 wordlist, displaying them below the QR code... that has enough entropy (especially when refreshing daily) but is easy enough to type into a laptop.
@fasthowto
@fasthowto 2 жыл бұрын
@@crgarciamg that's a great suggestion. I'll give that some thought - though, to be honest, with all the other projects going on around here (in addition to videos, I'm continually working on my actual, live deployment), I probably won't get to it until the need arises... But that gives me another idea........ We'll see what happens. :) thanks again!
@shawnchristensen6506
@shawnchristensen6506 2 жыл бұрын
Great Idea! I am going to work on doing this for my Wifi Password. Thanks
@fasthowto
@fasthowto 2 жыл бұрын
Thanks! It's super easy, and my guests love it. If we are out on the deck, I just hold up my phone for them to get on the guest wifi. Super convenient. Thanks for watching!
@crgarciamg
@crgarciamg 2 жыл бұрын
Cool idea! Hadn't thought of this before, and auto changing on Unifi is a bonus. My guest wi-fi password as of now is kinda in the middle between embarassing and hard :-).
@fasthowto
@fasthowto 2 жыл бұрын
Thanks! I'm glad you liked the video. Let me know if you have any problems getting it implemented. Thanks for watching!
@TwisTEDinLV
@TwisTEDinLV 2 жыл бұрын
been looking for this. Saw a video on doing this manually (print the qr code out on coasters) but never got it working right. Cant wait to get started with this and HA.
@fasthowto
@fasthowto 2 жыл бұрын
Doing it manually & using coasters or similar is still better than trying to recite a lengthy, random password to guests - but it didn't meet my needs of making sure they were all forcibly disconnected every evening. Hence, this. :) Glad you found the video useful, and thanks for watching!
@josedron5207
@josedron5207 2 жыл бұрын
This is the best free software Ive seen. Respect
@fasthowto
@fasthowto 2 жыл бұрын
Thanks!
@marioprzepiora
@marioprzepiora 2 жыл бұрын
Stupid question: How do you display the QR code for visitors to use? I do have the DMP, but nothing else that I can think of. I do have a few Control4 touchscreens that can display camera feeds, such as traffic cams, etc., so if this magic thing you've developed has an IP to do that, that would be amazing!
@fasthowto
@fasthowto 2 жыл бұрын
The code to display the QR code is in the video and linked in the description. If you're asking about the physical device, it's as seen in the video - a tablet on the wall in my kitchen. Thanks for watching!
@haydenmorgan
@haydenmorgan Жыл бұрын
Like your work man, keep it up man.
@fasthowto
@fasthowto Жыл бұрын
Thank you so much for the kind words, and thanks for watching!!
@vocra1
@vocra1 Жыл бұрын
Nice setup! I'm trying to get it working... Everything went well except when I try to scan the QR code it says QR code not valid, The QR code doesn't contain any info this app can use. Any idea how to fix this?
@fasthowto
@fasthowto Жыл бұрын
Wifi QR codes are a standard format. Something must have gotten changed in the script when you copy/pasted it. If you download a QR code reader app, you can get the raw QR data and that should get you pointed in the right direction. Let me know if you get it sorted, and thanks for watching!
@vocra1
@vocra1 Жыл бұрын
@@fasthowto it's giving me this: WIFI:T:WPA;S:Alex
@vocra1
@vocra1 Жыл бұрын
Found the issue, it didnt like my special caracter in my ssd (&).Working now
@fasthowto
@fasthowto Жыл бұрын
Glad you got it sorted. Enjoy!
@eddegier1922
@eddegier1922 2 жыл бұрын
Great vid! curious if there is a solution with the guest hotspot option in Unifi?
@fasthowto
@fasthowto 2 жыл бұрын
Not sure I understand what you're asking?
@mealiemorris1824
@mealiemorris1824 2 жыл бұрын
So cool. Can’t wait to get a Dream machine
@fasthowto
@fasthowto 2 жыл бұрын
They really are awesome. A bit of a spend for a home network, depending on how much you add to them, but the convenience of being able to manage APs, cameras, doorbells, and everything else from a single console is just so convenient - not to mention the integration between all the objects. One of my favorite things is using the Ubiquiti device trackers to determine if someone is home or not based on whether or not their phone is connected to WiFi. Super helpful for other automations - which I'll get into in future episodes. Thanks for watching!
@PersonXes
@PersonXes Жыл бұрын
I don't have the dream machine but I have the unifi controller. Your video got me to do some research. There's an awesome node red node that allows to work with the unifi API I now have a button that enables/disables the guest WiFi and on my home assistant dashboard I get 2 types of automatically generated vouchers. 8 hour vouchers for occcasional visitors and long term vouchers for extended family etc. If no one is connected to the guest network anymore it will turn itself off after a while.
@fasthowto
@fasthowto Жыл бұрын
Cool! I don't use vouchers, nor do I use the captured portal at all. I just have an ssid named guest. The automated password change just kicks everyone off every night to make sure neighbors don't stay connected accidentally.
@PersonXes
@PersonXes Жыл бұрын
@@fasthowto 'node-red-contrib-unifi' also supports changing the password so your approach could also be done using this technique for those that don't have the dream machine
@fasthowto
@fasthowto Жыл бұрын
@@PersonXes sweet! I'll have to look into that. Maybe I'll make an updated video since that's probably easier than this scripted nonsense. Lol thanks!
@PersonXes
@PersonXes Жыл бұрын
@@fasthowto I posted my approach in the HA Community forums (reacting to an existing topic called "Node-red and Unifi")
@fasthowto
@fasthowto Жыл бұрын
@@PersonXes cool, I'll take a look. Thanks!!!
@MadMike78
@MadMike78 Жыл бұрын
I need some help on this. I set it up but its not changing the password.
@dominiquerichardson
@dominiquerichardson 6 ай бұрын
Hey, has anyone tried this recently? I can't get the qr code part to work. The home assistant is saying the camera qr entity isn't available
@nicolasl9090
@nicolasl9090 2 жыл бұрын
really nice solution, i already got QRcode but same password for long time.
@fasthowto
@fasthowto 2 жыл бұрын
Thanks, I'm glad you liked it. Thank you for watching!
@martinzipfel7843
@martinzipfel7843 Жыл бұрын
Hey, this is super awesome. I'm trying to implement it as well but can't get it to work. For some reason that automation doesn't seem to call the script. Not only does it not change the wifi password but it also doesn't create the QR code. Any idea what it might be or tip for trouble shooting? Thanks
@fasthowto
@fasthowto Жыл бұрын
Did you add the line in your configuration.yaml file to define the script & variables? Any info in the logs?
@djburdette
@djburdette 2 жыл бұрын
Dude, I'm so doing this. Thanks for the tutorial.
@fasthowto
@fasthowto 2 жыл бұрын
My pleasure. Thanks for watching!
@sunnyp934
@sunnyp934 Жыл бұрын
Would this work with the Unifi Dream Router (UDR)?
@fasthowto
@fasthowto Жыл бұрын
I don't know. I don't have one here to test with... If you try it, please let me know! Thanks for watching!
@Mickman2009
@Mickman2009 8 ай бұрын
Great, i will give this a try!
@fasthowto
@fasthowto 7 ай бұрын
Did it work for you? What'd you think?
@MrRodgersTech
@MrRodgersTech 2 жыл бұрын
I tried this with the Unifi Network Application, but it must use different URL paths than the dream machines do because it does not work. Any help would be much appreciated.
@aniljain5965
@aniljain5965 2 жыл бұрын
In the same boat it does not work with UDM-Pro as well as UDM-SE. i tried it on both of them with no luck and trace does not give me any error
@fasthowto
@fasthowto 2 жыл бұрын
It absolutely works with the UDM Pro. That's what the video was filmed with. Thanks for watching!
@aniljain5965
@aniljain5965 2 жыл бұрын
confirmed it is not working with UDM-SE .looks like UDM-SE does not use podman docker like udm-pro
@fasthowto
@fasthowto 2 жыл бұрын
@@aniljain5965 from what I understand, UDM-SE is a completely different codebase than UDM-Pro. The current firmware versions don't even match. The solution in this video was developed for UDM-Pro, since that's what I have. If you'd like to ship a UDM-SE to me, I'd be happy to figure out how to make it work for you. Thanks for watching, and hopefully some of the other content works better for you!
@aniljain5965
@aniljain5965 2 жыл бұрын
@@fasthowto i have opended a case with Unifi for the above. i have one more question generate qr code is not generating the code on home assistant.
@jagadeeshv2763
@jagadeeshv2763 2 жыл бұрын
Wow ... Nice and useful video bro, Now only I saw your channel, very good and useful for me. I subscribed and Liked all your videos. If it is possible can u please make one video about adding UDM sensors (temperature, CPU, RAM) into Home Assistant .... once again thank you for your video, I will keep supporting 🤓
@fasthowto
@fasthowto 2 жыл бұрын
Thank you! I'll add that to my list of things to look into. Thank you for your support, and thanks for watching! :)
@dominiquerichardson
@dominiquerichardson Жыл бұрын
can you shine some light on the still image url ...is the ip adress my home assisnt server? do I set up an account somewhere lol you were just like yep this is what I'm doing and it worked lol
@fasthowto
@fasthowto Жыл бұрын
Yes, the url for the image is the ip of your home assistant server. No account necessary for the image, but you'll need an account to access the udmp, of course. Great question, thanks for watching!
@dominiquerichardson
@dominiquerichardson Жыл бұрын
@@fasthowto ok thank you and I assume you upload a qr code image to the local media folder in home assistant?
@fasthowto
@fasthowto Жыл бұрын
@@dominiquerichardson that's where the script puts it.
@paulv9286
@paulv9286 2 жыл бұрын
this is an excellent way to give guests access. i have copied and pasted your code and watched the video2 times but for the life of me, I cannot get the QRcode to appear in the dashboard. the password gets updated and the QRcode image is created but will not show in the dashboard do you have any ideas. Paul.
@fasthowto
@fasthowto 2 жыл бұрын
Did you change the name of the image to be the name of your ssid.png instead of the canned value in the posted code? It would be the camera definition in the configuration.yaml
@fasthowto
@fasthowto 2 жыл бұрын
It's at 6:00 in the video, line 16 in the example shown. The "guest.png" should be the name of your ssid.png so, if your ssid was "paulsguestnetwork" then the end of that should be replaced with "paulsguestnetwork.png" it needs to match whatever you entered in the ssid field of the automation file, since that's the variable that controls the name of the qr code that gets generated. My apologies if that wasn't clear in the video. Let me know if you get it working, and thanks for watching!
@paulv9286
@paulv9286 2 жыл бұрын
@@fasthowto still no luck.. network is guest. I can see the image get updated every time I trigger the event
@fasthowto
@fasthowto 2 жыл бұрын
Ahh, I see what happened. That's what I get for having two HA systems at home and trying to "sanitize" code before posting it. I have fixed the source location at the link to avoid this in the future, but to fix your issue - under the camera definition in configuration.yaml, change the name: line to guestqrcode instead of wifiqrcode and reboot and you should be all set. Sorry about that! Thanks for your patience, and thanks for watching!!
@paulv9286
@paulv9286 2 жыл бұрын
@@fasthowto Thank you very much I now have a qrcode on my dashboard😀
@drdavidflynn
@drdavidflynn 2 жыл бұрын
Just going to do this!
@fasthowto
@fasthowto 2 жыл бұрын
That's great! How did it work out for you? Thanks for watching!
@ptejada365
@ptejada365 2 жыл бұрын
This is such a great idea.
@fasthowto
@fasthowto 2 жыл бұрын
Thank you, and thanks for watching!
@MountainDew-c3v
@MountainDew-c3v 2 ай бұрын
YOu got to learn how to zoom in on your video so people can read what you are doing.
@fasthowto
@fasthowto 2 ай бұрын
You realize that YOU can zoom in yourself to see things more clearly, right? And you did, of course, read the video description, right?
@renedrenk9453
@renedrenk9453 2 жыл бұрын
Hi which controller version are you using? I can't get it to work with 7.1.65. When I test "${3}:8443/proxy/network/api/s/default/rest/wlanconf/${4}" i get an error 404. With "${3}:8443/api/s/default/rest/wlanconf/${4}" i get a response but the password is not set. Best regards from Germany
@fasthowto
@fasthowto 2 жыл бұрын
I am currently using 7.1.66. ${3} and ${4} are variables, you cannot test with that as a string literal.
How To Control Your Garage Door From Home Assistant!!
23:10
Fast How To
Рет қаралды 2,7 М.
Meet Scrypted - Stream ANY Camera to ANY Home Hub
8:47
Techno Tim
Рет қаралды 413 М.
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
I Customized my Ubiquiti Doorbell Ringtone!
9:37
Fast How To
Рет қаралды 10 М.
Was I Wrong About The Sonoff NSPanel Pro?!
13:25
Everything Smart Home
Рет қаралды 223 М.
Create Home Assistant Automations like a Pro!!
22:32
Fast How To
Рет қаралды 4 М.
4 Simple Wireless Bed Sensors (AQARA HACK)
14:33
Mark Watt Tech
Рет қаралды 57 М.
6 Surprising Ways NFC Tags Can Automate Your Home!
10:07
Fast How To
Рет қаралды 8 М.
Automate your House just by adding Devices to Home Assistant!
13:18
Alex's Insane 2021 Home Network Upgrade & Tour!! 🔥
18:27
TechFlow
Рет қаралды 414 М.
Unlock the Power of Home Assistant: 5 Lessons Learned
10:26
SlackerLabs
Рет қаралды 22 М.
How To Use HELPERS In Home Assistant - TUTORIAL
15:32
Smart Home Junkie
Рет қаралды 56 М.
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН