A written guide along with code samples can be found here - smarthomeaddict.co.uk/2022/10/home-assistant-remote-access-using-nginx/
@AlexAmore11 ай бұрын
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 Жыл бұрын
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.
@vishivishy Жыл бұрын
Your tutorials are great! Thank you so much!! 🙏🏽
@SmartHomeAddict Жыл бұрын
Thank you, I'm glad you liked them!
@vishivishy Жыл бұрын
@@SmartHomeAddict wow, my replies are being deleted for some reason! 🙀
@jmpcrx Жыл бұрын
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.
@dreyolion67557 ай бұрын
You are the best!!! Watched other videos but that didn't work for me! Thank you so much!!!!!
@netoxplod872 жыл бұрын
Very good video. Cleary and Short!
@adree06 Жыл бұрын
Super helpfull! All clear and liked the pace of explanations. Cheeers!
@tonyknors672 Жыл бұрын
Great video with very clear instructions. Well done and thank you !!!!
@sistemasdpr3 ай бұрын
Excellent video. Thank you!
@Switch72nd2 ай бұрын
Worked awesome, thanks mate.
@nigelholland242 жыл бұрын
Great video very clear. Thank youm
@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?
@M9quattro2 жыл бұрын
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.
@SmartHomeAddict2 жыл бұрын
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.
@M9quattro2 жыл бұрын
@@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).
@LastZion Жыл бұрын
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.
@gabrieldragan4118 Жыл бұрын
I'm missing the share folder. Any comments regarding that?
@fiveaboy9 ай бұрын
Do I still need to use duckdns if I have a fixed static IP ?
@asocialconsciousness8535 Жыл бұрын
i cannot find home assistant url settings in system>network
@ukaszwaszczeniuk4936 Жыл бұрын
did you found a solution?
@medvenox Жыл бұрын
you need to enable advanced mode in your user settings
@chrise666 Жыл бұрын
Works perfectly.
@kasek4164 Жыл бұрын
will i be able to incorporate google and alexa speakers with this?
@ParodieHecker-mobile7 ай бұрын
I am using Alexa Media Player and a Custom Alexa skill to bring my HA devices to Alexa - so yes :)
@simonlesorcier Жыл бұрын
Very nice video, Thx
@danbatista31589 ай бұрын
Hi, i have followed the video managed to connect with duckdns domain but it still showing connection not secure.. any help ? thank you
@summerbee80Ай бұрын
confused...im being logged into my isp router not homeassistant when i enter in nginx followed by my domain name
@d0kraz48110 ай бұрын
help i installed virtualbox image version on windows. could not get it work eventhough i tried all your steps
@antmck332 жыл бұрын
So, does this mean I could get rid of nabu casa? 🤔
@SmartHomeAddict2 жыл бұрын
Yes you can, at least for remote access. I'll be doing another video soon about what to do about Alexa and Google Assistant.
@Tarikmoe2 жыл бұрын
Oh shoot. I’ve been using duckdns by itself for the past 6 months or so. Am I playing with fire ? 😅
@SmartHomeAddict2 жыл бұрын
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.
@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. 🙏
@luizcarlosrosa2395 Жыл бұрын
Greate video! Thanks! Good Look!
@jigler11 ай бұрын
Many thanks!!
@woollysoxx Жыл бұрын
Great help, Thanks
@olivername11 ай бұрын
how would I make ssl work because smarthings not working thanks
@pauldaniels67264 ай бұрын
At the test part my duckdns domain takes me to my Linksys router login page.
@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?
@danielabad6662Ай бұрын
i have same problem...were you able to fix it?
@marcosgrignuoli8423 Жыл бұрын
the conf file in the description is truncated on line :13
@ELGee1 Жыл бұрын
say what? is that bad?
@stefesciberras Жыл бұрын
@@ELGee1 Yes... The video shows that it ends in 8123/api, not with dots
@mtbadventures8277 Жыл бұрын
hello i did all the steps, i opened the port 443 on my router but it seems that it dosent work
@marcinzdrojewski4721 Жыл бұрын
Thank you
@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
@jonathancochran50810 ай бұрын
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
@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 Жыл бұрын
did you fixed it ?
@jamesbuckle6077 Жыл бұрын
@@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.
@not-89095 ай бұрын
thanks
@droopie Жыл бұрын
didnt blur your ip from the duckdns log fyi
@gfavarato822 Жыл бұрын
Additional security, enable multi-factor authentication for all users that access with external url.
@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 Жыл бұрын
i figured it out. i copied the code from your website and didn't take out the < and > on line 13 lol. Great video!
@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 Жыл бұрын
Yes... The video shows that the code ends in 8123/api, not with dots
@MartinStoyanov96 Жыл бұрын
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 Жыл бұрын
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!