this post was submitted on 28 Feb 2024
23 points (96.0% liked)

Open Source

31029 readers
1282 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 5 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
[–] [email protected] 16 points 8 months ago (1 children)

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

[–] [email protected] 1 points 8 months ago* (last edited 8 months ago) (2 children)

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

[–] [email protected] 4 points 8 months ago (1 children)

For addons you need to install HACS

[–] [email protected] 1 points 8 months ago

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

[–] [email protected] 1 points 8 months ago (1 children)

You also need to enable websockets iirc.

[–] [email protected] 1 points 8 months ago (1 children)
[–] [email protected] 2 points 8 months 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

[–] [email protected] 1 points 8 months 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!

[–] [email protected] 2 points 8 months ago

Glad it worked. Cheers 😉