this post was submitted on 28 Feb 2024
24 points (96.2% liked)

Open Source

39071 readers
209 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 6 years ago
MODERATORS
 

Is there a good open source smart home system? What do you guys use? Which brand to buy?

How is OpenHAB?

I tried home assistant but I can't manage to get it working with my reverse proxy.

you are viewing a single comment's thread
view the rest of the comments
[–] lps2@lemmy.ml 16 points 1 year ago (1 children)

What issues are you having with your reverse proxy? Home Assistant is light-years ahead of any other option

[–] GravitySpoiled@lemmy.ml 1 points 1 year ago* (last edited 1 year ago) (2 children)

Misconfiguration because of wrong X-forwarded-For wit nginx proxy manager. Thx! And there are no add ons.

[–] Fisch@lemmy.ml 4 points 1 year ago (1 children)

For addons you need to install HACS

[–] GravitySpoiled@lemmy.ml 1 points 1 year ago

I'm just installing it, thx. Yet I don't know how that'll help me with the proxy

[–] Bakkoda@sh.itjust.works 1 points 1 year ago (1 children)

You also need to enable websockets iirc.

[–] GravitySpoiled@lemmy.ml 1 points 1 year ago (1 children)
[–] rambos@lemm.ee 2 points 1 year ago (1 children)

Have you added this to your configuration.yaml

http:
  use_x_forwarded_for: true
  trusted_proxies:
    - 172.21.0.2

Where 172.21.0.2 is NPM docker IP

Its the only thing I had to do to make it working. Cant help much if something else is required

[–] GravitySpoiled@lemmy.ml 1 points 1 year ago (1 children)

I'm in. Thank you! I added a couple of different IPs now. Internal, external. No idea which one worked. But I'm in. Thank you!

[–] rambos@lemm.ee 2 points 1 year ago

Glad it worked. Cheers 😉