this post was submitted on 20 Jul 2023
26 points (93.3% liked)

Selfhosted

39226 readers
609 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Hey guys, I'd like to set up smart home for myself. I am looking for open source tools without connection to external services. Thanks in advance

you are viewing a single comment's thread
view the rest of the comments
[–] Marretics@lemmy.world 5 points 1 year ago (2 children)

Since I am on the same journey as OP and tried it just recently, I have one thing to add about openHAB:

It does not come with actual login credential handling. If you want to make your smart home accessible from outside your home network I cannot recommend openHAB.

I am currently going with Home Aisstant mainly for that reason.

[–] DrManhattan@lemmy.design 6 points 1 year ago (1 children)

Very good point. HomeAssistant offers a paid service called Nabu Casa that provides you a secure way to access your entire HomeAssistant instance, including cameras, sensors, you can set up mobile push notifications, and more.

[–] Marretics@lemmy.world 1 points 1 year ago (1 children)

Thanks for the hint I did not know about Nabu Casa.

Although I am not clear about the benefit of the service. I thought I could achieve the same kind of access with simply forwarding ports 80 and 443 from my router to my home assistant. Is there anything wrong with my intended setup?

Well, cloudflare is (supposedly) more secure, but other then that, not really, everything in nabu casa can be achieved without it, but nabu casa is easier and supports home assistant

[–] vividspecter@lemm.ee 3 points 1 year ago (1 children)

If you want to make your smart home accessible from outside your home network I cannot recommend openHAB.

You can use a VPN instead for this. Which is a good idea in general, in my view, unless you need your resources to be publicly accessible.

Although I agree that even LAN services should ideally have some sort of credentials anyway.

[–] Marretics@lemmy.world 3 points 1 year ago (1 children)

Using a VPN does work for restricting outside access, however I found that for me this was not convenient enough for two reasons:

  1. I would need to setup a VPN server at my home network
  2. I would need to connect to my VPN everytime before trying to access my smart home devices
[–] vividspecter@lemm.ee 3 points 1 year ago* (last edited 1 year ago)
  1. I would need to setup a VPN server at my home network

I haven't used it, but most people consider Tailscale to be easy to setup. But of course, what is hard or easy varies from person to person.

  1. I would need to connect to my VPN everytime before trying to access my smart home devices

You can leave it on all the time and configure it to not route internet traffic through the VPN (if you don't have the upload bandwidth at home).