Home Assistant Remote Access Using Cloudflare

Поділитися
Вставка
  • Опубліковано 2 лис 2024

КОМЕНТАРІ • 69

  • @Ronin-xa
    @Ronin-xa Рік тому +4

    I want just to say this is really amazing clear video , thank you so much , keep on the good work !

    • @Ronin-xa
      @Ronin-xa Рік тому

      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

  • @theshawfam20
    @theshawfam20 Рік тому +1

    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

  • @conicio
    @conicio Рік тому +4

    This is the only tutorial that worked for me. Awesome!! Thanks a lot

  • @ashwansaini
    @ashwansaini 10 місяців тому

    It worked for me flawlessly, the steps were easy and there was no problem. Awesome work.

  • @Nads-b3y
    @Nads-b3y Рік тому +1

    That was perfect. Feels odd to see home assistance outside the local network. 🤣🤣. As always, thank you, it was the perfect guide.

  • @chrishunter932
    @chrishunter932 9 місяців тому

    Brilliant, clear tutorial. Even as a complete beginner I got it to work. Thank you

  • @AsyrafAkira
    @AsyrafAkira Рік тому +4

    Hi, what if i have multiple HA on different houses? is it possible to connect one domain with multiple HA ?

  • @nicolasraby2967
    @nicolasraby2967 Рік тому +1

    wow so smooth, fastest most efficient tutorial i have followed. got a sub buddy

  • @laureatemedc33
    @laureatemedc33 Рік тому

    Thanks for the video, it helped a lot here, it solved my problem. Hugs from this side of the world, Brazil.

  • @shivaanmaharajh2581
    @shivaanmaharajh2581 Рік тому +1

    Wow! Finally, a detailed tutorial that worked. Thank you

  • @joes_drone
    @joes_drone 11 місяців тому

    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

  • @lemd49
    @lemd49 4 місяці тому

    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

  • @usmangojra
    @usmangojra Місяць тому

    i followed all and my HA uRL, put side local network is accesible with .....but how to make local address safe?

  • @NikiFail
    @NikiFail 6 місяців тому

    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?

  • @Purpleglace
    @Purpleglace Рік тому +2

    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?

    • @mbharath003
      @mbharath003 10 місяців тому

      i am getting the same thing. Did you manage to solve this ?

    • @MsNightBird
      @MsNightBird 9 місяців тому

      getting the same (or just different wording) "This site can’t be reached".
      Have you been lucky in resolving the issue?

  • @krayzieegg7294
    @krayzieegg7294 Рік тому

    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

  • @balogh0dominik
    @balogh0dominik Рік тому

    What is the reason I can't open my homeassitant through my domain on the same network with wifi, only on 4g?

  • @KrispKiwi
    @KrispKiwi 6 місяців тому

    I notice this doesn't appear to create an SSL cert like the duckdns addon does

  •  7 місяців тому

    Thanks a lot for this....very easy to follow.

  • @lisboa231
    @lisboa231 11 місяців тому

    Thank you very much. It worked perfectly for me. Only I'm unsure how sure this process is.

  • @hanssmeets7424
    @hanssmeets7424 Рік тому

    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

    • @HassAssistant
      @HassAssistant  Рік тому

      Please check the video again. You need to add the GitHub repository in to Home Assistant.

  • @jeansebastienlessard9754
    @jeansebastienlessard9754 Рік тому

    Hi, your tutorial is excellent! Great job!

  • @coastersteve
    @coastersteve Рік тому

    Do you have to install and configure NGIX SSL proxy?

  • @mbharath003
    @mbharath003 10 місяців тому

    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"

  • @leecurcio6132
    @leecurcio6132 Рік тому

    My automation won't work remotely. Why? Is there something different that needs to be done for the automation in remote?

    • @HassAssistant
      @HassAssistant  Рік тому

      guess it depends on what the automation is doing, but in general all automation processes run locally.

  • @khandoor7228
    @khandoor7228 Рік тому

    really digging your channel!

  • @fjph8826
    @fjph8826 11 місяців тому

    Will this also work with a duckdns domain?

  • @johnreese7986
    @johnreese7986 Рік тому

    Did you configure port forwarding on your router for this to work? if not how does it work without it?

    • @HassAssistant
      @HassAssistant  Рік тому +1

      Yes. External 8123 port forwarded to internal 8123

  • @ice_ryda
    @ice_ryda 8 місяців тому

    How can I do this with Home assistant core on ubuntu. I can't install addons via HACs

    • @HassAssistant
      @HassAssistant  8 місяців тому

      You will need the Supervisor.
      What is your setup?

    • @ice_ryda
      @ice_ryda 8 місяців тому

      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

    • @ice_ryda
      @ice_ryda 8 місяців тому

      @@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.

  • @SniperxNL
    @SniperxNL Рік тому

    After 2 days mine connection stop working. Logs are okay. Maby any idear why

    • @HassAssistant
      @HassAssistant  Рік тому

      Worst case scenario, just uninstall the cloudflare addon and try again, worth changing the tunnel name too.

  • @federicoaffif2894
    @federicoaffif2894 Рік тому

    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

    • @HassAssistant
      @HassAssistant  Рік тому +1

      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 :)

  • @tedev
    @tedev Рік тому

    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?

    • @HassAssistant
      @HassAssistant  Рік тому

      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

  • @dablet
    @dablet Рік тому

    any idea on how to get https?
    i see yours is not secured at all

    • @HassAssistant
      @HassAssistant  Рік тому

      This is how. Https doesn't show straight away for whatever reason.

  • @Dr.AshishVerma
    @Dr.AshishVerma Рік тому

    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?

    • @HassAssistant
      @HassAssistant  Рік тому

      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

    • @Dr.AshishVerma
      @Dr.AshishVerma Рік тому +1

      @@HassAssistant thanks for the quick reply, much appreciated

    • @mbharath003
      @mbharath003 10 місяців тому

      did you manage to get this working? worked after 24 hrs? @@Dr.AshishVerma

  • @stenekholm
    @stenekholm Рік тому

    I dont have the "studio code server" option in my menu?

    • @HassAssistant
      @HassAssistant  Рік тому +1

      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

    • @stenekholm
      @stenekholm Рік тому +1

      Thank you very much for your great UA-cam !, it now works flawlessly!!

  • @mameroo2000
    @mameroo2000 Рік тому

    For some reason, it failed to install cloudflared add on. Is there any other repository link for cloudflared

    • @HassAssistant
      @HassAssistant  Рік тому

      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

    • @mameroo2000
      @mameroo2000 Рік тому

      @HassAssistant I'm new to HA and this is my first add on.

  • @tolgamumcu34
    @tolgamumcu34 Рік тому

    what is this ip address 172.30.33.0
    and did you do modem forwarding?
    Thanks.

    • @HassAssistant
      @HassAssistant  Рік тому

      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.

    • @ludikludik6623
      @ludikludik6623 11 місяців тому

      @@HassAssistant what If I am not using docker? Has something need to be added in Configuration at all?

  • @DouglasGarda
    @DouglasGarda Рік тому

    Deu certo, obrigado :D

  • @JKTechSi
    @JKTechSi Рік тому

    Domain is so cheap only for 1st year. then it will be normal price ;)

    • @ukcIip
      @ukcIip 8 місяців тому

      but at £10 a year can you really complain?

  • @TheNikesh85
    @TheNikesh85 5 місяців тому

    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.

    • @HassAssistant
      @HassAssistant  5 місяців тому

      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

    • @TheNikesh85
      @TheNikesh85 5 місяців тому

      @@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?

    • @TheNikesh85
      @TheNikesh85 5 місяців тому

      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.

  • @CXSORIOUS
    @CXSORIOUS 2 місяці тому

    Thank You

  • @azdenhelius4918
    @azdenhelius4918 4 місяці тому

    the edge certidicate is active , but it redirects me into IONOS , the domain provider

    • @HassAssistant
      @HassAssistant  4 місяці тому

      Might just take time for changes to take effect. Check it out again tomorrow