Home Assistant Remote Access using NGINX

Поделиться
HTML-код
  • Опубликовано: 5 сен 2024

Комментарии • 62

  • @SmartHomeAddict
    @SmartHomeAddict  Год назад +4

    A written guide along with code samples can be found here - smarthomeaddict.co.uk/2022/10/home-assistant-remote-access-using-nginx/

    • @AlexAmore
      @AlexAmore 8 месяцев назад

      hi! ESPHome doesn't work out of the network but just within the LAN. I've filled the file in share folder but nothing... Any help?

  • @BonJoviFan13
    @BonJoviFan13 Год назад +3

    Best video ever. For a few months I couldn't get it to work but you provided in depth details on what to do. You are amazing my friend! You just saved the rest of my hair from being pulled out.

  • @jmpcrx
    @jmpcrx Год назад +1

    Great, thanks 👍 got working with my duel router setup, took a while though. Straight to the point, no babbling, everyone else should take note 👍👍

  •  Год назад

    Thanks, this was super helpful! Once I understood that the internal port to forward to is 443, everything started working great using this add-on.

  • @sistemasdpr
    @sistemasdpr 5 дней назад

    Excellent video. Thank you!

  • @dreyolion6755
    @dreyolion6755 4 месяца назад

    You are the best!!! Watched other videos but that didn't work for me! Thank you so much!!!!!

  • @vishvashanda9369
    @vishvashanda9369 11 месяцев назад +1

    Your tutorials are great! Thank you so much!! 🙏🏽

    • @SmartHomeAddict
      @SmartHomeAddict  11 месяцев назад

      Thank you, I'm glad you liked them!

    • @vishvashanda9369
      @vishvashanda9369 11 месяцев назад

      @@SmartHomeAddict wow, my replies are being deleted for some reason! 🙀

  • @netoxplod87
    @netoxplod87 Год назад +2

    Very good video. Cleary and Short!

  • @MartinStoyanov96
    @MartinStoyanov96 Год назад +3

    After i created the nginx_proxy_default_fix_ingress.conf file i still cant open for example Studio Code Server and in ESPhome cant open wireless logs. Any ideas why ?
    ( FIXED - It seems that i no longer need the .conf file i removed it and restarted nginx addon )

    • @ChunkySteveo
      @ChunkySteveo Год назад

      Thanks for this! When he said the .conf, he means the nginx_proxy_default_fix_ingress.conf file from the step in the video. Thanks again!

  • @adree06
    @adree06 Год назад

    Super helpfull! All clear and liked the pace of explanations. Cheeers!

  • @tonyknors672
    @tonyknors672 Год назад

    Great video with very clear instructions. Well done and thank you !!!!

  • @nigelholland24
    @nigelholland24 Год назад +1

    Great video very clear. Thank youm

  • @asocialconsciousness8535
    @asocialconsciousness8535 Год назад +3

    i cannot find home assistant url settings in system>network

    • @ukaszwaszczeniuk4936
      @ukaszwaszczeniuk4936 Год назад

      did you found a solution?

    • @medvenox
      @medvenox 9 месяцев назад +2

      you need to enable advanced mode in your user settings

  • @M9quattro
    @M9quattro Год назад +1

    Hi, until now I used my HomeAssistant by creating my domain duckdns and opening port 8123. In this way I was able to connect remotely without problems, Since this configuration completely blocked me from accessing the local ip, I tried to follow this clear video guide also using nginx but it only connects locally and not with my domain duckdns. It must be said that I had to change the port from 443 to another (I also made several tests with 4433 for example) but in this way it always gives me error 400: Bad Request.
    I had to change the port because on the 443 I already have apache2 for nextcloud running on another raspberry.

    • @SmartHomeAddict
      @SmartHomeAddict  Год назад +2

      I do make reference to using other ports in the video. The problem with specifying an exact number for a port is that you could be using something already on that port, so had I said (for instance) use 9443, there's a chance somebody may have already had this on either their Home Assistant instance or another service. I will however try to make this clearer in future videos.

    • @M9quattro
      @M9quattro Год назад

      @@SmartHomeAddict I figured you didn't specify it due to problems.
      Thank you
      At this point, even having tried more ports, it could be a problem related to the modem (FritzBox).

  • @simonlesorcier
    @simonlesorcier Год назад +1

    Very nice video, Thx

  • @luizcarlosrosa2395
    @luizcarlosrosa2395 10 месяцев назад

    Greate video! Thanks! Good Look!

  • @KrispKiwi
    @KrispKiwi Год назад

    This works however I ran into a problem, Alexa Media Players hacs integration doesn't seem to work when trying to pull a sound file through with nginx enabled. It works fine with the standrad Duckdns install.
    Any ideas?

  • @chrise666
    @chrise666 Год назад

    Works perfectly.

  • @mr.invisible5528
    @mr.invisible5528 Год назад

    Hi. I used this approach but my aws alexa integration stopped working as the endpoint /api/alexa/smart_home is now controlled by nginx and I always get the error ERR_SSL_UNRECOGNIZED_NAME_ALERT . Any help with this please?

  • @jigler
    @jigler 8 месяцев назад

    Many thanks!!

  • @woollysoxx
    @woollysoxx 9 месяцев назад

    Great help, Thanks

  • @pauldaniels6726
    @pauldaniels6726 Месяц назад

    At the test part my duckdns domain takes me to my Linksys router login page.

  • @unlock-er
    @unlock-er Год назад

    Hiya, just wondering if your website is still up? I'm using an existing nginx box and using this method I found that there's a bit of a lag. I can access esphome fine just a tad slow. just wondering what I might need to look into. any guidance be much appreciated.

  • @not-8909
    @not-8909 2 месяца назад

    thanks

  • @marcosgrignuoli8423
    @marcosgrignuoli8423 Год назад +2

    the conf file in the description is truncated on line :13

    • @ELGee1
      @ELGee1 Год назад

      say what? is that bad?

    • @stefesciberras
      @stefesciberras Год назад +1

      @@ELGee1 Yes... The video shows that it ends in 8123/api, not with dots

  • @danbatista3158
    @danbatista3158 6 месяцев назад

    Hi, i have followed the video managed to connect with duckdns domain but it still showing connection not secure.. any help ?
    thank you

  • @d0kraz481
    @d0kraz481 8 месяцев назад

    help i installed virtualbox image version on windows. could not get it work eventhough i tried all your steps

  • @fiveaboy
    @fiveaboy 6 месяцев назад

    Do I still need to use duckdns if I have a fixed static IP ?

  • @sashb9331
    @sashb9331 Год назад

    Recently this stopped working for me and could not figure out why. Turns out my ISP had forgotten to send me an opt out on the CGNAT IP addresses. Called them up and asked them to assign me a static IP. This fixed the issue. I can now connect from my Phone.
    Hope this helps others

    • @jonathancochran508
      @jonathancochran508 7 месяцев назад +1

      I think this must be my issue: everything is working locally, however when I try to connect remotely using the HA Android app, I get an error: "ERR_CONNECTION_REFUSED" I'll call up the ISP to get a dedicated IP and hope that solves it

  • @kasek4164
    @kasek4164 Год назад +1

    will i be able to incorporate google and alexa speakers with this?

    • @ParodieHecker-mobile
      @ParodieHecker-mobile 4 месяца назад

      I am using Alexa Media Player and a Custom Alexa skill to bring my HA devices to Alexa - so yes :)

  • @mtbadventures8277
    @mtbadventures8277 Год назад

    hello i did all the steps, i opened the port 443 on my router but it seems that it dosent work

  • @gabrieldragan4118
    @gabrieldragan4118 Год назад

    I'm missing the share folder. Any comments regarding that?

  • @marcinzdrojewski4721
    @marcinzdrojewski4721 10 месяцев назад

    Thank you

  • @antmck33
    @antmck33 Год назад +1

    So, does this mean I could get rid of nabu casa? 🤔

    • @SmartHomeAddict
      @SmartHomeAddict  Год назад +2

      Yes you can, at least for remote access. I'll be doing another video soon about what to do about Alexa and Google Assistant.

  • @LEWISTAI
    @LEWISTAI Год назад

    Hi buddy, After doing this, my Mqtt not working. Can you please to advise what steps I may have done wrong. Thanks a lot. 🙏

  • @Tarikmoe
    @Tarikmoe Год назад +1

    Oh shoot. I’ve been using duckdns by itself for the past 6 months or so. Am I playing with fire ? 😅

    • @SmartHomeAddict
      @SmartHomeAddict  Год назад +1

      You could be, it depends on other factors too. You're allowing traffic over an unencrypted port, so anybody could in theory see what you're sending and receiving, for instance if you're on a wifi network you don't control. It's useful to have something handling SSL traffic, and this method is probably one of the safest.

  • @olivername
    @olivername 8 месяцев назад

    how would I make ssl work because smarthings not working thanks

  • @gfavarato822
    @gfavarato822 Год назад

    Additional security, enable multi-factor authentication for all users that access with external url.

  • @jamesbuckle6077
    @jamesbuckle6077 Год назад

    Hmm I broke my HA. I was using DuckDNS with LetsEncrpt and exposing port 8123 by forwarding 443>8123. Then I followed this vid and changed the port forward 443-8123, just exposing native 443, and now I cannot access it via the external address, only internal, due to a 502 bad gateway error (browser) and just an access error on the app.

    • @kmtsvetanov
      @kmtsvetanov 9 месяцев назад

      did you fixed it ?

    • @jamesbuckle6077
      @jamesbuckle6077 9 месяцев назад

      @@kmtsvetanovI did, but not through any helpful way. I gave up trying. I waited a month or so, and then I re-installed the add-on and re-configured using the same values and now it works. Nothing was evident from the logs.

  • @droopie
    @droopie Год назад

    didnt blur your ip from the duckdns log fyi

  • @walberg61
    @walberg61 Год назад

    [15:30:29] INFO: Running nginx...
    nginx: [emerg] unexpected "}" in /share/nginx_proxy_default_fix_ingress.conf:14
    [15:30:29] INFO: Service nginx exited with code 1 (by signal 0)

    • @stefesciberras
      @stefesciberras Год назад

      Yes... The video shows that the code ends in 8123/api, not with dots

  • @What_s_Neu
    @What_s_Neu Год назад

    i have a error in the nginx logs. nginx: [emerg] invalid URL prefix in /share/nginx_proxy_default_fix_ingress.conf:13. Any idea how to fix that?

    • @What_s_Neu
      @What_s_Neu Год назад

      i figured it out. i copied the code from your website and didn't take out the < and > on line 13 lol. Great video!