Remote Access to Your Home Assistant Using DuckDNS

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

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

  • @euartista
    @euartista 4 года назад +8

    This worked for me, BUT, I noticed that on the DuckDNS Config at minute 4:03 you had accept_terms: false and then on minute 4:12 it was changed to true. I don't know if matters but when I had it set to false it crashed my HA, I had to reset DucDNS and set that value back to true and then it worked. Other than that great step by step. Thanks.

    • @TechTechMoreTech
      @TechTechMoreTech  4 года назад +3

      Sorry about that. Accept terms needs to be True for SSL to work. It’s the equivalent of accepting terms and services when you set up a new device

    • @campingmods496
      @campingmods496 4 года назад +4

      @@TechTechMoreTech This is major step that must be shown. I just locked myself out of my setup because of your tutorial.

    • @zavianthomas8339
      @zavianthomas8339 2 года назад

      @@campingmods496 Did you resolve that issue. Having the same problem over here

  • @ItamarValdman
    @ItamarValdman 4 года назад +14

    Hi, there are issues with the video and implementation:
    1. in the Duck DNS Configuration - the default for "accept_terms" is False - in your video and file you didn't mentioned it. if we don't change to True, the additions to the configuration give a visible error.
    2. for some reason after everything and restarting, the HA didn't load... I needed to manually remove the entries I added to the main config file (using SAMBA) and only then it reopened.
    *I also disabled the Port forwarding until this is resolved
    Eventually I'm not sure how to proceed

    • @leeshengwu
      @leeshengwu 3 года назад

      I found that error too. After changing that. My DNS works well.

  • @werdy64
    @werdy64 3 года назад +15

    Hi. When I press check configuration before HA restart I've got "Invalid config for [http]: not a file for dictionary value @ data['http']['ssl_certificate']. Got '/ssl/fullchain.pem'
    not a file for dictionary value @ data['http']['ssl_key']. Got '/ssl/privkey.pem'. (See /config/configuration.yaml, line 9)."

    • @gamingfeeling5511
      @gamingfeeling5511 3 года назад

      Same here

    • @gamingfeeling5511
      @gamingfeeling5511 3 года назад

      @@SamNolan1 I found out that duck dns has had a bit of a server problem today on hassio forums, so I'm waiting until tomorrow too see if the error goes away. Then, maybe, it will create the ssl certificate files and work...

    • @SamNolan1
      @SamNolan1 3 года назад

      I had the same problem. make sure your Port Forwarding is set up properly

    • @gamingfeeling5511
      @gamingfeeling5511 3 года назад

      @@SamNolan1 yeah it worked for me

    • @frankhochmuth
      @frankhochmuth 3 года назад +3

      I found out that you need to indent lines 2-4 of the 4 lines of code you inserted into the configuration file. So you need to put 2 at the begging of the lines. Not on the first line though!

  • @sagetx
    @sagetx 4 года назад +6

    In the written version you say "You’re going to setup two instances of port forwarding; one for port 443, and one for port 80."
    However in the video and further in the doc you don't do this. Is this needed? I can't get DuckDNS to work so I'm grasping at straws here.

    • @Gladers.
      @Gladers. 3 года назад

      Same here.... something strange here that you're probably suppose to just know? What about port 80?? And dont we need to open all these ports in the firewall etc?

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

    Short and explained very well. Thank you.

  • @BenedetFamily
    @BenedetFamily 3 года назад +1

    Works flawlessly. Thank you. Simplest video out there and worked right away

  • @Shejken1337
    @Shejken1337 4 года назад +2

    Thanks! This is working. So there is no need to manually add the Lets Encrypt addon to use encryption? DuckDNS addon handles that for me?

  • @david6951
    @david6951 3 года назад +1

    I've spent two solid days at this and i can't figure out what I'm doing wrong when i enter my duckdns url it takes to my router log in, if i add :8123 it cant be reached ..Help!!

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

    If we don't have static WAN IP, in this case can we use this DuckDNS because WAN IP will change randomly, We can't port forward in this scenario

  • @zonatechautomacao
    @zonatechautomacao 2 года назад

    Hi, great guide! One doubt: you sad raspberry in the video, but can I use this guide to home assistant installed in my laptop virtual machine in windows?

  • @meowzombie1987
    @meowzombie1987 4 года назад +17

    Hi, you revealed your IP addresses at 3:42 You might want to re-edit and cover them up. :D

    • @futurepaver2039
      @futurepaver2039 3 года назад

      Noticed this too.

    • @brianvu3705
      @brianvu3705 3 года назад

      Even if he leaked his IP, by now his ISP would've rotated his IP with another one. 98.34.27.236 is not his IP address anymore because it's dynamic and Comcast (his ISP) does a pretty great job in rotating those dynamic IPs around to its customers.

    • @futurepaver2039
      @futurepaver2039 3 года назад

      @Marc Sonny You are both bots

  • @rkbest9783
    @rkbest9783 4 года назад +2

    I am using duckdns with https. But now I can reach my home assistant with just the localip. So when internet is down or duckdns is down. My HA becomes unusable. I plan to move to another house soon and reconfiguring the system without internet might be an issue. Any suggestion how to use duckdns for external and local up for internal access?

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

    Can you help me to get my local working on the app after this? My remote works fine, but when I enter my WiFi I am loosing access

  • @jackpapagni8844
    @jackpapagni8844 3 года назад

    Hi mate, should be used this part (DuckDNS) to OpenMediaVault and have jump over the functions of my NAS? like FTP or SMB where I have some difficulties? Thanks a lot

  • @Frietbakkerclan1
    @Frietbakkerclan1 2 года назад

    when i try to validate the configuration i get the following error:
    Configuration invalid!
    Integration error: base_url - Integration 'base_url' not found.
    Integration error: ssl_certificate - Integration 'ssl_certificate' not found.
    Integration error: ssl_key - Integration 'ssl_key' not found.
    what am i doing wrong?

    • @Frietbakkerclan1
      @Frietbakkerclan1 2 года назад

      Found out how to fix this: on the Duck DNS add on you need to accept the terms by replacing "false" with "true".

  • @denveronly
    @denveronly 4 года назад +1

    having error using this guide (hassio in docker)
    Invalid config for [http]: not a file for dictionary value @ data['http']['ssl_certificate']. Got '/ssl/fullchain.pem'
    not a file for dictionary value @ data['http']['ssl_key']. Got '/ssl/privkey.pem'. (See /config/configuration.yaml, line 8).
    i guess it is some permission issues

    • @denveronly
      @denveronly 4 года назад +3

      okay so i fugured out whats happened
      in configuration yaml the string base_url should only contain the domain.duckdns.org no https and so on
      base_url: domain.duckdns.org

    • @thepaulwalker100
      @thepaulwalker100 3 года назад

      @@denveronly Nice man. Was hunting around for that for while. Thank you very much

  • @tonysanderson7741
    @tonysanderson7741 2 года назад +2

    The problem with these videos are they are great at the time of publish but with the updates on hassio over the years people reference these videos and spend hours if not days trying to troubleshoot; they think they have done something wrong but it's actually the guide that is no longer relevant.

  • @fabian98n
    @fabian98n 4 года назад +3

    Thanks a lot, works flawless now. Had trouble before cause of some other yt videos, but you got it all right. Awesome;D

  • @siddhantshah4587
    @siddhantshah4587 4 года назад

    Getting Errors:
    Invalid config for [http]:
    not a file for dictionary value @ data['http']['ssl_certificate']. Got '/ssl/fullchain.pem'
    not a file for dictionary value @ data['http']['ssl_key']. Got '/ssl/privkey.pem'. (See /config/configuration.yaml, line 5).
    When adding the Following in the Configuration.yaml file:
    http:
    ssl_certificate: /ssl/fullchain.pem
    ssl_key: /ssl/privkey.pem

  • @chrisrock9937
    @chrisrock9937 4 года назад +6

    base_url is deprecated

    • @ariel3680
      @ariel3680 4 года назад

      found this problem as well

  • @shaneholmes6977
    @shaneholmes6977 2 года назад +1

    SSL error. Make sure you have the spaces at the front

  • @illegalmexicain
    @illegalmexicain 4 года назад +4

    COuld you make a tutorial for one in a VM ?

    • @RealWizardry
      @RealWizardry 4 года назад

      I'm using a VM running Ubuntu and it's working for me... but the HTTPS isn't working... plus I need to specify the port in the URL

    • @JoseRivera-eb4xf
      @JoseRivera-eb4xf 3 года назад

      @@RealWizardry can you elaborate... I am using a VM, cant manage to make it work

  • @UberusEpicus
    @UberusEpicus 4 года назад +1

    Thank you for this! It worked :)

  • @vijaynaru
    @vijaynaru 3 года назад +1

    Thanks for great explanation. Pls help as it says " not a file for dictionary value @ data['http']['ssl_key']. Got '/ssl/privkey.pem'. " as well as for fullchain.pem........where can I find these 2 files. Thansk

    • @shantanugramopadhye5003
      @shantanugramopadhye5003 3 года назад

      Uninstall duckdns and install again, once you start the addon, it should create the two files.

    • @matisscukurs5535
      @matisscukurs5535 3 года назад

      Click start DNS addon.

    • @vijaynaru
      @vijaynaru 3 года назад +1

      @@shantanugramopadhye5003 tried all these things but still its not working. Can t understand where and what is wrong.

    • @ManfredGerhard
      @ManfredGerhard 3 года назад

      @@vijaynaru same here

    • @sebastienkindermuller
      @sebastienkindermuller 2 года назад

      in your duckdns configuration tab, you need to set "accept_terms" to "true" ! The restart duckdns. I struggled to find it out but it solved this issue

  • @MGL83
    @MGL83 4 года назад +1

    As soon as I add that http section and reboot, my HA is no longer accessible on network.

    • @JacobSchroeder
      @JacobSchroeder 4 года назад

      Always Check Configuration before you reboot HA. Did you get the issue figured out?

    • @tachemic82
      @tachemic82 4 года назад

      same happened to me ;)

    • @JimWestJimWest
      @JimWestJimWest 4 года назад

      @@tachemic82 @MGL Did you guys find a solution? I've had this happen a year ago and gave up. Now I'm trying again and still face the same problem...

    • @tachemic82
      @tachemic82 4 года назад

      @@JimWestJimWest yes, I only added part of the text. Will reply when I get home

    • @tachemic82
      @tachemic82 4 года назад

      @@JimWestJimWest this is what i added in the config file, and afterwards it worked
      http:
      base_url: myname....duckdns.org

  • @ItamarValdman
    @ItamarValdman 4 года назад +1

    Thank you! Is there any option that the iOS app will work remotely with this?

    • @TechTechMoreTech
      @TechTechMoreTech  4 года назад +1

      Yes, when it is all up and running it works on mobile internet

  • @rousehouse
    @rousehouse 3 года назад

    Great video, thanks a bunch!

  • @maximus20895
    @maximus20895 2 года назад +1

    Didn't mention anything about actually adding file editor or ssl cert. From scratch, this will not work.

  • @dsdlonyer
    @dsdlonyer 4 года назад

    Great video and simple to follow. thank you. Just one question though, now when I log in via the command line to my HA server. I used to enter login and it would give me command line, now it asks for core-ssh login. Don't know what i enter here. any advice?
    thank you

  • @lucasartur979
    @lucasartur979 4 года назад

    Your explanation is very good. Great thanks!

  • @rajmohanjena109
    @rajmohanjena109 4 года назад

    it is not working for me...i can access it locally with the port 8123 followed by Https...but i cannot access it outside the network....i evn tried forwarding the port to 8123 in the external port...but that also didn't work....
    Please suggest if anyone has a solun...

  • @thepaulwalker100
    @thepaulwalker100 3 года назад +1

    Wonderful! Thank you so much!

  • @typxxilps
    @typxxilps 3 года назад

    it is a nightmare to get this one as a search result even though it is not a raspbian nor a docker installation and does not even touch how to do it in these configurations.
    Would make sense to clarify in the title what installation will be used.

  • @izik6894
    @izik6894 4 года назад

    Hi, public address with:8123 not working. what else could it be? Thx!

  • @JochenMollVideographer
    @JochenMollVideographer 4 года назад +1

    Thank You !

  • @propix
    @propix 3 года назад

    this gives me thre errors:
    Component error: ssl_certificate - Integration 'ssl_certificate' not found.
    Component error: ssl_key - Integration 'ssl_key' not found.
    Component error: base_url - Integration 'base_url' not found.
    any advice :/

    • @jdpersico
      @jdpersico 3 года назад +1

      have you checked the indentation?

  • @santoshpillai5231
    @santoshpillai5231 4 года назад

    your video was very helpful, thanks

  • @EngineerK
    @EngineerK 4 года назад +1

    Take a snapshot of your system before yoy do this. Ive tried multiple guides to do this and broken my install every time. Running on docker station on qnap nas and starting to think this is the problem.

    • @jbbDE
      @jbbDE 3 года назад

      also can happen on a normal raspi :(

  • @christianbernheim4505
    @christianbernheim4505 3 года назад

    Doing exacly like this but i get a not secure

  • @Gladers.
    @Gladers. 3 года назад

    You forgot to mention to put your public IP in the Duck site!

  • @SAB-q4n
    @SAB-q4n 4 года назад +2

    it takes me to my router... not Home assistant, how do i get the home asisstant??

  • @HamzahNG
    @HamzahNG 4 года назад

    Carlo please save my life. I have been trying all of today from morning to do this. everytime I follow your steps to an exact step by step, but eventually after I restart my server I cannot gain access to it. neither locally "homeassistant.local:8123" nor "xxx.duckdns.org"
    I am still new to hassio and I really would appreciate it if you can help me out

    • @TechTechMoreTech
      @TechTechMoreTech  4 года назад

      When typing in the duckdns url; are you putting “” in front of everything?

    • @HamzahNG
      @HamzahNG 4 года назад

      @@TechTechMoreTech Yes! I have done it with "" the issue is that the web GUI is not connecting. but when I connect my HDMI cable to the RPi I am able to see and comunicate with it.
      maybe is it something wrong that I am doing? is there any possible way to contact you other than youtube comments?

    • @TechTechMoreTech
      @TechTechMoreTech  4 года назад

      You can email me at karlo@techtechandmoretech.com

    • @aaronharding3695
      @aaronharding3695 4 года назад

      i am running into the same issue! did you make any progress?

    • @JimWestJimWest
      @JimWestJimWest 4 года назад

      @@TechTechMoreTech Did you guys find a solution? I am facing the same issue after several attempts. Only fix is to mount the SD on a Linux machine and delete the "http" lines from configuration yaml

  • @michiel2797
    @michiel2797 4 года назад

    to locally access HA have a look here community.home-assistant.io/t/solved-hass-io-local-access-after-duckdns-setup/62323

  • @kyme32
    @kyme32 4 года назад

    what if i'm already using https on my apache server? i'm trying setting up the 8123 port for duckdns with no luck...
    i've checked the port, i've made your settings, nothing...the only adress i can access the hass it's the local ip, if i try external ip it won't load.
    is there some settings in docker or something? i've tried to allow 8123 and disable the ufw in ubuntu also, same result, my other website that runs on apache and a fqdn it's working flawlessly
    i bet that docker doesn't expose the port to external use...and i have no idea how to set it up to allow external traffic
    if i add a custom dns in hosts with local ip everything works

  • @blairpoll287
    @blairpoll287 4 года назад

    Config error following your guide

    • @TechTechMoreTech
      @TechTechMoreTech  4 года назад

      What error did you receive? Did you type in the config text exactly as it’s shown?

    • @blairpoll287
      @blairpoll287 4 года назад

      @@TechTechMoreTech yes copied from you written guide.

    • @TechTechMoreTech
      @TechTechMoreTech  4 года назад

      Did you start the add on first, before updating the configuration file?

    • @julianbruinse
      @julianbruinse 4 года назад

      @@TechTechMoreTech I had an error too whilst validate my configuration:
      Component error: ssl_certificate - Integration 'ssl_certificate' not found.
      Component error: base_url - Integration 'base_url' not found.
      Component error: ssl_key - Integration 'ssl_key' not found.
      What should I do differently?

    • @wayneperryman4146
      @wayneperryman4146 4 года назад

      I got errors also.
      Invalid config for [http]: not a file for dictionary value @ data['http']['ssl_certificate']. Got '/ssl/fullchain.pem'
      not a file for dictionary value @ data['http']['ssl_key']. Got '/ssl/privkey.pem'. (See /config/configuration.yaml, line 104).

  • @HeveEventHorizon
    @HeveEventHorizon 3 года назад

    I just wanted not to have my public ip adress as the serverip

  • @RakshithPrakash
    @RakshithPrakash 3 года назад

    this guy took your video ruclips.net/video/PgCHuVH57-Y/видео.html

  • @cnctrigger
    @cnctrigger 2 года назад +1

    Third video I watched and cannot get it to work. error when trying to restart. " The system cannot restart because the configuration is not valid: Invalid config for [http]: not a file for dictionary value @ data['http']['ssl_certificate']. Got '/ssl/fullchain.pem' not a file for dictionary value @ data['http']['ssl_key']. Got '/ssl/privkey.pem'." any ideas?