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

Open Source

40159 readers
33 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
[–] GravitySpoiled@lemmy.ml 1 points 2 years ago* (last edited 2 years 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 2 years ago (1 children)

For addons you need to install HACS

[–] GravitySpoiled@lemmy.ml 1 points 2 years 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 2 years ago (1 children)

You also need to enable websockets iirc.

[–] GravitySpoiled@lemmy.ml 1 points 2 years ago (1 children)
[–] rambos@lemm.ee 2 points 2 years 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 2 years 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 2 years ago

Glad it worked. Cheers 😉