I have a quick question, for some reason i can't connect from outside my network , i keep getting 403: forbidden ! and the app Unable to connect to home assistant retrying ... Using namecheap domain name with clouddfare...Thanks
Perfect! Worked like a charm. Been trying for over a year to achieve this and finally got it working. Though had to pay AUD 1.60 for a year, but that's a small price to pay for the benefit of remote access. Thanks you
Hi, Thank you for the tutorial, very good and simple video to follow.. I have already set my HA up to use Cloudflare as i was revently hit by the CG-NAT terror.. all is fine Internally, but i was wondering if you could help with my camera feeds as its doing my head in. I'm using Frigate, the cameras are set in Frigate to use the in-built go2rtc which then re-streams for detection, recording and dashboard live view.. all this is working well however, since i moved to the cloudflare tunnel oppose to port forwarding on my FW, the live camera views no longer work in "realtime" when i'm not connected to my LAN. (they used to on port forwarding) i've managed to get them sort of working using the "frigate" cards (opose to the picture at a glance cards) but they aren't exactly "Live" (they are pretty much static images that refresh every 5 - 10 seconds or so) would you have any idea how i can fix this so that my camera views are "Realtime" outside of my network like they used to be? Many thanks in advance. Joe
Very complete video many thanks One question: since moving to HA remote w cloudflare I lost my functionality with TTS for example no longer receive the notification on my google nest device etc
Hey, thanks for the video, i have followed your steps and my SSL certificate is active but i still get "Hmm. We’re having trouble finding that site." what am i missing?
im getting error: login blocked: user cannot authenticate remotely.. i did everything right from another tutorial the only thing i didnt is setting up an ssl. im using namecheap, cloudflare, home assistant vm. i didnt buy the ssl in cloudflare because im not sure if namecheap have one with the domain for free and i didnt do any lets encrypt stuff with the same reason and also im not sure how to do it. what did i miss? do i have to delete anything from HA or add something. im guessing its an ssl and if it is can you point me to the direction where i can learn how to do that. would really appreciate the help. thanks i finally figured it out: people->your account->un ticked can only log in from local network. thanks you
Nice tutorial, but when i look in my HA cloudflare is and integration, not an addon? If i look at the addon store and search for it, it will not return and addon? Om on a Pi , and have the latest version of HA
I did exactly these steps. I am seeing the following error in the logs and the URL also redirects to godaddy when i try to access my Godaddy URL. "- ERR Request failed error="Unable to reach the origin service." Can anyone help here? Edit: After the final step in this video, it took about an hour to become active. The error will/should get replaced by "Registered tunnel connection connIndex"
Home Assistant 2023.7.1 Frontend 20230705.1 - latest. I'm new to homeassistant but I'm running it on a odroid running ubuntu, with very limited knowledge of linux. @@HassAssistant
@@HassAssistant I was able to get the tunnel set up with an Ubuntu installed my status on cloud flare is healthy. I can navigate to a 400 bad request page but I'm stuck at configuring the home assistant yaml file in Ubuntu. I think that's the fix. I feel I'm one step away.
congratulations excellent channel I would like if one day you can make a video how to integrate google home or alexa with this method thank you very much
i will be posting a method on how to create alexa ctionable notifications and have home assistant entities appear in alexa devices soon. watch this space :)
thank you for the video man. good tutorials are coming up but!!!! where is the security in that? anyone who knows the domain name can start attacking home assistant?
You of course have the initial login to home assistant. You could block all incoming traffic apart from devices you specify. You have options, this is of course just the base step to getting up and running
Thanks for a great video, i did exactly this. My cloudflare logs shows everything is running but i cant log in my address gives error. DNS_PROBE_FINISHED_NXDOMAIN. I have double checked cloudflare has certificate is active with a backup certificate too but still the domain wont open. Any suggestions please?
It may be the case your domain hasn't moved over to Cloudflare yet. If you're still having issues after 24hours, I'd suggest contacting one of the Cloudflare team or check out the forums. Any issues I've had generally have been found in forums with a solution
No this will be the one you need. I'd first be checking if you can install any other add-ons or if it is just this one. Post an logs in here too if you can get any
The Cloudflare add-on will run within the internal Docker network, which is 172.30.33.0/24. Therefore, the connections from this network need to be answered by Home Assistant, which is defined in the code-block we used on this video.
@@HassAssistant not working... I can get into the HA Login page, and until the 2FA, after that I get the error code 403. There must be some settings with cloudfare that need to be adjusted.. any ideas?
I want just to say this is really amazing clear video , thank you so much , keep on the good work !
I have a quick question, for some reason i can't connect from outside my network , i keep getting 403: forbidden ! and the app Unable to connect to home assistant retrying ... Using namecheap domain name with clouddfare...Thanks
Perfect! Worked like a charm. Been trying for over a year to achieve this and finally got it working. Though had to pay AUD 1.60 for a year, but that's a small price to pay for the benefit of remote access. Thanks you
This is the only tutorial that worked for me. Awesome!! Thanks a lot
It worked for me flawlessly, the steps were easy and there was no problem. Awesome work.
That was perfect. Feels odd to see home assistance outside the local network. 🤣🤣. As always, thank you, it was the perfect guide.
Brilliant, clear tutorial. Even as a complete beginner I got it to work. Thank you
Hi, what if i have multiple HA on different houses? is it possible to connect one domain with multiple HA ?
wow so smooth, fastest most efficient tutorial i have followed. got a sub buddy
Thanks for the video, it helped a lot here, it solved my problem. Hugs from this side of the world, Brazil.
Wow! Finally, a detailed tutorial that worked. Thank you
Hi, Thank you for the tutorial, very good and simple video to follow.. I have already set my HA up to use Cloudflare as i was revently hit by the CG-NAT terror.. all is fine Internally, but i was wondering if you could help with my camera feeds as its doing my head in. I'm using Frigate, the cameras are set in Frigate to use the in-built go2rtc which then re-streams for detection, recording and dashboard live view.. all this is working well however, since i moved to the cloudflare tunnel oppose to port forwarding on my FW, the live camera views no longer work in "realtime" when i'm not connected to my LAN. (they used to on port forwarding) i've managed to get them sort of working using the "frigate" cards (opose to the picture at a glance cards) but they aren't exactly "Live" (they are pretty much static images that refresh every 5 - 10 seconds or so) would you have any idea how i can fix this so that my camera views are "Realtime" outside of my network like they used to be? Many thanks in advance. Joe
Very complete video many thanks
One question: since moving to HA remote w cloudflare I lost my functionality with TTS for example no longer receive the notification on my google nest device etc
i followed all and my HA uRL, put side local network is accesible with .....but how to make local address safe?
hey, would that also work for a lte router with a non public ip (subip) or do i have to setup a reverse ssh tunnel?
Hey, thanks for the video, i have followed your steps and my SSL certificate is active but i still get "Hmm. We’re having trouble finding that site." what am i missing?
i am getting the same thing. Did you manage to solve this ?
getting the same (or just different wording) "This site can’t be reached".
Have you been lucky in resolving the issue?
im getting error: login blocked: user cannot authenticate remotely.. i did everything right from another tutorial the only thing i didnt is setting up an ssl. im using namecheap, cloudflare, home assistant vm. i didnt buy the ssl in cloudflare because im not sure if namecheap have one with the domain for free and i didnt do any lets encrypt stuff with the same reason and also im not sure how to do it. what did i miss? do i have to delete anything from HA or add something. im guessing its an ssl and if it is can you point me to the direction where i can learn how to do that. would really appreciate the help. thanks
i finally figured it out: people->your account->un ticked can only log in from local network.
thanks you
What is the reason I can't open my homeassitant through my domain on the same network with wifi, only on 4g?
I notice this doesn't appear to create an SSL cert like the duckdns addon does
Thanks a lot for this....very easy to follow.
Thank you very much. It worked perfectly for me. Only I'm unsure how sure this process is.
Nice tutorial, but when i look in my HA cloudflare is and integration, not an addon? If i look at the addon store and search for it, it will not return and addon? Om on a Pi , and have the latest version of HA
Please check the video again. You need to add the GitHub repository in to Home Assistant.
Hi, your tutorial is excellent! Great job!
Do you have to install and configure NGIX SSL proxy?
I did exactly these steps. I am seeing the following error in the logs and the URL also redirects to godaddy when i try to access my Godaddy URL. "- ERR Request failed error="Unable to reach the origin service."
Can anyone help here?
Edit: After the final step in this video, it took about an hour to become active. The error will/should get replaced by "Registered tunnel connection connIndex"
My automation won't work remotely. Why? Is there something different that needs to be done for the automation in remote?
guess it depends on what the automation is doing, but in general all automation processes run locally.
really digging your channel!
Will this also work with a duckdns domain?
Did you configure port forwarding on your router for this to work? if not how does it work without it?
Yes. External 8123 port forwarded to internal 8123
How can I do this with Home assistant core on ubuntu. I can't install addons via HACs
You will need the Supervisor.
What is your setup?
Home Assistant 2023.7.1
Frontend 20230705.1 - latest. I'm new to homeassistant but I'm running it on a odroid running ubuntu, with very limited knowledge of linux. @@HassAssistant
@@HassAssistant I was able to get the tunnel set up with an Ubuntu installed my status on cloud flare is healthy. I can navigate to a 400 bad request page but I'm stuck at configuring the home assistant yaml file in Ubuntu. I think that's the fix. I feel I'm one step away.
After 2 days mine connection stop working. Logs are okay. Maby any idear why
Worst case scenario, just uninstall the cloudflare addon and try again, worth changing the tunnel name too.
congratulations excellent channel I would like if one day you can make a video how to integrate google home or alexa with this method thank you very much
i will be posting a method on how to create alexa ctionable notifications and have home assistant entities appear in alexa devices soon. watch this space :)
thank you for the video man. good tutorials are coming up but!!!! where is the security in that?
anyone who knows the domain name can start attacking home assistant?
You of course have the initial login to home assistant. You could block all incoming traffic apart from devices you specify. You have options, this is of course just the base step to getting up and running
any idea on how to get https?
i see yours is not secured at all
This is how. Https doesn't show straight away for whatever reason.
Thanks for a great video, i did exactly this. My cloudflare logs shows everything is running but i cant log in my address gives error. DNS_PROBE_FINISHED_NXDOMAIN. I have double checked cloudflare has certificate is active with a backup certificate too but still the domain wont open. Any suggestions please?
It may be the case your domain hasn't moved over to Cloudflare yet. If you're still having issues after 24hours, I'd suggest contacting one of the Cloudflare team or check out the forums. Any issues I've had generally have been found in forums with a solution
@@HassAssistant thanks for the quick reply, much appreciated
did you manage to get this working? worked after 24 hrs? @@Dr.AshishVerma
I dont have the "studio code server" option in my menu?
Studio code server can be installed on the add-ons page within home assistant. No repo URL is needed. Or the file editor adding works too
Thank you very much for your great UA-cam !, it now works flawlessly!!
For some reason, it failed to install cloudflared add on. Is there any other repository link for cloudflared
No this will be the one you need.
I'd first be checking if you can install any other add-ons or if it is just this one. Post an logs in here too if you can get any
@HassAssistant I'm new to HA and this is my first add on.
what is this ip address 172.30.33.0
and did you do modem forwarding?
Thanks.
The Cloudflare add-on will run within the internal Docker network, which is 172.30.33.0/24. Therefore, the connections from this network need to be answered by Home Assistant, which is defined in the code-block we used on this video.
@@HassAssistant what If I am not using docker? Has something need to be added in Configuration at all?
Deu certo, obrigado :D
Domain is so cheap only for 1st year. then it will be normal price ;)
but at £10 a year can you really complain?
You did not explain the settings changes on the Companion app to access HA remotely. Otherwise, a quick and easy tutorial. Thanks for the video.
Easiest way to get this done 100% correctly, delete the app, re-download and put in your new external address being used for Home Assistant
@@HassAssistant not working... I can get into the HA Login page, and until the 2FA, after that I get the error code 403. There must be some settings with cloudfare that need to be adjusted.. any ideas?
I figured it out. I had opened up cloudfare's zero trust tunnel with some strict restrictions. Loosened them all and now it's working.
Thank You
the edge certidicate is active , but it redirects me into IONOS , the domain provider
Might just take time for changes to take effect. Check it out again tomorrow