Giter Site home page Giter Site logo

Comments (4)

andystewart999 avatar andystewart999 commented on May 18, 2024 1

Thanks very much!

from hass.agent.

andystewart999 avatar andystewart999 commented on May 18, 2024 1

OK, I'll give that a whirl. Thanks for the research and effort :-)

from hass.agent.

LAB02-Admin avatar LAB02-Admin commented on May 18, 2024

Hey @andystewart999, good point - I'll add the option to ignore image certificate errors in the next release, thanks.

from hass.agent.

LAB02-Admin avatar LAB02-Admin commented on May 18, 2024

Hey @andystewart999, I was busy adding the ignore certificate errors for images function in HASS.Agent (actually completed it), but afterwards I found out that's not the issue 😅

It's because when you're using duckdns, you can't access HA locally anymore. I've fixed it by using the NGINX Home Assistant SSL proxy addon.

Configuration steps:

  • Install NGINX Home Assistant SSL proxy addon
  • Configure as follows:
certfile: fullchain.pem
cloudflare: false
customize:
  active: false
  default: nginx_proxy_default*.conf
  servers: nginx_proxy/*.conf
domain: your_domain.duckdns.org
hsts: max-age=31536000; includeSubDomains
keyfile: privkey.pem
  • Start the addon, it'll give errors in the log, don't mind those
  • You probably changed the http section of configuration.yaml for the duckdns addon, change it to the following:
http:
  use_x_forwarded_for: true
  trusted_proxies:
    - 172.30.33.0/24
  • Reboot Home Assistant
  • If you set port forwarding in your router, you need to change the destination port from 8123 to 443
  • You can ofc keep the source port the same, as long as it forwards to 443

You should now be able to access your Home Assistant instance both through both the duckdns url and its local IP, and use the local IP to retrieve notification images.

Let me know if you have any issues!

from hass.agent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.